Loading dbwsclient.jar
Having problems while loading dbwsclient.jar.
loadjava -u user/password@dev -r -v -f -noverify -genmissing C:\temp\webservices2\sqlj\lib\dbwsclient.jar
This user has all JAVA* roles and create any proc, create any table.
Get following type of message over and over --- for all classes.
generating: HTTPClient/RoResponse
creating : class HTTPClient/RoResponse
loading : class HTTPClient/RoResponse
Error while getLoadLOB null
Closed Connection
Error while deleting MD5 of HTTPClient/RoResponse
Closed Connection
generating: java/util/Comparator
creating : class java/util/Comparator
loading : class java/util/Comparator
Error while getLoadLOB null
Closed Connection
Error while deleting MD5 of java/util/Comparator
Closed Connection
generating: java/awt/Panel
creating : class java/awt/Panel
loading : class java/awt/Panel
Error while getLoadLOB null
Closed Connection
Error while deleting MD5 of java/awt/Panel
Closed Connection
Thanks for advice.
Hi,
Have you followed the instructions and troubleshooting suggestions in the Callout Users Guide @http://www.oracle.com/technology/sample_code/tech/java/jsp/callout_users_guide.htm?
Kuassi http://db360.blogspot.com
Similar Messages
-
Error loading dbwsclient.jar
I downloaded the dbws-callout-utility-10R2.zip to install the dbwsclient.jar as instructed in the readme file.
The database version is 10.1.0.4.2
The command used is:
loadjava -user sys/vector -r -v -f -s -grant public -noverify -genmissing dbwsclient.jar
I get the following response with error message:
arguments: '-user' 'sys/vector' '-r' '-v' '-f' '-s' '-grant' 'public' '-noverify' '-genmissing' 'dbwsclient.jar'
genmissing: com/sun/msv/datatype/xsd/UnsignedIntType
Exception in thread "main" java.lang.UnsatisfiedLinkError: t2cParseExecuteDescribe
at oracle.jdbc.driver.T2CStatement.t2cParseExecuteDescribe(Native Method)
at oracle.jdbc.driver.T2CCallableStatement.executeForDescribe(T2CCallableStatement.java:519)
at oracle.jdbc.driver.T2CCallableStatement.executeForRows(T2CCallableStatement.java:764)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1159)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3284)
at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3389)
at oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStatement.java:4222)
at oracle.aurora.server.tools.loadjava.GenMissing.lookFor(GenMissing.java:528)
at oracle.aurora.server.tools.loadjava.GenMissing.classReference(GenMissing.java:503)
at oracle.aurora.server.tools.loadjava.GenMissing.add(GenMissing.java:436)
at oracle.aurora.server.tools.loadjava.GenMissing.add(GenMissing.java:398)
at oracle.aurora.server.tools.loadjava.CommonClassObject.genMissing(CommonClassObject.java:137)
at oracle.aurora.server.tools.loadjava.ClientClassObject.genMissing(ClientClassObject.java:120)
at oracle.aurora.server.tools.loadjava.SchemaObject.process1(SchemaObject.java:205)
at oracle.aurora.server.tools.loadjava.LoadJava.add(LoadJava.java:532)
at oracle.aurora.server.tools.loadjava.LoadJava.addClass(LoadJava.java:586)
at oracle.aurora.server.tools.loadjava.LoadJava.add(LoadJava.java:436)
at oracle.aurora.server.tools.loadjava.LoadJava.add(LoadJava.java:380)
at oracle.aurora.server.tools.loadjava.LoadJava.addJar(LoadJava.java:727)
at oracle.aurora.server.tools.loadjava.LoadJava.add(LoadJava.java:432)
at oracle.aurora.server.tools.loadjava.LoadJava.add(LoadJava.java:380)
at oracle.aurora.server.tools.loadjava.LoadJava.add(LoadJava.java:349)
at oracle.aurora.server.tools.loadjava.LoadJava.add(LoadJava.java:652)
at oracle.aurora.server.tools.loadjava.LoadJava.processDeferredFiles(LoadJava.java:617)
at oracle.aurora.server.tools.loadjava.LoadJava.process(LoadJava.java:818)
at oracle.aurora.server.tools.loadjava.LoadJava.command(LoadJava.java:251)
at oracle.aurora.server.tools.loadjava.LoadJavaMain.run(LoadJavaMain.java:103)
at oracle.aurora.server.tools.loadjava.LoadJavaMain.main(LoadJavaMain.java:28)
Any suggestions as for what's going wrong?
Regards, RobWhen I try to follow the Readme.Callout.htm instructions on a 10gR1 instance, I get an error on running jpub to generate the proxy. All previous objects were loaded into SCOTT rather than SYS (if that makes a difference). The error is:
C:\Projects\_RESEARCH\WebServices\oracle\javacallout>jpub -u scott/tiger -sysuser sys/oracle -proxywsdl="http://localhost:8888/javacallout/javacallout?WSDL"
tmp\src\genproxy\HttpSoap11ClientJPub.java
plsql_wrapper.sql
plsql_dropper.sql
plsql_grant.sql
plsql_revoke.sql
Executing plsql_dropper.sql
Executing plsql_wrapper.sql
Executing plsql_grant.sql
Loading sqlj/lib/dbwsclient.jar (about 5 minutes)...
Error loading dbwsclient.jar, please check the database trace file and make sure dbwsclient.jar exists in ORACLE_HOME/sqlj/lib.
Loading plsql_proxy.jarI'm really not sure what dbwsclient.jar it's talking about since this is NOT included with the latest callout utility. There is a dbwsclientws.jar which I placed into that same folder and RENAMED it.
If I examine the trace file location for my local 10gR1 instance, there is a ~1300K trace file in the folder: C:\Oracle\product\10.1.0\admin\orcl\udump. This file contains NUMEROUS ORA-29534 errors, i.e. ORA-29534: referenced object SYS.com/evermind/util/OpmnHelper could not be resolved. Later, the same trace file says: The following operations failed, and lists about 500+ entries followed by an error:
exiting : Failures occurred during processing
oracle.aurora.server.tools.loadjava.ToolsError: Error during loadjava: Failures occurred during processing. Check trace file for details
at oracle.aurora.server.tools.loadjava.LoadJavaMain.serverMain(LoadJavaMain.java:68)
at oracle.aurora.server.tools.loadjava.LoadJavaMain.serverMain(LoadJavaMain.java:42)I don't know what else I'm to examine.
It does appear to work when logged in as SCOTT in sql*plus:
scott@localhost> select jpub_plsql_wrapper.sayhello('hey there') from dual;
JPUB_PLSQL_WRAPPER.SAYHELLO('HEYTHERE')
HELLO!! You just said :hey there
1 row selected.Can these errors be ignored?
Eric -
hi, everyone. I am totally frustrated with the version problem and the oracle way of documentation. I am trying to use JPublisher to generate database webservice call out classes and packages. The database I am using is 10g 10.1.0.4 and the JPublisher I am using is downloaded from oracle website JPublisher release2. I also downloaded the webservice utility jar files for both pre 10g and 10g version, but when I try to load dbwsclient.jar file into database, it failed with a lot errors, just for illustration, the following are some example:
resolving: class oracle/j2ee/ws/common/mapping/JavaWsdlMappingWriter
errors : class oracle/j2ee/ws/common/mapping/JavaWsdlMappingWriter
ORA-29534: referenced object SYS.oracle/j2ee/ws/common/mapping/TypeVisitor c
ould not be resolved
synonym : oracle/j2ee/ws/common/mapping/JavaWsdlMappingWriter
granting : execute on class oracle/j2ee/ws/common/processor/generator/GeneratorB
ase to public
errors : class oracle/j2ee/ws/common/processor/generator/GeneratorBase
ORA-29521: referenced name oracle/j2ee/util/TraceLogger could not be found
synonym : oracle/j2ee/ws/common/processor/generator/GeneratorBase
granting : execute on class oracle/j2ee/ws/common/processor/modeler/wsdl/Complex
TypeBindingModeler to public
errors : class oracle/j2ee/ws/common/processor/modeler/wsdl/ComplexTypeBinding
Modeler
ORA-29534: referenced object SYS.oracle/j2ee/ws/common/processor/modeler/wsd
l/SchemaAnalyzer could not be resolved
ORA-29534: referenced object SYS.oracle/j2ee/ws/common/processor/config/WSDL
ModelInfo could not be resolved
ORA-29534: referenced object SYS.oracle/j2ee/ws/common/processor/modeler/wsd
l/LiteralSchemaTypeModeler could not be resolved
ORA-29521: referenced name oracle/j2ee/util/TraceLogger could not be found
synonym : oracle/j2ee/ws/common/processor/modeler/wsdl/ComplexTypeBindingModele
r
granting : execute on class javax/xml/soap/SOAPConnection to public
resolving: class javax/xml/soap/SOAPConnection
synonym : javax/xml/soap/SOAPConnection
granting : execute on class org/apache/soap/rpc/SOAPContext$MultiRefInfo to publ
ic
resolving: class oracle/j2ee/ws/common/util/ModelMBeanInfoBuilder$Parameter
errors : class oracle/j2ee/ws/common/util/ModelMBeanInfoBuilder$Parameter
ORA-29521: referenced name javax/management/MBeanParameterInfo could not be
found
synonym : oracle/j2ee/ws/common/util/ModelMBeanInfoBuilder$Parameter
granting : execute on class oracle/j2ee/ws/common/encoding/SOAPInstanceBuilder t
o public
skipping : class oracle/j2ee/ws/common/encoding/SOAPInstanceBuilder
synonym : oracle/j2ee/ws/common/encoding/SOAPInstanceBuilder
granting : execute on class oracle/j2ee/ws/common/tools/util/HandlerInfo$ParamVa
lueType to public
skipping : class oracle/j2ee/ws/common/tools/util/HandlerInfo$ParamValueType
synonym : oracle/j2ee/ws/common/tools/util/HandlerInfo$ParamValueType
granting : execute on class oracle/j2ee/ws/client/mgmt/runtime/ClientInterceptor
PortRuntime to public
errors : class oracle/j2ee/ws/client/mgmt/runtime/ClientInterceptorPortRuntime
ORA-29521: referenced name javax/management/MBeanServer could not be found
ORA-29521: referenced name javax/management/ObjectName could not be found
granting : execute on class oracle/j2ee/ws/common/processor/model/Port to public
skipping : class oracle/j2ee/ws/common/processor/model/Port
synonym : oracle/j2ee/ws/common/processor/model/Port
granting : execute on class oracle/j2ee/ws/wsdl/extensions/mime/Constants to pub
lic
skipping : class oracle/j2ee/ws/wsdl/extensions/mime/Constants
synonym : oracle/j2ee/ws/wsdl/extensions/mime/Constants
granting : execute on class oracle/j2ee/ws/common/streaming/XMLWriterFactoryImpl
to public
resolving: class oracle/j2ee/ws/common/streaming/XMLWriterFactoryImpl
synonym : oracle/j2ee/ws/common/streaming/XMLWriterFactoryImpl
granting : execute on class com/sun/mail/iap/LiteralException to public
resolving: class com/sun/mail/iap/LiteralException
synonym : com/sun/mail/iap/LiteralException
granting : execute on class oracle/j2ee/ws/common/mapping/xml/wsdlMessageMapping
Type to public
skipping : class oracle/j2ee/ws/common/mapping/xml/wsdlMessageMappingType
synonym : oracle/j2ee/ws/common/mapping/xml/wsdlMessageMappingType
granting : execute on class oracle/webservices/transport/JmsClientTransportFacto
ry to public
resolving: class oracle/webservices/transport/JmsClientTransportFactory
synonym : oracle/webservices/transport/JmsClientTransportFactory
granting : execute on class oracle/j2ee/ws/saaj/soap/ch/BinaryDataContentHandler
to public
resolving: class oracle/j2ee/ws/saaj/soap/ch/BinaryDataContentHandler
synonym : oracle/j2ee/ws/saaj/soap/ch/BinaryDataContentHandler
granting : execute on class oracle/j2ee/ws/common/soap/SOAPWSDLConstants to publ
ic
skipping : class oracle/j2ee/ws/common/soap/SOAPWSDLConstants
synonym : oracle/j2ee/ws/common/soap/SOAPWSDLConstants
granting : execute on class oracle/j2ee/ws/common/encoding/PolymorphicArraySeria
lizer$ObjectArrayInstanceBuilder to public
skipping : class oracle/j2ee/ws/common/encoding/PolymorphicArraySerializer$Objec
tArrayInstanceBuilder
synonym : oracle/j2ee/ws/common/encoding/PolymorphicArraySerializer$ObjectArray
InstanceBuilder
granting : execute on class oracle/j2ee/ws/wsdl/extensions/oracle/schema/FieldSc
hemaElement to public
skipping : class oracle/j2ee/ws/wsdl/extensions/oracle/schema/FieldSchemaElement
The following operations failed
class oracle/j2ee/ws/common/mapping/JavaWsdlMappingWriter: resolution
class oracle/j2ee/ws/common/processor/generator/GeneratorBase: resolution
class oracle/j2ee/ws/common/processor/modeler/wsdl/ComplexTypeBindingModeler
: resolution
class oracle/j2ee/ws/common/processor/config/RmiModelInfo: resolution
class oracle/j2ee/ws/common/mgmt/runtime/InterceptorContainer: resolution
class oracle/j2ee/ws/client/mgmt/runtime/ClientPortRuntime: resolution
class oracle/j2ee/ws/saaj/client/p2p/HttpSOAPConnection$1: resolution
class oracle/net/www/protocol/https/HttpsURLConnection: resolution
class org/apache/soap/rpc/Response: resolution
class oracle/j2ee/ws/common/attachments/AttachmentsImpl: resolution
class oracle/j2ee/ws/common/util/ModelMBeanInfoBuilder$Parameter: resolution
class oracle/j2ee/ws/client/mgmt/runtime/ClientInterceptorPortRuntime: resol
ution
class oracle/j2ee/ws/common/util/xml/UUID: resolution
class oracle/j2ee/ws/common/management/mbeans/WebServiceStatsImpl: resolutio
n
class oracle/j2ee/ws/common/mgmt/interceptors/testing/TestingGlobalStatus: r
esolution
class oracle/j2ee/ws/common/processor/modeler/wsdl/JavaMethodCreator: resolu
tion
class oracle/j2ee/ws/common/mgmt/runtime/InterceptorChainImpl: resolution
class oracle/j2ee/ws/saaj/client/p2p/HttpSOAPConnectionFactory: resolution
class oracle/j2ee/ws/common/processor/modeler/wsdl/RpcEncodedOperationModele
r: resolution
class oracle/j2ee/ws/client/mgmt/runtime/ClientInterceptorRegistry: resoluti
on
class oracle/j2ee/ws/client/StreamingSender: resolution
class oracle/j2ee/ws/common/util/ModelMBeanInfoBuilder$Feature: resolution
class oracle/j2ee/ws/common/mgmt/interceptors/AbstractInterceptorGlobalDescr
iptor: resolution
class oracle/j2ee/ws/common/mgmt/interceptors/auditing/AuditingDescriptor: r
esolution
class oracle/j2ee/ws/common/processor/modeler/rmi/RmiTypeModeler$MemberInfoC
omparator: resolution
class oracle/j2ee/ws/common/processor/modeler/rmi/DocLiteralMethodModeler: r
esolution
class oracle/j2ee/ws/common/encoding/literal/ValueTypeLiteralSerializer$4: r
esolution
class oracle/j2ee/ws/common/encoding/literal/ValueTypeLiteralSerializer$3: r
esolution
class oracle/j2ee/ws/common/encoding/literal/ValueTypeLiteralSerializer$2: r
esolution
class oracle/j2ee/ws/common/encoding/literal/ValueTypeLiteralSerializer$1: r
esolution
class oracle/j2ee/ws/common/encoding/literal/GenericLiteralObjectSerializer$
GetterMethod: resolution
class oracle/j2ee/ws/common/util/ModelMBeanInfoBuilder$Operation: resolution
class oracle/j2ee/ws/common/util/ModelMBeanInfoBuilder: resolution
class oracle/j2ee/ws/saaj/soap/MessageFactoryImpl: resolution
class oracle/j2ee/ws/client/dii/DynamicProxyBuilder: resolution
class oracle/xml/jaxb/JaxbMarshaller: resolution
class oracle/j2ee/ws/client/mgmt/runtime/ClientInterceptorConfig: resolution
class oracle/xml/jaxb/JaxbDatatypeConverter$DataTypeItem: resolution
class oracle/j2ee/ws/common/processor/modeler/rmi/SoapEncodedTypeModeler: re
solution
class oracle/j2ee/ws/common/mgmt/InterceptorPortInfo: resolution
class oracle/net/www/protocol/https/Handler: resolution
class oracle/j2ee/ws/common/encoding/literal/SOAPLiteralResponseSerializer$S
OAPResponseStructureBuilder: resolution
class oracle/j2ee/ws/client/BasicService: resolution
class oracle/j2ee/ws/saaj/client/p2p/HttpSOAPConnection$UsernamePasswordProm
pter: resolution
class oracle/j2ee/ws/common/attachments/IncomingAttachmentsImpl: resolution
class oracle/j2ee/ws/saaj/client/p2p/HttpSOAPConnection: resolution
class oracle/j2ee/ws/common/processor/modeler/rmi/ExceptionModelerBase: reso
lution
class oracle/j2ee/ws/common/util/ModelMBeanInfoBuilder$Attribute: resolution
class oracle/xml/jaxb/JaxbListImpl: resolution
class org/apache/soap/rpc/RPCMessage: resolution
class oracle/j2ee/ws/common/processor/modeler/rmi/RmiModeler: resolution
class oracle/j2ee/ws/common/mapping/TypeVisitor: resolution
class oracle/xml/jaxb/JaxbNode: resolution
class oracle/j2ee/ws/common/processor/modeler/rmi/ExceptionModeler: resoluti
on
class oracle/j2ee/ws/common/processor/modeler/wsdl/RpcLiteralOperationModele
r: resolution
class oracle/j2ee/ws/common/mgmt/runtime/InterceptorRuntime: resolution
class oracle/j2ee/ws/common/encoding/literal/SOAPLiteralResponseSerializer:
resolution
class oracle/j2ee/ws/client/mgmt/runtime/ClientOperationRuntime: resolution
class oracle/j2ee/ws/common/mgmt/interceptors/testing/TestingGlobalDescripto
r: resolution
class oracle/j2ee/ws/common/management/mbeans/WebServiceOperationStatsImpl:
resolution
class oracle/j2ee/ws/common/mgmt/interceptors/auditing/AuditingInterceptor:
resolution
class oracle/j2ee/ws/common/processor/modeler/wsdl/SoapEncBindingModeler: re
solution
class oracle/j2ee/ws/common/encoding/DynamicInternalTypeMappingRegistry: res
olution
class oracle/j2ee/ws/saaj/util/mime/MimeReader$PartInputStream: resolution
class oracle/j2ee/ws/common/processor/modeler/rmi/LiteralExceptionModeler$Li
teralElementMemberComparator: resolution
class oracle/j2ee/ws/common/mgmt/InterceptorPortDescriptor: resolution
class oracle/j2ee/ws/common/mgmt/InterceptorGlobalDescriptor: resolution
class oracle/j2ee/ws/common/processor/modeler/rmi/LiteralTypeModeler: resolu
tion
class oracle/j2ee/ws/saaj/client/p2p/HttpSOAPConnection$PriviledgedPost: res
olution
class oracle/xml/jaxb/JaxbDatatypeConverter: resolution
class oracle/j2ee/ws/saaj/util/mime/MimeReader$DumpInputStream: resolution
class HTTPClient/OracleSSL$3: resolution
class HTTPClient/OracleSSL$2: resolution
class oracle/j2ee/ws/common/processor/modeler/rmi/JavaBean: resolution
class oracle/j2ee/ws/common/mgmt/runtime/InterceptorPortRuntime: resolution
class oracle/j2ee/ws/common/encoding/SimpleAttachmentTypeSerializer: resolut
ion
class oracle/j2ee/ws/common/processor/generator/StubTieGeneratorBase: resolu
tion
class oracle/j2ee/ws/client/dii/BasicCall: resolution
class oracle/j2ee/ws/common/processor/modeler/rmi/RpcLiteralMethodModeler: r
esolution
class oracle/j2ee/ws/saaj/util/mime/MimeReader: resolution
class oracle/j2ee/ws/common/processor/modeler/rmi/MethodModeler: resolution
class oracle/j2ee/ws/client/dii/ConfiguredService: resolution
class oracle/j2ee/ws/common/util/ModelMBeanInfoBuilder$NameValuePair: resolu
tion
class oracle/j2ee/ws/client/dii/CallRequest: resolution
class oracle/jpub/runtime/dbws/DbwsProxy$1: resolution
class oracle/j2ee/ws/common/processor/modeler/rmi/ExceptionModeler$SOAPStruc
tureMemberComparator: resolution
class oracle/j2ee/ws/client/mgmt/runtime/ClientInterceptorPipeline: resoluti
on
class oracle/j2ee/ws/common/util/ModelMBeanInfoBuilder$Notification: resolut
ion
class oracle/j2ee/ws/common/encoding/literal/ValueTypeLiteralSerializer: res
olution
class oracle/j2ee/ws/common/mgmt/runtime/InterceptorRegistry: resolution
class oracle/j2ee/ws/common/processor/config/WSDLModelInfo: resolution
class oracle/j2ee/ws/client/ServiceFactoryImpl: resolution
class oracle/j2ee/ws/common/util/ModelMBeanInfoBuilder$Constructor: resoluti
on
class oracle/xml/jaxb/JaxbContextImpl: resolution
class oracle/j2ee/ws/common/mgmt/interceptors/testing/TestingPortStatus: res
olution
class oracle/j2ee/ws/common/processor/modeler/wsdl/LiteralSchemaTypeModeler:
resolution
class oracle/j2ee/ws/common/encoding/soap/StandardSOAPTypeMappings: resoluti
on
class oracle/j2ee/ws/common/encoding/literal/GenericLiteralObjectSerializer$
SOAPGenericObjectInstanceBuilder: resolution
class oracle/j2ee/ws/common/processor/modeler/wsdl/WSDLModeler: resolution
class oracle/j2ee/ws/common/encoding/literal/GenericLiteralObjectSerializer$
SetterMethod: resolution
class oracle/j2ee/ws/common/processor/modeler/rmi/RmiStructure: resolution
class oracle/j2ee/ws/common/mgmt/runtime/InterceptorContainerImpl$Background
Writer: resolution
class oracle/j2ee/ws/common/processor/modeler/wsdl/RpcOperationModeler: reso
lution
class oracle/j2ee/ws/common/processor/modeler/rmi/LiteralExceptionModeler: r
esolution
class oracle/xml/jaxb/JaxbValidator$schemaContext: resolution
class oracle/jpub/runtime/dbws/DbwsProxy$ServiceProxy: resolution
class oracle/j2ee/ws/common/encoding/literal/SOAPLiteralRequestSerializer: r
esolution
class oracle/j2ee/ws/client/dii/ConfiguredCall: resolution
class oracle/xml/jaxb/JaxbValidator: resolution
class oracle/xml/jaxb/JaxbDatatypeConverter$1: resolution
class oracle/j2ee/ws/common/processor/modeler/wsdl/OperationModeler: resolut
ion
class oracle/j2ee/ws/client/mgmt/runtime/ClientInterceptorOperationRuntime:
resolution
class oracle/j2ee/ws/common/processor/modeler/wsdl/SimpleTypeBindingModeler:
resolution
class org/apache/soap/rpc/Call: resolution
class oracle/j2ee/ws/common/processor/modeler/rmi/RmiTypeModeler: resolution
class oracle/j2ee/ws/client/BasicService$HandlerRegistryImpl: resolution
class oracle/j2ee/ws/common/processor/modeler/rmi/RmiModeler$MethodComparato
r: resolution
class oracle/j2ee/ws/client/StubBase: resolution
class oracle/j2ee/ws/common/processor/modeler/rmi/RpcEncodedMethodModeler: r
esolution
class oracle/j2ee/ws/common/encoding/literal/SOAPLiteralRequestSerializer$Pa
rameterArrayBuilder: resolution
class oracle/j2ee/ws/common/processor/modeler/wsdl/DocLiteralOperationModele
r: resolution
class oracle/j2ee/ws/common/encoding/literal/GenericLiteralObjectSerializer:
resolution
class oracle/j2ee/ws/common/encoding/StandardTypeMappings: resolution
class oracle/j2ee/ws/common/processor/modeler/rmi/SoapEncodedTypeModeler$Mem
berInfoComparator: resolution
class oracle/j2ee/ws/client/http/HttpClientTransport: resolution
class oracle/j2ee/ws/client/dii/CallInvokerImpl: resolution
class oracle/j2ee/ws/client/mgmt/runtime/ClientInterceptorGlobalRuntime: res
olution
class oracle/j2ee/ws/common/mgmt/interceptors/auditing/AuditingDescriptor$1:
resolution
class oracle/j2ee/ws/common/mgmt/interceptors/testing/TestingPortDescriptor:
resolution
class oracle/j2ee/ws/common/processor/modeler/wsdl/SchemaAnalyzer: resolutio
n
class oracle/soap/transport/http/OracleSOAPHTTPConnection$1: resolution
class oracle/j2ee/ws/common/processor/modeler/rmi/ParameterNameParser: resol
ution
class oracle/j2ee/ws/common/mgmt/InterceptorGlobalInfo: resolution
class oracle/j2ee/ws/common/mgmt/runtime/InterceptorMessages: resolution
class oracle/xml/jaxb/JaxbUnmarshaller: resolution
class oracle/j2ee/ws/client/http/HttpClientTransportFactory: resolution
class oracle/j2ee/ws/common/mgmt/runtime/AbstractInterceptorRegistry: resolu
tion
class oracle/j2ee/ws/client/dii/ServiceInfoBuilder: resolution
class oracle/j2ee/ws/common/mgmt/runtime/InterceptorContainerImpl: resolutio
n
class oracle/jpub/runtime/dbws/DbwsProxy$CallProxy: resolution
class oracle/j2ee/ws/client/mgmt/runtime/ClientInterceptorRuntime: resolutio
n
class oracle/jpub/runtime/dbws/DbwsProxy: resolution
class oracle/j2ee/ws/common/encoding/literal/GenericLiteralObjectSerializer$
MemberInfo: resolution
class oracle/j2ee/ws/common/mgmt/interceptors/testing/TestingInterceptor: re
solution
class oracle/soap/transport/http/OracleSOAPHTTPConnection: resolution
class oracle/j2ee/ws/client/dii/CallInvoker: resolution
exiting : Failures occurred during processing
looks like this jar file need some preloaded java classes which is not in the my 10g version 10.1.0.4. Is that a pre-requisite to have 10g release 2 database to use the dbwsa.jar and dbwsclient.jar? If so, is utl_dbws.jar and utl_dbws_jserver a match version for 10g release1? But on the oracle site, it says the webservice utility jar files (dbwsa.jar and dbwsclient.jar) are for 10g(release1 + release2). Anyone would have a hint on this? Thank you!
My loadjava command looks like this:
loadjava -oci8 -u sys/change_on_install -r -v -f -s -grant public dbwsclient.jarThank you, but I have already found a solution at metalink:
Subject: How To install Database Webservices Callout Utilities 10.2 on
Oracle Database Server 10.1
Doc ID: Note:338092.1 Type: HOWTO
Last Revision Date: 12-APR-2006 Status: PUBLISHED
The trick was to modify jpub script and to upload both dbwsa.jar AND dbwsclient.jar:
* dl (Callout Utility for 10g (R1 + R2) RDBMS):
http://www.oracle.com/technology/sample_code/tech/java/jsp/dbwebservi...
* dl (JPublisher 10g Release 10.2):
http://www.oracle.com/technology/software/tech/java/sqlj_jdbc/index.html
* unpack both to $ORACLE_HOME
* modify jpub:
In TMPCLASSPATH replace "jdk14" with "jdk"
replace "classes12_g.jar" with "classes12.zip"
* loadjava -u sys/change_on_install -r -v -f -s -grant public -genmissing dbwsa.jar
* loadjava -u sys/change_on_install -r -v -f -s -grant public -genmissing dbwsclient.jar
* run sqlplus as sysdba:
SQL> execute dbms_java.grant_permission('SCOTT','SYS:java.lang.RuntimePermission', 'shutdownHooks', '' )
SQL> execute dbms_java.grant_permission('SCOTT','SYS:java.util.logging.LoggingPermission','control','')
* ./jpub -u scott/tiger -sysuser sys/replace_on_install
-proxywsdl=http://demo.wsabi.org/axis/services/YahooUserPingService?wsdl
-endpoint=http://demo.wsabi.org/axis/services/YahooUserPingService
-dir=tmp
* run sqlplus as SCOTT:
SQL> select JPUB_PLSQL_WRAPPER.isUserOnLine('Test') from dual;
Because a lot of java packages were broken in my database i uninstalled and installed the whole java system before following the metalink instructions.
Egon -
Loading plsql_proxy.jar takes so long..never ends
Hello people,
I´m deploying a proxy cliente using command,
jpub -u SCOTT/SCOTT -sysuser SCOTT/SCOTT -proxywsdl=any_wsdl -endpoint=any
then the executing process stay in Load plsql_proxy.jar for a long time. it looks like never ends.
plsql_wrapper.sql
plsql_dropper.sql
plsql_grant.sql
plsql_revoke.sql
Executing plsql_dropper.sql
Executing plsql_wrapper.sql
loading sqlj/lib/dbwsclient.jar (about 5 minutes)...
Loading plsql_proxy.jar......................
the execution process looks like stopped at this here and doesn´t throw any exception.
I´ll be grateful the soon answer.
Rodius
anybody knows how long takes the proxy client generation process?I have this issue also, with images from my D70 (~6 megapixels) ... no solution, except that when it happens, quitting and re-launching Aperture seems to clear it up for a while, at least until it happens again.
Given that you have almost twice the RAM and four times the CPU cores that I have, I suspect this is a software issue, and not one of insufficient hardware resources. :-) -
How to load a Jar file in the class path?
How to load a Jar file which contains class files, images, etc.. in the classpath without using URLClassLoader.
You don't "load" jars. If it's on the classpath, you can obtain individual resources from it using various methods on either Class or ClassLoader. Do you mean "how to add a jar to the classpath at runtime"? Can't be done without using a classloader, typically URLClassLoader or a subclass thereof. Why you want to not use the proven method is beyond me. Presumably because you don't understand classloading. In which case, forget it.
-
Unable to load "ejb.jar" to database
Hi All,
I am trying to load ejb.jar to database by using the following syntax.
loadjava -verbose -force -resolve -oracleresolver -user <uname>/<password>@<server>:<port>:<sid> -t ejb.jar
But it is showing error :
ksh: loadjava : not found.
In the server when i type loadjava it is showing the options, means loadjava will work i think. Is there any configuration needs to change to load ejb.jar to database ?
Machine details :
AIX 64 Bit 5.3
DB : Oracle 11g 11.2.0.2.0
Appreciated your help in this.
Thanks,
PrakashPrakash wrote:
Hi,
I did the following
export PATH=$ORACLE_HOME/bin
Then
loadjava -verbose -force -resolve -oracleresolver -user <Uname>/<Pwd>@<Server>:<Port>:<Sid> -t ejb.jar
But still i m facing the same issue.
Even the .profile also we have defined : export PATH=$PATH:$ORACLE_HOME/bin/
Can you please point me what is missing in the above steps i followed.
Thanks,
Prakash
PLEASE use COPY & PASTE so we can see exactly what you do & response from OS/Oracle
what is "-t" arguement?
bcm@bcm-laptop:~$ loadjava
loadjava: Usage: loadjava [-definer] [-encoding encoding] [-force] [-genmissing] [-genmissingjar jar] [-grant grants] [-help] [-nousage] [-noverify] [-oci8] [-order] [-resolve] [-nativecompile] [-resolver resolver] [-schema schema] [-synonym] [-thin] [-tableschema schema] [-user user/password@database] [-verbose] [-edition edition] classes..jars..resources..properties...
bcm@bcm-laptop:~$ -
Loading all jars in a folder at runtime
Hi...
Suppose , i have a folder in which there are many jars which depends upon each others....
I need to load all the jars at one go ....
I am using below code
public URLClassLoader loaderNEW(String jarFileName) {
File file = new File("D:\\ESTED JAR\\");
String libDir="D:\\ESTED JAR\\";
try {
File dependencyDirectory = new File(libDir);
File[] files = dependencyDirectory.listFiles();
URL[] urls = new URL[20];
for (int i = 0; i < files.length; i++) {
if (files.getName().endsWith(".jar")) {
urls[i]=(files[i].toURL());
//urls.add(files[i].toURI().toURL());
// Convert File to a URL
// Create a new class loader with the directory
ClassLoader loader = new URLClassLoader(urls);
// Load in the class; Class.childclass should be located in
// the directory file:/c:/class/user/information
Class cls = loader.loadClass("user.informatin.Class");
} catch (MalformedURLException e) {
return loader;
its is giving error
Exception in thread "main" java.lang.NullPointerException
at sun.misc.URLClassPath$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.misc.URLClassPath.getLoader(Unknown Source)
at sun.misc.URLClassPath.getLoader(Unknown Source)
at sun.misc.URLClassPath.getResource(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at LoadClass.loaderNEW(LoadClass.java:33)
at LoadClass.main(LoadClass.java:10)
Please help me out......
Thanks in advanceUse code tags to post codes -- [code]CODE[/code] will display asCODEOr click the CODE button and paste your code between the {code} tags that appear.
} catch (MalformedURLException e) {
}Never swallow exceptions.
at LoadClass.loaderNEW(LoadClass.java:33)Something is null that shouldn't be at line 33 of LoadClass.java
Better go through some beginner tutorials before you play around with ClassLoaders and the like. Identifying the cause of a NullPointerException is much more fundamental than
Loading all jars in a folder at runtimedb -
Loading a jar via a custom classloader
Hi,
I have written a custom class loader that allows me to load a compiled java program as a collection of class files at runtime.
This is nice however I now need to consider the runtime execution of more complex java programs that have custom library dependencies.
This means loading a .jar library into the classloader. I can get the contents of a jar and load specific classes by name via reflection but I want to load the entire jar into the classloader so that its contents can be used 'as needed' much like a jar on the system classpath.
Is this possible? If so I would like to know how as I have been struggling with this problem and cannot see a solution.
Regards,
StephenHowever I still don't understand why you need to
actually load all those classes initially. Afterall,
URLClassLoader (which sounds a lot like what youare
describing) only loads classes as needed.i have just built a swing app that accesses an oracle
database, i jared together all the classes, and i did
something in the manfest file so that you can just
double clisk the jar and it fires up like an exe.
doing it this way everything is fine except it cannot
access the database, the reason is those oracle
classes are not loaded, even they are on the path - i
can run the app using a batch file but i dont like it
as it opens up a dos window. this is an example, as i
was told, where it is necessary to load all thoses
oracle database classes initially. Dear, daFei.
I believe that you are getting confused between the way the system will ignore that CLASPPATH environment variable when you run a java application packaged as a jar file with the -jar switch (the classpath for the jar can be set in the manifest) and what I am attempting to-do which is to run a compiled java program at runtime and dynamically load any dependant libraries.
Stephen -
Jinit not loading webutil jar files
Hello,
Our Application Server has had webutil installed on it for quiet some time now. I am implementing a custom Banner Form that requires webutil functionality. Well the form is all set, but the webutil portion does not function correctly. I have been working with the designers of this application and they recommended I make sure that my archive_jini and archive parameters be set in the file /u01/app/oracle/product/10gASforms/10.1.2/forms/server/formsweb.cfg as follows:
archive_jini=banicons.jar,bannerui.jar,banspecial.jar,banorep.jar,frmall_jinit.jar,gwucustom.jar,frmwebutil.jar,jacob.jar
archive=banicons.jar,bannerui.jar,banspecial.jar,banorep.jar,frmall.jar,gwucustom.jar,frmwebutil.jar,jacob.jar
so I set these up as requested. When I look at my Java Console I only see the following load:
banicons.jar, bannerui.jar, banspecial.jar, banorep.jar and frmall_jinit.jar
I do not see gwucustom.jar, frmwebutil or jacob.jar load.
Is there something I am missing? Do I have to restart the Application Server?
Thank you much in advance for any guidance anyone can provide!
-StanI actually corrected this issue myself.
In the formsweb.cfg file I added these properties under the default section.
There is a section called jinit_pprd (My Pre-Production test server, I added these values under there and the .jar files are now loading.
-Stan -
URLClassLoader + dynamically loading signed jar files
I have an applet that does not know all of the jar files it will need to load at startup.
I would like to dynamically load these signed jar files using the URLClassLoader, however it does not recognize these jar files as being signed and I get java.security.AccessControlException: access denied errors.
Any suggestions?
Thanks!Try this classloader for loading the jars, it should to the trick:
import java.net.URL;
import java.net.URLClassLoader;
import java.net.URLStreamHandlerFactory;
import java.security.AllPermission;
import java.security.CodeSource;
import java.security.PermissionCollection;
import java.security.Permissions;
public class AllPermissionsClassLoader extends URLClassLoader {
public AllPermissionsClassLoader (URL[] urls) {
super(urls);
public AllPermissionsClassLoader (URL[] urls, ClassLoader parent) {
super(urls, parent);
System.out.println(parent);
public AllPermissionsClassLoader (URL[] urls, ClassLoader parent, URLStreamHandlerFactory factory) {
super(urls, parent, factory);
protected PermissionCollection getPermissions (CodeSource codesource) {
Permissions permissions = new Permissions();
permissions.add(new AllPermission());
return permissions;
} -
Error while loading the jar file using loadjava
Hi,
I'm trying to load a jar file in to a database through the loadjava utility. First time when i loaded a jar file it created few public synonyms with /'s. like /5b3d7f97_BeanInfoIndexer.
Now i want to drop these synonyms before i reload the jar file with loadjava.
If i use DROP PUBLIC SYNONYM /5b3d7f97_BeanInfoIndexer; it gives the following error...
ERROR at line 1:
ORA-00933: SQL command not properly ended
I wonder how to drop these synonyms. I have to drop all these synonyms to freshly load the jar file.
Thanks
ShivaYou can include the synonym names in double quotes in the drop synonym command. But it is not a good idea to drop the synonyms(which have been created by loadjava) using drop synonym command. Instead, you can use dropjava command which will automatically drop all the synonyms created by the loadjava command.
-
Error while Loading Mail.jar in Database
Hi,
I am trying to load mail.jar in Oracle 8i Database(ver. 8.1.5.0.0). It is giving error insufficient previleges. Then I extracted mail.jar and tried to load class PasswordAuthentication of mail.jar in user scott. It gave me same error. But I could load the same class in user SYS.
Does it mean that, scott needs some special previleges for the classes in mail.jar. If so, How can I set those previleges ?
Thanking You.
Mrinal.
nullrdbms 8.1.5 had very tight restrictions on loading "system classes.
check the java doc for 8.1.5 on this.
check out the following
"protected packages" in the following
http://otn.oracle.com/doc/server.815/a64682/04jserve.htm#1001015
Protected Packages
You cannot replace system classes (those that CREATE JAVA SYSTEM installs, which you invoke with initjvm.sql at database initialization time). In addition, classes in any package (or sub-package) in which system classes reside, can be created only in the SYS schema. Protected packages include those starting with the patterns:
java
javax
oracle.aurora
oracle.jdbc
oracle.rdbms
oracle.sqlj
oracle.sqlnet
oracle.vm
oracle.weak
sun.tools
sun.misc
sun.net
com.visigenic.vbroker
com.sun.jndi
org.omg
sqlj
by the way 8.1.5 went out of support on dec 31, 2000. you need to consider moving to 8.1.7.
null -
Problem while loading a jar file into database
Hi All,
We are using Oracle 8.1.5 in Solaris. When I try to load a jar file into the database by using loadjava it gives the following error
Error while processing jar cryptix32.jar
Exception java.io.IOException: Load Java is unable to handle compressed entries: cryptix/provider/Cryptix.class
loadjava: 1 errors
Can anybody suggest anything to overcome this. Thanks in advance.<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by John Emmer ([email protected]):
I presume you've tried creating the jar w/o compressing it? If not, and even if you didn't create the jar, then first unpack the jar into a directory and re-jar it without using compression.<HR></BLOCKQUOTE>
Hi John,
Thanks for your help. I unpacked the jar and rhen re-jared it with -0 (uncompress ) option. The above error is gone. But I am getting another problem. I am getting the following error for all the classes except the property files.
Error while resolving class cryptix/cryptix/provider/cipher/Rijndael
ORA-04043: object cryptix/cryptix/provider/cipher/Rijndael does not exist
But the class is there in the jar. I am able to load single individual classes. Can anybody help me in this matter. Thanks in advance. -
Load plsql.jar file in Oracle 9i R2(9.2.0.1)
I am trying to use plsql query to send mail from Oracle. Before writing a procedure i came to know that plsql.jar should be executed with sys login.
But i am not finding plsql.jar in my server. I am using Oracle 9i (9.2.0.1). Can I download plsql.jar.
is there any other method
can any one help in this regard.
PrasantaHi
Can you please try those steps?
1. Initialize the Oracle JVM.
2. Load plsql.jar into the Oracle JVM.
Use the following command to load plsql.jar:
$> loadjava -resolve -user system/manager@sid
$ORACLE_HOME\plsql\jlib\plsql.jar
please let us know if this helps you
Thank -
Loading External JAR librarys in an applet
HI all,
I have an application that I would like to add an excell extention to. The extension is in the form of a JAR file, and I only want my applet to load this jar file when a menu item has ben clicked. I do not want the jar file to be loaded together with the rest of the application, because it is large, and unessisary for normal applet operation. Anyone have an idea how to do this?
Thanks in advance.
-perciousI don't think this is exactly what I am looking for.
I want something that only downloads the .jar file if
the user chooses an option in a menu. That way
normal users will not have to download unessesary
items. I believe indexing will select appropriate
classes from a jar file the first time the applet is
initialized.
-perciousOn the contrary, I believe it is what you want. This is from the first google hit on "jar indexing":
JAR indexing
If an application or applet is bundled into multiple JAR files, the class loader uses a simple linear search algorithm to search each element of the class path, which may entail the class loader downloading and opening many JAR files until the class or resource is found. If the class loader tries to find a nonexistent resource, all the JAR files within the application or applet will have to be downloaded. For large network applications and applets this could result in slow start up, sluggish response, and wasted network bandwidth.
[Since JDK 1.3, the JAR file format has supported indexing to optimize the process of searching for classes in network applications, especially applets. The JarIndex mechanism collects the contents of all the JAR files defined in an applet or application and stores the information in an index file in the first JAR file. [b]After the first JAR file is downloaded, the applet class loader will use the collected content information for efficient downloading of JAR files. This directory information is stored in a simple text file named INDEX.LIST in the META-INF directory of the root JAR file.
http://www-106.ibm.com/developerworks/library/j-jar/
Maybe you are looking for
-
Dear Gurus, Can anyone explain to me the different between interval 1 and interval 2 how should i maintain it. Currently we are using 16 period. Thanks. Jack
-
Adobe Bridge CC associates Ai files with Illustrator CS 5.5
Does anyone know how to get Bridge CC to open files in Illustrator CC and not trying to open them in Illustrator CS 5.5. I haven't got CS 5.5 so i get an error every time i try to open Ai files from Bridge CC. have tried the "File Type Association",
-
How do you create a pdf which is in a readable view, rather than having to rotate the document?
-
I cannot use the bottom part of my touch screen. It would not respond to any of the touches I make. Is the screen broken or have I stuffed up my settings? I want to be able to type on my iPhone
-
Umlauts are not working in faxes
Hello, I´m using a smartform to create a customer letter. Normally, I´m converting the output-otf to PDF and send it as attachement by email. But in one case, I have to send the smartform output-otf as fax. For that I have used the function "CONVERT_