Error when executing jar from command window pla help
Hello
I have a project which calls a webservice, I am using Jdeveloper 10.1.3.4
I deployed the project in a jar file and included all the necessary libraries in it,
but when executing the jar from command window I am getting the exceptions below
the statement which cause the error is : PROXY= new JoPayWebServiceClient();
please help
Exception in thread "main" java.lang.NoClassDefFoundError
at oracle.j2ee.ws.common.encoding.soap.StandardSOAPTypeMappings.class$(S
tandardSOAPTypeMappings.java:125)
at oracle.j2ee.ws.common.encoding.soap.StandardSOAPTypeMappings.<init>(S
tandardSOAPTypeMappings.java:558)
at oracle.j2ee.ws.client.BasicService.createSoapMappings(BasicService.ja
va:259)
at oracle.j2ee.ws.client.BasicService.createStandardTypeMappingRegistry(
BasicService.java:236)
at has.proxy.runtime.JoPayWebServiceService_SerializerRegistry.getRegist
ry(JoPayWebServiceService_SerializerRegistry.java:26)
at has.proxy.runtime.JoPayWebServiceService_Impl.<init>(JoPayWebServiceS
ervice_Impl.java:26)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at oracle.j2ee.ws.client.ServiceFactoryImpl.createService(ServiceFactory
Impl.java:92)
at oracle.j2ee.ws.client.ServiceFactoryImpl.loadService(ServiceFactoryIm
pl.java:121)
at has.proxy.JoPayWebServiceClient.<init>(JoPayWebServiceClient.java:18)
at moict.Main.confirmPayment(Main.java:142)
at moict.Main.main(Main.java:93)
Caused by: java.lang.ClassNotFoundException: javax.activation.DataHandler
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:164)
... 17 more
C:\>
Hi Arun
I added all the jars I found in jdeveloper log as you told me , but still I have this error:-
standard type mapping initialization error: javax.xml.rpc.JAXRPCException: javax
.xml.soap.SOAPException: Unable to create SOAP Factory: Provider com.sun.xml.mes
saging.saaj.soap.ver1_1.SOAPFactory1_1Impl not found
at oracle.j2ee.ws.client.BasicService.createLiteralMappings(BasicService
.java:282)
at oracle.j2ee.ws.client.BasicService.createStandardTypeMappingRegistry(
BasicService.java:244)
at has.proxy.runtime.JoPayWebServiceService_SerializerRegistry.getRegist
ry(JoPayWebServiceService_SerializerRegistry.java:26)
at has.proxy.runtime.JoPayWebServiceService_Impl.<init>(JoPayWebServiceS
ervice_Impl.java:26)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at oracle.j2ee.ws.client.ServiceFactoryImpl.createService(ServiceFactory
Impl.java:92)
at oracle.j2ee.ws.client.ServiceFactoryImpl.loadService(ServiceFactoryIm
pl.java:121)
at has.proxy.JoPayWebServiceClient.<init>(JoPayWebServiceClient.java:18)
at moict.Main.confirmPayment(Main.java:142)
at moict.Main.main(Main.java:93)
CAUSE:
javax.xml.rpc.JAXRPCException: javax.xml.soap.SOAPException: Unable to create SO
AP Factory: Provider com.sun.xml.messaging.saaj.soap.ver1_1.SOAPFactory1_1Impl n
ot found
at oracle.j2ee.ws.client.BasicService.createLiteralMappings(BasicService
.java:282)
at oracle.j2ee.ws.client.BasicService.createStandardTypeMappingRegistry(
BasicService.java:244)
at has.proxy.runtime.JoPayWebServiceService_SerializerRegistry.getRegist
ry(JoPayWebServiceService_SerializerRegistry.java:26)
at has.proxy.runtime.JoPayWebServiceService_Impl.<init>(JoPayWebServiceS
ervice_Impl.java:26)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at oracle.j2ee.ws.client.ServiceFactoryImpl.createService(ServiceFactory
Impl.java:92)
at oracle.j2ee.ws.client.ServiceFactoryImpl.loadService(ServiceFactoryIm
pl.java:121)
at has.proxy.JoPayWebServiceClient.<init>(JoPayWebServiceClient.java:18)
at moict.Main.confirmPayment(Main.java:142)
at moict.Main.main(Main.java:93)
Caused by: javax.xml.rpc.JAXRPCException: javax.xml.soap.SOAPException: Unable t
o create SOAP Factory: Provider com.sun.xml.messaging.saaj.soap.ver1_1.SOAPFacto
ry1_1Impl not found
at oracle.j2ee.ws.common.encoding.literal.LiteralFragmentSerializer.<ini
t>(LiteralFragmentSerializer.java:95)
at oracle.j2ee.ws.common.encoding.literal.LiteralFragmentSerializer.<ini
t>(LiteralFragmentSerializer.java:62)
at oracle.j2ee.ws.common.encoding.literal.LiteralAnyElementSerializer.<i
nit>(LiteralAnyElementSerializer.java:16)
at oracle.j2ee.ws.common.encoding.literal.StandardLiteralTypeMappings.<i
nit>(StandardLiteralTypeMappings.java:198)
at oracle.j2ee.ws.client.BasicService.createLiteralMappings(BasicService
.java:280)
... 14 more
Caused by: javax.xml.soap.SOAPException: Unable to create SOAP Factory: Provider
com.sun.xml.messaging.saaj.soap.ver1_1.SOAPFactory1_1Impl not found
at javax.xml.soap.SOAPFactory.newInstance(SOAPFactory.java:33)
at oracle.j2ee.ws.common.encoding.literal.LiteralFragmentSerializer.<ini
t>(LiteralFragmentSerializer.java:93)
... 18 more
CAUSE:
javax.xml.rpc.JAXRPCException: javax.xml.soap.SOAPException: Unable to create SO
AP Factory: Provider com.sun.xml.messaging.saaj.soap.ver1_1.SOAPFactory1_1Impl n
ot found
at oracle.j2ee.ws.client.BasicService.createLiteralMappings(BasicService
.java:282)
at oracle.j2ee.ws.client.BasicService.createStandardTypeMappingRegistry(
BasicService.java:244)
at has.proxy.runtime.JoPayWebServiceService_SerializerRegistry.getRegist
ry(JoPayWebServiceService_SerializerRegistry.java:26)
at has.proxy.runtime.JoPayWebServiceService_Impl.<init>(JoPayWebServiceS
ervice_Impl.java:26)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at oracle.j2ee.ws.client.ServiceFactoryImpl.createService(ServiceFactory
Impl.java:92)
at oracle.j2ee.ws.client.ServiceFactoryImpl.loadService(ServiceFactoryIm
pl.java:121)
at has.proxy.JoPayWebServiceClient.<init>(JoPayWebServiceClient.java:18)
at moict.Main.confirmPayment(Main.java:142)
at moict.Main.main(Main.java:93)
Caused by: javax.xml.rpc.JAXRPCException: javax.xml.soap.SOAPException: Unable t
o create SOAP Factory: Provider com.sun.xml.messaging.saaj.soap.ver1_1.SOAPFacto
ry1_1Impl not found
at oracle.j2ee.ws.common.encoding.literal.LiteralFragmentSerializer.<ini
t>(LiteralFragmentSerializer.java:95)
at oracle.j2ee.ws.common.encoding.literal.LiteralFragmentSerializer.<ini
t>(LiteralFragmentSerializer.java:62)
at oracle.j2ee.ws.common.encoding.literal.LiteralAnyElementSerializer.<i
nit>(LiteralAnyElementSerializer.java:16)
at oracle.j2ee.ws.common.encoding.literal.StandardLiteralTypeMappings.<i
nit>(StandardLiteralTypeMappings.java:198)
at oracle.j2ee.ws.client.BasicService.createLiteralMappings(BasicService
.java:280)
... 14 more
Caused by: javax.xml.soap.SOAPException: Unable to create SOAP Factory: Provider
com.sun.xml.messaging.saaj.soap.ver1_1.SOAPFactory1_1Impl not found
at javax.xml.soap.SOAPFactory.newInstance(SOAPFactory.java:33)
at oracle.j2ee.ws.common.encoding.literal.LiteralFragmentSerializer.<ini
t>(LiteralFragmentSerializer.java:93)
... 18 more
Exception in thread "main" java.lang.NullPointerException
at has.proxy.runtime.JoPayWebServiceService_SerializerRegistry.registerS
erializer(JoPayWebServiceService_SerializerRegistry.java:45)
at has.proxy.runtime.JoPayWebServiceService_SerializerRegistry.getRegist
ry(JoPayWebServiceService_SerializerRegistry.java:32)
at has.proxy.runtime.JoPayWebServiceService_Impl.<init>(JoPayWebServiceS
ervice_Impl.java:26)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at oracle.j2ee.ws.client.ServiceFactoryImpl.createService(ServiceFactory
Impl.java:92)
at oracle.j2ee.ws.client.ServiceFactoryImpl.loadService(ServiceFactoryIm
pl.java:121)
at has.proxy.JoPayWebServiceClient.<init>(JoPayWebServiceClient.java:18)
at moict.Main.confirmPayment(Main.java:142)
at moict.Main.main(Main.java:93)
C:\>
Similar Messages
-
Error when executing jar from command window PLZ HELP URGENT
Hello
I have a project which calls a webservice, I am using Jdeveloper 10.1.3.4
I deployed the project in a jar file and included all the necessary libraries in it,
but when executing the jar from command window I am getting the exceptions below
the statement which cause the error is : PROXY= new JoPayWebServiceClient();
please help
Exception in thread "main" java.lang.NoClassDefFoundError
at oracle.j2ee.ws.common.encoding.soap.StandardSOAPTypeMappings.class$(S
tandardSOAPTypeMappings.java:125)
at oracle.j2ee.ws.common.encoding.soap.StandardSOAPTypeMappings.<init>(S
tandardSOAPTypeMappings.java:558)
at oracle.j2ee.ws.client.BasicService.createSoapMappings(BasicService.ja
va:259)
at oracle.j2ee.ws.client.BasicService.createStandardTypeMappingRegistry(
BasicService.java:236)
at has.proxy.runtime.JoPayWebServiceService_SerializerRegistry.getRegist
ry(JoPayWebServiceService_SerializerRegistry.java:26)
at has.proxy.runtime.JoPayWebServiceService_Impl.<init>(JoPayWebServiceS
ervice_Impl.java:26)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at oracle.j2ee.ws.client.ServiceFactoryImpl.createService(ServiceFactory
Impl.java:92)
at oracle.j2ee.ws.client.ServiceFactoryImpl.loadService(ServiceFactoryIm
pl.java:121)
at has.proxy.JoPayWebServiceClient.<init>(JoPayWebServiceClient.java:18)
at moict.Main.confirmPayment(Main.java:142)
at moict.Main.main(Main.java:93)
Caused by: java.lang.ClassNotFoundException: javax.activation.DataHandler
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:164)
... 17 more
C:\>I added all required jars but still I get this error :-
standard type mapping initialization error: javax.xml.rpc.JAXRPCException: javax
.xml.soap.SOAPException: Unable to create SOAP Factory: Provider com.sun.xml.mes
saging.saaj.soap.ver1_1.SOAPFactory1_1Impl not found
at oracle.j2ee.ws.client.BasicService.createLiteralMappings(BasicService
.java:282)
at oracle.j2ee.ws.client.BasicService.createStandardTypeMappingRegistry(
BasicService.java:244)
at has.proxy.runtime.JoPayWebServiceService_SerializerRegistry.getRegist
ry(JoPayWebServiceService_SerializerRegistry.java:26)
at has.proxy.runtime.JoPayWebServiceService_Impl.<init>(JoPayWebServiceS
ervice_Impl.java:26)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at oracle.j2ee.ws.client.ServiceFactoryImpl.createService(ServiceFactory
Impl.java:92)
at oracle.j2ee.ws.client.ServiceFactoryImpl.loadService(ServiceFactoryIm
pl.java:121)
at has.proxy.JoPayWebServiceClient.<init>(JoPayWebServiceClient.java:18)
at moict.Main.confirmPayment(Main.java:142)
at moict.Main.main(Main.java:93)
CAUSE:
javax.xml.rpc.JAXRPCException: javax.xml.soap.SOAPException: Unable to create SO
AP Factory: Provider com.sun.xml.messaging.saaj.soap.ver1_1.SOAPFactory1_1Impl n
ot found
at oracle.j2ee.ws.client.BasicService.createLiteralMappings(BasicService
.java:282)
at oracle.j2ee.ws.client.BasicService.createStandardTypeMappingRegistry(
BasicService.java:244)
at has.proxy.runtime.JoPayWebServiceService_SerializerRegistry.getRegist
ry(JoPayWebServiceService_SerializerRegistry.java:26)
at has.proxy.runtime.JoPayWebServiceService_Impl.<init>(JoPayWebServiceS
ervice_Impl.java:26)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at oracle.j2ee.ws.client.ServiceFactoryImpl.createService(ServiceFactory
Impl.java:92)
at oracle.j2ee.ws.client.ServiceFactoryImpl.loadService(ServiceFactoryIm
pl.java:121)
at has.proxy.JoPayWebServiceClient.<init>(JoPayWebServiceClient.java:18)
at moict.Main.confirmPayment(Main.java:142)
at moict.Main.main(Main.java:93)
Caused by: javax.xml.rpc.JAXRPCException: javax.xml.soap.SOAPException: Unable t
o create SOAP Factory: Provider com.sun.xml.messaging.saaj.soap.ver1_1.SOAPFacto
ry1_1Impl not found
at oracle.j2ee.ws.common.encoding.literal.LiteralFragmentSerializer.<ini
t>(LiteralFragmentSerializer.java:95)
at oracle.j2ee.ws.common.encoding.literal.LiteralFragmentSerializer.<ini
t>(LiteralFragmentSerializer.java:62)
at oracle.j2ee.ws.common.encoding.literal.LiteralAnyElementSerializer.<i
nit>(LiteralAnyElementSerializer.java:16)
at oracle.j2ee.ws.common.encoding.literal.StandardLiteralTypeMappings.<i
nit>(StandardLiteralTypeMappings.java:198)
at oracle.j2ee.ws.client.BasicService.createLiteralMappings(BasicService
.java:280)
... 14 more
Caused by: javax.xml.soap.SOAPException: Unable to create SOAP Factory: Provider
com.sun.xml.messaging.saaj.soap.ver1_1.SOAPFactory1_1Impl not found
at javax.xml.soap.SOAPFactory.newInstance(SOAPFactory.java:33)
at oracle.j2ee.ws.common.encoding.literal.LiteralFragmentSerializer.<ini
t>(LiteralFragmentSerializer.java:93)
... 18 more
CAUSE:
javax.xml.rpc.JAXRPCException: javax.xml.soap.SOAPException: Unable to create SO
AP Factory: Provider com.sun.xml.messaging.saaj.soap.ver1_1.SOAPFactory1_1Impl n
ot found
at oracle.j2ee.ws.client.BasicService.createLiteralMappings(BasicService
.java:282)
at oracle.j2ee.ws.client.BasicService.createStandardTypeMappingRegistry(
BasicService.java:244)
at has.proxy.runtime.JoPayWebServiceService_SerializerRegistry.getRegist
ry(JoPayWebServiceService_SerializerRegistry.java:26)
at has.proxy.runtime.JoPayWebServiceService_Impl.<init>(JoPayWebServiceS
ervice_Impl.java:26)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at oracle.j2ee.ws.client.ServiceFactoryImpl.createService(ServiceFactory
Impl.java:92)
at oracle.j2ee.ws.client.ServiceFactoryImpl.loadService(ServiceFactoryIm
pl.java:121)
at has.proxy.JoPayWebServiceClient.<init>(JoPayWebServiceClient.java:18)
at moict.Main.confirmPayment(Main.java:142)
at moict.Main.main(Main.java:93)
Caused by: javax.xml.rpc.JAXRPCException: javax.xml.soap.SOAPException: Unable t
o create SOAP Factory: Provider com.sun.xml.messaging.saaj.soap.ver1_1.SOAPFacto
ry1_1Impl not found
at oracle.j2ee.ws.common.encoding.literal.LiteralFragmentSerializer.<ini
t>(LiteralFragmentSerializer.java:95)
at oracle.j2ee.ws.common.encoding.literal.LiteralFragmentSerializer.<ini
t>(LiteralFragmentSerializer.java:62)
at oracle.j2ee.ws.common.encoding.literal.LiteralAnyElementSerializer.<i
nit>(LiteralAnyElementSerializer.java:16)
at oracle.j2ee.ws.common.encoding.literal.StandardLiteralTypeMappings.<i
nit>(StandardLiteralTypeMappings.java:198)
at oracle.j2ee.ws.client.BasicService.createLiteralMappings(BasicService
.java:280)
... 14 more
Caused by: javax.xml.soap.SOAPException: Unable to create SOAP Factory: Provider
com.sun.xml.messaging.saaj.soap.ver1_1.SOAPFactory1_1Impl not found
at javax.xml.soap.SOAPFactory.newInstance(SOAPFactory.java:33)
at oracle.j2ee.ws.common.encoding.literal.LiteralFragmentSerializer.<ini
t>(LiteralFragmentSerializer.java:93)
... 18 more
Exception in thread "main" java.lang.NullPointerException
at has.proxy.runtime.JoPayWebServiceService_SerializerRegistry.registerS
erializer(JoPayWebServiceService_SerializerRegistry.java:45)
at has.proxy.runtime.JoPayWebServiceService_SerializerRegistry.getRegist
ry(JoPayWebServiceService_SerializerRegistry.java:32)
at has.proxy.runtime.JoPayWebServiceService_Impl.<init>(JoPayWebServiceS
ervice_Impl.java:26)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at oracle.j2ee.ws.client.ServiceFactoryImpl.createService(ServiceFactory
Impl.java:92)
at oracle.j2ee.ws.client.ServiceFactoryImpl.loadService(ServiceFactoryIm
pl.java:121)
at has.proxy.JoPayWebServiceClient.<init>(JoPayWebServiceClient.java:18)
at moict.Main.confirmPayment(Main.java:142)
at moict.Main.main(Main.java:93)
C:\> -
HAL errors when executing a runtime process (windows .exe) outside Vignette
Hi,
I have a flow diagram where I load data form txt source into Hyperion Performance Scorecard Adapter.
I built an exe in order to run the activity in a computer without HAL.
When I execute my exe file from HAL it is working, but then when I try to execute it from outside it is not working. I'm getting this errors:
java.lang.UnsatisfiedLinkError: no prtjt42 java.library.path
at java.lang.ClassLoader.loadLibrary <Unknown source>
at java.lang.runtime.loadLibrary0<Unknown source>
at java.lang.system.loadLibrary <Unknown source>
at com.oberon.runtime.Utilities.<clinit><Unknown source>
at com.oberon.runtime.NativeValue.<clinit><Unknown source>
at java.lang.Class.forName<Unknown source>
at com.oberon.runtime.ProsperoRuntime.<clinit><Unknown source>
at com.oberon.runtime.ProsperoRuntime.SetValueClass<Unknown source>
at com.vignette.integrate.runtime.ZipFileRuntimeMain<Unknown source>
Any idea? Do I have to put anything in CLASSPATH and PATH??
Thank youHi John,
I didn't do it because I read this in the HAL user guide:
For Windows runtime targets, select the Copy needed VBIS DLLs option to
copy all required runtime DLLs to the directory where the adapter process
files will be created. Use the option only if all of the following three
conditions are true:
• The adapter process will only run locally
• The adapter process will reside in a location other than your VBIS bin
directory
• The VBIS bin directory is not in your path
I think I have to define CLASSPATH but I don't know what to put in this env. variable...
Any idea?
Thank you! -
Error when executing job from BW
Hi,
We have created a job that transfers a set of data to BW PSA.
When executing from data services designer or from the management console the job works fine.
When executing the job from BW administration workbench, the job is executed and does not report failures (we can consult the log in the management console).
But nothing arrives in the PSA, and on the workbench we get the following errors:
Error in a data conversion in record
data record 1 of the fragmented entry is too long.
Error in a data conversion in record
Please advice what to check next.
Best regards
ThomasHi,
Thank you for your help.
I tried changing the BW datastore to UTF-8 but am still not able to load these data when it is trigged from BW.
After changing the datastore to UTF-8 I get some additional information in the log but no errors
Additional information in the log:
The specified locale and datastore codepage
Br
Søren Ejlersen -
Errors when running db_stat from command line
Hi,
I'm trying to use db_stat at the command line to generate statistics.
However, I keep getting errors. I cannot use the db->stat call
because this is to be done at a customer site using their existing binary.
Note that the call to db_stat -m fails, while the call to db_stat -d <dbname>
prints an error/warning then appears to succeed.
Most likely, there is some usage subtlety that I have missed.
Any suggestions about what I have done wrong?
I am using BDB 4.6.21 on Windows. Databases are created inside a
db environment.
Here is a transcript:
C:\Program Files\SonicWallES\PluginDefault\collab\data>dir __*
Volume in drive C has no label.
Volume Serial Number is 7084-88E3
Directory of C:\Program Files\SonicWallES\PluginDefault\collab\data
08/07/2008 07:11 PM 24,576 __db.001
08/07/2008 07:11 PM 65,536 __db.002
08/07/2008 07:11 PM 270,336 __db.003
08/07/2008 07:11 PM 499,712 __db.004
4 File(s) 860,160 bytes
0 Dir(s) 2,177,224,704 bytes free
C:\Program Files\SonicWallES\PluginDefault\collab\data>"C:\Program Files\SonicWallES\utilities\bdb\db_stat.exe" -m
db_stat.exe: __db.001: unable to find environment
db_stat.exe: DB_ENV->open: No such file or directory
C:\Program Files\SonicWallES\PluginDefault\collab\data>dir ..
Volume in drive C has no label.
Volume Serial Number is 7084-88E3
Directory of C:\Program Files\SonicWallES\PluginDefault\collab
08/18/2008 12:44 PM <DIR> .
08/18/2008 12:44 PM <DIR> ..
08/07/2008 10:09 PM 2,646,016 c_thumbprint.db
09/05/2008 03:08 PM <DIR> data
07/16/2008 06:43 PM <DIR> dbs
08/07/2008 10:09 PM 42,131,456 e_thumbprint.db
08/07/2008 10:09 PM 10,485,760 f_thumbprint.db
08/07/2008 10:09 PM 5,226,496 g_thumbprint.db
08/07/2008 10:09 PM 41,869,312 h_thumbprint.db
08/07/2008 10:09 PM 41,926,656 i_thumbprint.db
08/09/2008 02:47 AM <DIR> old_data
08/07/2008 10:09 PM 10,633,216 p_thumbprint.db
08/14/2008 05:26 PM 1,749 redirect.xml
09/08/2008 04:12 PM <DIR> sn_data
08/07/2008 10:09 PM 78,725,120 t_thumbprint.db
08/07/2008 10:10 PM 42,074,112 v_thumbprint.db
08/07/2008 10:50 PM 335,790,080 x_thumbprint.db
11 File(s) 611,509,973 bytes
6 Dir(s) 2,177,224,704 bytes free
C:\Program Files\SonicWallES\PluginDefault\collab\data>"C:\Program Files\SonicWallES\utilities\bdb\db_stat.exe" -d ..\x_thumbprint.db
db_stat.exe: __db.001: unable to find environment
Mon Sep 08 16:17:01 2008 Local time
61561 Hash magic number
9 Hash version number
Little-endian Byte order
Flags
8192 Underlying database page size
0 Specified fill factor
4882732 Number of keys in the database
4882732 Number of data items in the database
24548 Number of hash buckets
35M Number of bytes free on bucket pages (82% ff)
0 Number of overflow pages
0 Number of bytes free in overflow pages (0% ff)
8220 Number of bucket overflow pages
32M Number of bytes free in bucket overflow pages (51% ff)
0 Number of duplicate pages
0 Number of bytes free in duplicate pages (0% ff)
1 Number of pages on the free listIf I'm reading your code correctly, you're starting a Korn shell session, then executing your C shell script as if you were at at the session window's prompt. If that is correct, you haven't caused your standard out (stdout) to hit ENTER yet. I'm not an expert, but I hope this works for you.
Your code:
Process Child = runtime.exec("/usr/bin/ksh"); // execute command
BufferedWriter outCommand = new BufferedWriter(new OutputStreamWriter(Child.getOutputStream()));
outCommand.write("/home/mypath/tesh.csh");
outCommand.flush();I think you need to enter one extra line before the flush():
Process Child = runtime.exec("/usr/bin/ksh"); // execute command
BufferedWriter outCommand = new BufferedWriter(new OutputStreamWriter(Child.getOutputStream()));
outCommand.write("/home/mypath/tesh.csh");
outCommand.newLine(); // hit ENTER
outCommand.flush();P.S. If you're running this script and your Java program from the same UNIX machine, you could just execute the shell script inside the runtime.exec() call. -
I am trying to execute a JAR file, via the command line, when I get the following error:
Exception in thread "main" java.util.zip.ZipException: The system cannot find th
e file specified
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(Unknown Source)
at java.util.jar.JarFile.<init>(Unknown Source)
at java.util.jar.JarFile.<init>(Unknown Source)
Any suggestions?I am trying to execute a JAR file, via the command
line, when I get the following error:
Any suggestions?How are you trying to execute the file?
some suggestions
create a manifest.mf file with the following content
Main-Class:TheNameOfTheClassWithMainMethod
and hit return
jar this file with any other .class files folders etc like this
java -jar manifest.mf nameUwantToGive.jar *.class
run by double click or by with the following
java -jar nameUwantToGive.jar
Hope this helps
AA -
Runtime Error When executing Method from JavaScript
Greetings In the name of the creator of all things, space, and time. I have a problem with scripting an applet using Javascript (JScript). The problem is as follows: I receive the runtime error - An outgoing call cannot be made since the application is dispatching an input-synchronous call.
I invoke the applet from a JavaScript from within a web page. The applet populates and display a JTable. From the Table I select an element in a row and press a button which kicks off another page. From within the page I called one of the applet's method i.e. _applet.cfquery(window, hastable).
This method connects to a data source and returns some data. When the method is invoked I receive the runtime error.
What is the problem and How do I resolve it? Note: The same code works with Netscape 7.0 with out any problems.
Particulars:
Browser: Internet Explorer 6.0 - Version 6.0.2800.1106C (SP1)
Operating System : Windows 2000 (Service Pack 3)
Scripting Interface: LiveConnect.
Scripting Version: JavaScript (1.5)
I know Microsoft Uses ActiveX to support embedded object. I recently came up on the JavaScript Object
ActiveXObject(appname.className [,remoteServiceName]). Could I use it to access my applet and how would I specify the name of my applet's? What do they mean by class name. Please help me I have searched the Internet until my eyes almost fall out by I have not found any solutions.If the javascript to invoke applet.cfquery(window, hastable) happens automatically (onload,...), try adding a button to your page and using that to invoke applet.cfquery(window, hastable). See if waiting until the applet loads and settles down makes a difference.
-
DB connect Datasource is giving error when executing infopackage from SQL
Hi,
I have created DB connect data source for SQL data base. Whenever I will try to execute the Infopackage , it is giving below error and when I checked status of job in data source, it stays in yellow.
SQL error "99" with message: "[Microsoft][SQL Server Native Client 10.0]Numeric
Message no. RSDS_ACCESS023
Any suggestion in this.... Thanks.
Regards
Deepa.Yes, I resolved it.
Please ask your admin guys do following steps - it will resolve the issue:
3. Possible problem areas
a) Datetime data type in source system tables
The Datetime DB data type and similar (timestamp, smalldatetime) are not used in SAP installations. This type of data cannot be transferred consistently into the BW system without additional activities.
Solution:
You must create a view in the source system to transform the data. Since a field of the type DateTime actually represents two SAP Basis types (DATES, TIMES), you must split it into a maximum of two fields, as appropriate:
create view <VIEWNAME> as
select
VD_1_D = convert(varchar(4), datepart(yyyy, d_1))
+ case len(convert(varchar(2), datepart(mm, d_1)))
when 1 then '0' + convert(varchar(1), datepart(mm, d_1))
else convert(varchar(2), datepart(mm, d_1))
end
+ case len(convert(varchar(2), datepart(dd, d_1)))
when 1 then '0' + convert(varchar(1), datepart(dd, d_1))
else convert(varchar(2), datepart(dd, d_1))
end,
VT_1_T = case len(convert(varchar(2), datepart(hh, t_1)))
when 1 then /* Hour Part of TIMES */
case convert(varchar(2), datepart(hh, t_1))
when '0' then '24' /* Map 00 to 24 ( TIMES ) */
else '0' + convert(varchar(1), datepart(hh, t_1))
end
else convert(varchar(2), datepart(hh, t_1))
end
+ case len(convert(varchar(2), datepart(mi, t_1)))
when 1 then '0' + convert(varchar(1), datepart(mi, t_1))
else convert(varchar(2), datepart(mi, t_1))
end
+ case len(convert(varchar(2), datepart(ss, t_1)))
when 1 then '0' + convert(varchar(1), datepart(ss, t_1))
else convert(varchar(2), datepart(ss, t_1))
end
from <TABLENAME>
The t_1 Basis field in the table is converted into a DATES field VT_1_D and a TIMES field VT_1_T. During the generation of the VT_1_T field, the value for 00:00 hours is also converted to 24:00 hours. This conversion may be omitted if not required.
b) Float data type in source system tables
In accordance with the IEEE standard regulations, MS SQL Server supports a value range of 1x10E-307 to +go- 1x10E+308. This also applies to the corresponding ABAP data type. However, the BW database in question may restrict this. Depending on the system, a restriction to 1x10E-25 is possible.
c) Nvarchar data type in source system tables
The length information displayed is twice as big as the number of characters you specified when you created the column.
d) Writing names in the source system
Since the R/3 kernel used in BW can only process table and column names written in upper case, on the source system, you must create DB views that convert the original names in accordance with this rule.
e) Code page and sort sequence of the source system
R/3 kernel-based systems such as BW basically assume that the database being used was created using code page cp850 and with the sort sequence 'bin2'.
The configuration of the source system may differ. If the sort sequence is different, operations for string search (like) and area search (between, >, <) on character fields may return different results.
Solution: There is currently no solution.
If you use multibyte code pages in the source system to save data with character sets of more than 256 characters (Kanji, Hiragana, Korean, Chinese and so on), the characters may be corrupted as a result.
Solution: There is currently no solution.
f) Authorizations and visible objects
BW DB Connect uses a remote server as a source system to extract data. The data already exists in that remote system. To use BW DB Connect, you will create a new login and new views which the SAP BW system will use when connecting.
You must remember only the DB objects (tables and views), which directly belong to the new database login are visible.
You cannot use a login that belongs to the Sysadmin server role, (for example 'sa').
To create the new login and views:
1. Create a new login and map it to a user in the database with membership in db_ddladmin
2. Grant the new user (SELECT at least) access to the original data tables.
3. Login as this new login and create the views in the database/schema of that user, referring to the original (source) data tables.
4. Specify this new login in the data extraction and this login/user will read from his own views in his own schema.
5. Optionally you can switch the new user's role to db_datareader which is sufficient for reading data. Further changes to the remote system e.g. new views or changed views will require the db_ddladmin role again. -
Error when executing scenario use command prompt - startscen
Hi All,
Anyone know how to solve this error? I get this error message when I execute command prompt: startscen scenarioName version001 contextDevelopment "-v=2"
The error message is:
java.lang.NullPointerException
at com.sunopsis.g.a.f.b(f.java)
at com.sunopsis.tools.core.SnpsStringTools.a(SnpsStringTools.java)
at com.sunopsis.dwg.DwgObject.snpsDecypher(DwgObject.java)
at com.sunopsis.dwg.DwgJv.treatCmd(DwgJv.java)
at com.sunopsis.dwg.DwgJv.main(DwgJv.java)
at oracle.odi.Agent.main(Agent.java)
I use JDK version 1.4.
Thanks in advance.
Regards,
SumardiHi Sumardi,
Trying to help you,
Please cross check the repository configuration information in ODIPARAM.BAT file.
Thanks,
G -
NoSuchMethod error when starting WebStart from command line (Linux)
I'm using Chainsaw via WebStart http://logging.apache.org/log4j/docs/webstart/chainsaw/chainsawWebStart.jnlpWhen I enter this link into my browser, it launches WebStart and Chainsaw starts fine (after I approve the certificate).
When I try to run it from the command line/home/JavaLibs/jdk1.5.0_02/jre/javaws/javaws http://logging.apache.org/log4j/docs/webstart/chainsaw/chainsawWebStart.jnlpWebStart launches OK and I'm asked to approve the certificate, but then I get the following exception.
I'm supposing that it's a WebStart problem, rather than a Chainsaw problem, since Chainsaw starts fine if I start it from my browser. Is this a known problem? Is there any workaround?
java.lang.reflect.InvocationTargetException
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.sun.javaws.Launcher.executeApplication(Launcher.java:1098)
at com.sun.javaws.Launcher.executeMainClass(Launcher.java:1045)
at com.sun.javaws.Launcher.continueLaunch(Launcher.java:896)
at com.sun.javaws.Launcher.handleApplicationDesc(Launcher.java:468)
at com.sun.javaws.Launcher.handleLaunchFile(Launcher.java:218)
at com.sun.javaws.Launcher.run(Launcher.java:165)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.NoSuchMethodError: org.apache.log4j.AppenderSkeleton.activate()V
at org.apache.log4j.chainsaw.ChainsawAppenderHandler.activate(ChainsawAppenderHandler.java:100)
at org.apache.log4j.chainsaw.ChainsawAppenderHandler.<init>(ChainsawAppenderHandler.java:64)
at org.apache.log4j.chainsaw.LogUI.createChainsawGUI(LogUI.java:294)
at org.apache.log4j.chainsaw.LogUI.main(LogUI.java:250)
... 11 moreWhich version of your eclipse? I am using eclipse 3.0 and I am able to start weblogic 8.1 from eclipse.
I did the following steps:
1.create a new domain through weblogic's configuration wizard --> basic weblogic server domain --> Express --> proive the user name and password --> development mode, and sun sdk (or other jdk) --> your new domain name
2. configure weblogic setting in eclipse: preferences --> weblogic --> 8.1, C:\bea\weblogic81, your newly created domain name --> C:\bea\user_projects\domains (domain directory) --> myserver --> admin (or your user name) --> password --> localhost --> 7001
after that, you should be able to click on "start weblogic server" button from toolbar.
Hope my two cents solve your problem. -
'ORA-00900 3D' error when executing oci from cgi program
I get the ORA-00900 error with the explanation "3D" whenever I try to join tables from my web querying interface.
I built a web page that allows me to query my oracle database through an OCI program.
Before, I had trouble accessing the database. After I posted a question on this website however, the problem was solved (I simply had to 'setenv' so the OCI program can inherit the env variables).
This time, I am sure it is an env. variable problem again as the program works just fine from the command prompt.
The problem is..WHICH environment variable. I have included all the env variable in the .bash_profile file in the cgi program and still it doesn't work.
Anybody knows why?I solved the problem though I'm embarrased to admit. The error was due to the query statement structure.
I also decoded the statement (those not familiar with cgi might not know what I'm talking about)
The undecoded string was what really caused the problem. -
SQL2005 cluster error MDB-05053 Errors when executing sql command: p nr="
Hi all,
We are migrating from 32 bit to x64 bit machines. SQL 2005 database on windows 2003.
I am trying to install E 4.7-200 SR1 on the clustered nodes. The installation manuals for 4.7 are very old and there is nothing for SQL2005 installation.
Now that some how we were able to have SQL up and running in clustered environment (It only took 10 days), After installing CI, I am not able to deploy the database and database creation phase is failing with the following error:
MDB-05053 Errors when executing sql command: <p nr="0"/>.
I am heavily relying on our server managment team on clustering and hoping they have done a good job, However I need some guidelines which can help me in verifying what they have done is correct and meets SAP and SQL requirments and issues we are facing is actually install problems not cluster.
SAP install manuals are not detailed in this regards. Also manuals are out dataed and they only show the sql 2000 clustering pre-requisit for 4.7 installls.
Can any one with clustering experience please help.
Calling out NPC, As his sql installation and upgrade manual has helped me with stand alone installs, Hoping he has some thing for clustering as well.
Regards,
KGHi,
What installation CD/DVD are you using?
Try look at SAP note [924288|https://service.sap.com/sap/support/notes/924288],
and note [969699|https://service.sap.com/sap/support/notes/969699],
and note [967124|https://service.sap.com/sap/support/notes/967124],
and note [106275|https://service.sap.com/sap/support/notes/106275].
In special the last note say at the end:
"3. You must use the 51031444 CD to install Enterprise 4.7 on an x64 platform with SQL Server 2005. This CD installs the central instances and database instances. To convert the A and B nodes in MSCS, use the SAP NetWeaver 04 SR1 installation master CD or DVD."
Hope this helps
Regards
Rolf -
Error when executing interface which load data from csv file which has 320
Hi,
Can some one provide a resolution for below error:
I have created an interface which load data from csv file which has 320 columns, to a Synonym which has 320 columns in it
using LKM File to SQL, IKM Sql Control Append.
I am getting below error when executing the interface :
com.sunopsis.tools.core.exception.SnpsSimpleMessageException: ODI-17517: Error during task interpretation. Task: 6 java.lang.Exception: BeanShell script error: Sourced file: inline evaluation of: ``out.print("The application script threw an exception: java.lang.StringIndexOutOf . . . '' Token Parsing Error: Lexical error at line 2, column 42. Encountered: "\\" (92), after : "": <at unknown location> BSF info: Create external table at line: 0 column: columnNo
at com.sunopsis.dwg.codeinterpretor.SnpCodeInterpretor.transform(SnpCodeInterpretor.java:485)
at com.sunopsis.dwg.dbobj.SnpSessStep.createTaskLogs(SnpSessStep.java:711)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:461)
at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2093)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:366)
at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:300)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:292)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:855)
at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:126)
at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)
at java.lang.Thread.run(Thread.java:662)
Caused by: org.apache.bsf.BSFException: BeanShell script error: Sourced file: inline evaluation of: ``out.print("The application script threw an exception: java.lang.StringIndexOutOf . . . '' Token Parsing Error: Lexical error at line 2, column 42. Encountered: "\\" (92), after : "": <at unknown location>
BSF info: Create external table at line: 0 column: columnNo
at bsh.util.BeanShellBSFEngine.eval(Unknown Source)
at bsh.util.BeanShellBSFEngine.exec(Unknown Source)
at com.sunopsis.dwg.codeinterpretor.SnpCodeInterpretor.transform(SnpCodeInterpretor.java:471)
... 11 more
Text: The application script threw an exception: java.lang.StringIndexOutOfBoundsException: String index out of range: 2 BSF info: Create external table at line: 0 column: columnNo
out.print("createTblCmd = r\"\"\"\ncreate table ") ;
out.print(odiRef.getTable("L", "COLL_NAME", "W")) ;
out.print("<?=(extTabColFormat.getUseView())?\"_ET\":\"\"?>\n(\n\t") ;
out.print(odiRef.getColList("", "[CX_COL_NAME]\\t"+
"<?=extTabColFormat.getExtTabDataType(\\u0022[CX_COL_NAME]\\u0022,\\u0022[SOURCE_DT]\\u0022, \\u0022[DEST_WRI_DT]\\u0022, \\u0022[COL_FORMAT]\\u0022, \\u0022[BYTES]\\u0022, \\u0022[LONGC]\\u0022, \\u0022[SCALE]\\u0022)?>"
, ",\\n\\t", "","")) ;
out.print("\n)\nORGANIZATION EXTERNAL\n(\n\tTYPE ORACLE_LOADER\n\tDEFAULT DIRECTORY dat_dir\n\tACCESS PARAMETERS\n\t(\n\t\tRECORDS DELIMITED BY 0x'") ;
out.print(odiRef.getSrcTablesList("[XFILE_SEP_ROW]","")) ;
out.print("'\n\t\t") ;
out.print(odiRef.getUserExit("EXT_CHARACTERSET")) ;
out.print("\n\t\t") ;
out.print(odiRef.getUserExit("EXT_STRING_SIZE")) ;
out.print("\n\t\tBADFILE\t\t'") ;
out.print(odiRef.getSrcTablesList("", "[RES_NAME]", "", "")) ;
out.print("_%a.bad'\n\t\tLOGFILE\t\t'") ;
out.print(odiRef.getSrcTablesList("", "[RES_NAME]", "", "")) ;
out.print("_%a.log'\n\t\tDISCARDFILE\t'") ;
out.print(odiRef.getSrcTablesList("", "[RES_NAME]", "", "")) ;
out.print("_%a.dsc'\n\t\tSKIP \t\t") ;
out.print(odiRef.getSrcTablesList("", "[FILE_FIRST_ROW]", "", "")) ;
out.print("\n") ;
if (odiRef.getSrcTablesList("", "[FILE_FORMAT]", "", "").equals("F")) {out.print("\n\t\tFIELDS\n\t\t") ;
out.print(odiRef.getUserExit("EXT_MISSING_FIELD")) ;
out.print("\n\t\t(\n\t\t\t") ;
out.print(odiRef.getColList("", "[CX_COL_NAME]\\tPOSITION([FILE_POS]:[FILE_END_POS])\\t"+
"<?=extTabColFormat.getExtTabFormat(\\u0022[CX_COL_NAME]\\u0022,\\u0022[SOURCE_DT]\\u0022, \\u0022DEST_WRI_DT\\u0022, \\u0022[COL_FORMAT]\\u0022, \\u0022[BYTES]\\u0022, \\u0022[LONGC]\\u0022, \\u0022[SCALE]\\u0022)?>"
, ",\\n\\t\\t\\t", "","")) ;
out.print("\t\t\n\t\t)\n\t)\n") ;
} else {out.print("\n\t\tFIELDS TERMINATED BY x'") ;
out.print(odiRef.getSrcTablesList("", "[XFILE_SEP_FIELD]", "", "")) ;
out.print("'\n\t\t") ;
if(odiRef.getSrcTablesList("", "[FILE_ENC_FIELD]", "", "").equals("")){out.print("\n\t\t") ;
} else {out.print("OPTIONALLY ENCLOSED BY '") ;
out.print(odiRef.getSrcTablesList("", "[FILE_ENC_FIELD]", "", "").substring(0,1)) ;
out.print("' AND '") ;
out.print(odiRef.getSrcTablesList("", "[FILE_ENC_FIELD]", "", "").substring(1,2)) ;
out.print("' ") ;
}out.print("\n\t\t") ;
out.print(odiRef.getUserExit("EXT_MISSING_FIELD")) ;
out.print("\n\t\t(\n\t\t\t") ;
out.print(odiRef.getColList("", "[CX_COL_NAME]\\t"+
"<?=extTabColFormat.getExtTabFormat(\\u0022[CX_COL_NAME]\\u0022,\\u0022[SOURCE_DT]\\u0022, \\u0022DEST_WRI_DT\\u0022, \\u0022[COL_FORMAT]\\u0022, \\u0022[BYTES]\\u0022, \\u0022[LONGC]\\u0022, \\u0022[SCALE]\\u0022)?>"
, ",\\n\\t\\t\\t", "","")) ;
out.print("\t\t\n\t\t)\n\t)\n") ;
}out.print("\tLOCATION (") ;
out.print(odiRef.getSrcTablesList("", "'[RES_NAME]'", "", "")) ;
out.print(")\n)\n") ;
out.print(odiRef.getUserExit("EXT_PARALLEL")) ;
out.print("\nREJECT LIMIT ") ;
out.print(odiRef.getUserExit("EXT_REJECT_LIMIT")) ;
out.print("\n\"\"\"\n \n# Create the statement\nmyStmt = myCon.createStatement()\n \n# Execute the trigger creation\nmyStmt.execute(createTblCmd)\n \nmyStmt.close()\nmyStmt = None\n \n# Commit, just in case\nmyCon.commit()") ;
****** ORIGINAL TEXT ******
createTblCmd = r"""
create table <%=odiRef.getTable("L", "COLL_NAME", "W")%><?=(extTabColFormat.getUseView())?"_ET":""?>
<%=odiRef.getColList("", "[CX_COL_NAME]\t"+
"<?=extTabColFormat.getExtTabDataType(\u0022[CX_COL_NAME]\u0022,\u0022[SOURCE_DT]\u0022, \u0022[DEST_WRI_DT]\u0022, \u0022[COL_FORMAT]\u0022, \u0022[BYTES]\u0022, \u0022[LONGC]\u0022, \u0022[SCALE]\u0022)?>"
, ",\n\t", "","")%>
ORGANIZATION EXTERNAL
TYPE ORACLE_LOADER
DEFAULT DIRECTORY dat_dir
ACCESS PARAMETERS
RECORDS DELIMITED BY 0x'<%=odiRef.getSrcTablesList("[XFILE_SEP_ROW]","")%>'
<%=odiRef.getUserExit("EXT_CHARACTERSET")%>
<%=odiRef.getUserExit("EXT_STRING_SIZE")%>
BADFILE '<%=odiRef.getSrcTablesList("", "[RES_NAME]", "", "")%>_%a.bad'
LOGFILE '<%=odiRef.getSrcTablesList("", "[RES_NAME]", "", "")%>_%a.log'
DISCARDFILE '<%=odiRef.getSrcTablesList("", "[RES_NAME]", "", "")%>_%a.dsc'
SKIP <%=odiRef.getSrcTablesList("", "[FILE_FIRST_ROW]", "", "")%>
<% if (odiRef.getSrcTablesList("", "[FILE_FORMAT]", "", "").equals("F")) {%>
FIELDS
<%=odiRef.getUserExit("EXT_MISSING_FIELD")%>
<%=odiRef.getColList("", "[CX_COL_NAME]\tPOSITION([FILE_POS]:[FILE_END_POS])\t"+
"<?=extTabColFormat.getExtTabFormat(\u0022[CX_COL_NAME]\u0022,\u0022[SOURCE_DT]\u0022, \u0022DEST_WRI_DT\u0022, \u0022[COL_FORMAT]\u0022, \u0022[BYTES]\u0022, \u0022[LONGC]\u0022, \u0022[SCALE]\u0022)?>"
, ",\n\t\t\t", "","")%>
<%} else {%>
FIELDS TERMINATED BY x'<%=odiRef.getSrcTablesList("", "[XFILE_SEP_FIELD]", "", "")%>'
<% if(odiRef.getSrcTablesList("", "[FILE_ENC_FIELD]", "", "").equals("")){%>
<%} else {%>OPTIONALLY ENCLOSED BY '<%=odiRef.getSrcTablesList("", "[FILE_ENC_FIELD]", "", "").substring(0,1)%>' AND '<%=odiRef.getSrcTablesList("", "[FILE_ENC_FIELD]", "", "").substring(1,2)%>' <%}%>
<%=odiRef.getUserExit("EXT_MISSING_FIELD")%>
<%=odiRef.getColList("", "[CX_COL_NAME]\t"+
"<?=extTabColFormat.getExtTabFormat(\u0022[CX_COL_NAME]\u0022,\u0022[SOURCE_DT]\u0022, \u0022DEST_WRI_DT\u0022, \u0022[COL_FORMAT]\u0022, \u0022[BYTES]\u0022, \u0022[LONGC]\u0022, \u0022[SCALE]\u0022)?>"
, ",\n\t\t\t", "","")%>
<%}%> LOCATION (<%=odiRef.getSrcTablesList("", "'[RES_NAME]'", "", "")%>)
<%=odiRef.getUserExit("EXT_PARALLEL")%>
REJECT LIMIT <%=odiRef.getUserExit("EXT_REJECT_LIMIT")%>
# Create the statement
myStmt = myCon.createStatement()
# Execute the trigger creation
myStmt.execute(createTblCmd)
myStmt.close()
myStmt = None
# Commit, just in case
myCon.commit().
at com.sunopsis.dwg.dbobj.SnpSessStep.createTaskLogs(SnpSessStep.java:738)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:461)
at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2093)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:366)
at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:300)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:292)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:855)
at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:126)
at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)
at java.lang.Thread.run(Thread.java:662)The issue is encountered because the text delimiter used in the source file did not consist of a pair of delimiters.
Please see support Note [ID 1469977.1] for details. -
Error when executing external workflow process
OWB 9.2 with server on Windows NT.
I can successfully execute a mapping workflow process from the deployment manager, but I get an error when executing a simple external process:
command: move
parameters: ?c:\\data\\owbtest\\src.txt?c:\\data\\owbtest\\trg.txt
Resulting output:
Create Process: move c:\data\owbtest\src.txt c:\data\owbtest\trg.txt error=2
File c:\data\owbtest\src.txt exists.
My questions:
1. What am I doing wrong?
2. What does error=2 mean? Is this a Windows error?
3. Do I have to configure some location for the process? What does 'use default location' mean for the configuration property Working Location? Is a host-logon performed before the host-command is executed?
4. Is there logging available for an external process? In the workflow tables or views?
5. I can't find much documentation for these questions. Is there more documentation than the OWB user guide and the OWF guide?
Jaap.It seems that commands that are not an executable in some directory, but are part of the Windows kernel (like 'move'), need to be started as a parameter of the cmd command. I did this and now it works fine.
-
FJS-00012 Error when executing script.
Folks, please i need help, i'm installing sap on oracle 9.2
SYSID CBT, this is SAP 4.71. It stops on the "creating or registering SAP Services (post processing)" phase, and inside the file SAPSTARTSRV.EXE.log it's just the word SERVICE NOT STARTED.
here is the error message
==========
Creating file K:\usr\sap\trans\bin\tpparam_instCBT.
PHASE 2011-03-14 18:41:36
Deal with services
PHASE 2011-03-14 18:41:36
Prepare dealing with SAP System services
INFO 2011-03-14 18:41:36
Creating file S:\SAPinst ORACLE SAPINST\SAPSTARTSRV.EXE.log.
INFO 2011-03-14 18:41:48
See 'K:\usr\sap\CBT\SYS\exe\run\SAPSTARTSRV.EXE -r -q -p K:\usr\sap\CBT\SYS\profile\START_DVEBMGS10_SNGCBT1 -s CBT -n 10 -U HCB\SAPServiceCBT -P sap4life -e HCB\cbtadm' output in 'S:\SAPinst ORACLE SAPINST\SAPSTARTSRV.EXE.log'.
ERROR 2011-03-14 18:41:48
MOS-01012 PROBLEM: 'K:\usr\sap\CBT\SYS\exe\run\SAPSTARTSRV.EXE -r -q -p K:\usr\sap\CBT\SYS\profile\START_DVEBMGS10_SNGCBT1 -s CBT -n 10 -U HCB\SAPServiceCBT -P sap4life -e HCB\cbtadm' returned with '-1' which is not a defined as a success code.
ERROR 2011-03-14 18:41:48
FJS-00012 Error when executing script.
INFO 2011-03-14 18:42:05
Creating file S:\SAPinst ORACLE SAPINST\SAPSTARTSRV.EXE.log.
INFO 2011-03-14 18:42:52
See 'K:\usr\sap\CBT\SYS\exe\run\SAPSTARTSRV.EXE -r -q -p K:\usr\sap\CBT\SYS\profile\START_DVEBMGS10_SNGCBT1 -s CBT -n 10 -U HCB\SAPServiceCBT -P sap4life -e HCB\cbtadm' output in 'S:\SAPinst ORACLE SAPINST\SAPSTARTSRV.EXE.log'.
ERROR 2011-03-14 18:42:52
MOS-01012 PROBLEM: 'K:\usr\sap\CBT\SYS\exe\run\SAPSTARTSRV.EXE -r -q -p K:\usr\sap\CBT\SYS\profile\START_DVEBMGS10_SNGCBT1 -s CBT -n 10 -U HCB\SAPServiceCBT -P sap4life -e HCB\cbtadm' returned with '-1' which is not a defined as a success code.
ERROR 2011-03-14 18:42:52
FJS-00012 Error when executing script.
INFO 2011-03-14 18:48:37
Creating file S:\SAPinst ORACLE SAPINST\SAPSTARTSRV.EXE.log.
INFO 2011-03-14 18:48:44
See 'K:\usr\sap\CBT\SYS\exe\run\SAPSTARTSRV.EXE -r -q -p K:\usr\sap\CBT\SYS\profile\START_DVEBMGS10_SNGCBT1 -s CBT -n 10 -U HCB\SAPServiceCBT -P sap4life -e HCB\cbtadm' output in 'S:\SAPinst ORACLE SAPINST\SAPSTARTSRV.EXE.log'.
ERROR 2011-03-14 18:48:44
MOS-01012 PROBLEM: 'K:\usr\sap\CBT\SYS\exe\run\SAPSTARTSRV.EXE -r -q -p K:\usr\sap\CBT\SYS\profile\START_DVEBMGS10_SNGCBT1 -s CBT -n 10 -U HCB\SAPServiceCBT -P sap4life -e HCB\cbtadm' returned with '-1' which is not a defined as a success code.
ERROR 2011-03-14 18:48:44
FJS-00012 Error when executing script.
=============
what can i do?
cheers.Hi, i installed the vcredist_x86 patch but nothing happened. I'm running a windows 2000 advanced server on a virtual machine with 3 GB of RAM and a lot of space.
When i tried to start the services manually from service.exe it shows me the on windows eventviewer:
Initialization failed. Service not started. [ntservmain.cpp 1002]
and then
The dynamic link library librfc32.dll could not be loaded
And here is the message from the sapinst
***** Transaction begin ********************************************************
TRACE
Processing Row[0] WapsSystemName="CBT" WapsInstanceName="DVEBMGS00" WapsInstanceHost="SNGCBT1" Key="WAPS_SAPsidInstNum_Service" Program="K:\usr\sap\CBT\SYS\exe\run\SAPSTARTSRV.EXE" ProgramArguments="-r -q -p K:\usr\sap\CBT\SYS\profile\START_DVEBMGS00_SNGCBT1 -s CBT -n 00 -U HCB\SAPServiceCBT -P sap4life -e HCB\cbtadm" ArgumentSeparator=" " ProgramReturnCode="255"
TRACE<i>
Copying file S:/SAPinst_ORACLE_SAPINST/SAPSTARTSRV.EXE.log to: S:/SAPinst_ORACLE_SAPINST/SAPSTARTSRV.EXE.12.log.
TRACE<i>
Creating file S:\SAPinst_ORACLE_SAPINST\SAPSTARTSRV.EXE.12.log.
TRACE<i>
Removing file S:/SAPinst_ORACLE_SAPINST/SAPSTARTSRV.EXE.log.
INFO 2011-03-15 14:47:21
Creating file S:\SAPinst_ORACLE_SAPINST\SAPSTARTSRV.EXE.log.
INFO 2011-03-15 14:47:29
See 'K:\usr\sap\CBT\SYS\exe\run\SAPSTARTSRV.EXE -r -q -p K:\usr\sap\CBT\SYS\profile\START_DVEBMGS00_SNGCBT1 -s CBT -n 00 -U HCB\SAPServiceCBT -P sap4life -e HCB\cbtadm' output in 'S:\SAPinst_ORACLE_SAPINST\SAPSTARTSRV.EXE.log'.
TRACE
ProgramReturnCode='-1' means error.
ERROR 2011-03-15 14:47:29
MOS-01012 PROBLEM: 'K:\usr\sap\CBT\SYS\exe\run\SAPSTARTSRV.EXE -r -q -p K:\usr\sap\CBT\SYS\profile\START_DVEBMGS00_SNGCBT1 -s CBT -n 00 -U HCB\SAPServiceCBT -P sap4life -e HCB\cbtadm' returned with '-1' which is not a defined as a success code.
***** Transaction end **********************************************************
So Please can someone help me.
regards
Maybe you are looking for
-
How can I view just music - not videos - in the libary and playlists?
I've noticed that when creating smart playlists and viewing the libarary I cannot filter out videos... is there a way to do this without having to just uncheck the videos and pretend they aren't there or is this something that apple didn't think of?
-
How does LabVIEW convert string to char* when passing them to a Call Library Node?
I have a program which calls C++-based libraries which themself use external libraries (Qt). I pass strings to my library through the Call Library Node, and was wondering how the formatting goes? I have to interpret the char* according to Latin1, UTF
-
"Copy to Oracle" issue in SQL Developer 3.0
Hi, I am getting a recurring issue when trying to use the "Copy To Oracle" table feature in SQL Developer 3.0.04 (build MAIN-04.34). When trying to move any table from a registered Sybase ASE database (12.5.3) to a test Oracle instance (11.2.0.2.0),
-
Error when building dimension or deleting workspace
I am just starting to work with AW and trying to get past some initial bumps. I initially created 2 AWs but did all of my work in just one of them, using a small, 20 row dataset that I created. But soon I was getting too many errors in that AW and fi
-
How can I fix corrupted audiobooks category--plays too fast and is gravelly?
How can I fix corrupted audiobooks category--plays too fast and is gravelly? Other music categories are unaffected..