Coredump loading xmlparser.jar
I'm trying to load the xmlparser.jar file in my Oracle 8i
database on AIX 4.2.1 and I have a coredump running loadjava.
Here is the output of the loadjava command (with -debug flag)
Do you have any idea of what is wrong ?
Thanks.
$ loadjava -resolve -verbose -user "scott/tiger" -debug
xmlparser.jar
DriverManager.initialize: jdbc.drivers = null
JDBC DriverManager initialized
registerDriver:
driver[className=oracle.jdbc.driver.OracleDriver,context=null,or
acle.jdbc.driver.OracleDriver@60063aa]
registerDriver:
driver[className=oracle.jdbc.driver.OracleDriver,context=null,or
acle.jdbc.driver.OracleDriver@60063ea]
DriverManager.getConnection("jdbc:oracle:oci8:@")
trying
driver[className=oracle.jdbc.driver.OracleDriver,context=null,ora
cle.
jdbc.driver.OracleDriver@60063aa]
DBAccess.logon
Segmentation fault(coredump)
null
Christophe Roux (guest) wrote:
: I'm trying to load the xmlparser.jar file in my Oracle 8i
: database on AIX 4.2.1 and I have a coredump running loadjava.
: Here is the output of the loadjava command (with -debug flag)
: Do you have any idea of what is wrong ?
: Thanks.
: $ loadjava -resolve -verbose -user "scott/tiger" -debug
: xmlparser.jar
: DriverManager.initialize: jdbc.drivers = null
: JDBC DriverManager initialized
: registerDriver:
: driver
[className=oracle.jdbc.driver.OracleDriver,context=null,or
: acle.jdbc.driver.OracleDriver@60063aa]
: registerDriver:
: driver
[className=oracle.jdbc.driver.OracleDriver,context=null,or
: acle.jdbc.driver.OracleDriver@60063ea]
: DriverManager.getConnection("jdbc:oracle:oci8:@")
: trying
: driver
[className=oracle.jdbc.driver.OracleDriver,context=null,ora
: cle.
: jdbc.driver.OracleDriver@60063aa]
: DBAccess.logon
: Segmentation fault(coredump)
It looks like you may have not properly initialized JServer for
you database instance. Try re-initializing it. Also, is there a
reason you are using v1 of our parser instead of v2?
Oracle XML Team
http://technet.oracle.com
Oracle Technology Network
null
Similar Messages
-
Error Loading xmlparserv2.jar
Platform: NT4 SP5
Database: 8.1.6
When loading xmlparserv2.jar via loadjava, I'm getting an ORA-01401: inserted value too large for column.
Command:
loadjava -user eclipse/eclipse@bugs -r -v xmlparserv2.jar
Errors:
loading : oracle/xml/parser/v2/mesg/XMLErrorMesg_zh_CN.properties
creating : oracle/xml/parser/v2/mesg/XMLErrorMesg_zh_CN.properties
Error while creating resource oracle/xml/parser/v2/mesg/XMLErrorMesg_zh_CN.prope
rties
ORA-00604: error occurred at recursive SQL level 1
ORA-01401: inserted value too large for column
ORA-06512: at line 2
loading : oracle/xml/parser/v2/mesg/XMLErrorMesg_cs_CZ.properties
creating : oracle/xml/parser/v2/mesg/XMLErrorMesg_cs_CZ.properties
Error while creating resource oracle/xml/parser/v2/mesg/XMLErrorMesg_cs_CZ.prope
rties
ORA-00604: error occurred at recursive SQL level 1
ORA-01401: inserted value too large for column
ORA-06512: at line 2
I just manually upgraded to 8.1.6 from an 8.1.5 database. I also ran jvmu815.sql to upgrade the JVM.
I noticed that there is a patch out for 8.1.6, would this be helpful to install?
Thanks.
nullChristine,
I apologize for the delay.
I verified that the system is OK so I believe that the solution is a good work around.
1.) Export the schema that you want to utilize the XML Parser and all the schema constraints, procedures, etc.
2.) Drop the user/schema and cascade all of the user's objects.
3.) Recreate the user with the same priveledges and with the same default and temp storage locations.
4.) Load the xmlparserv2.jar and the xmlplsql.jar files with loadjava as the user you just recreated.
5.) Run the sql script to create the java packages as the same user.
6.) Now, import the schema that you exported in step 1.
7.) After the import, I had to recompile three xml package bodies. They were: XMLDOM, XMLPARSER and XMLPROCESSOR. Check them to see if they are invalid in your user's shema.
Good luck,
Eric -
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 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. :-) -
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/ -
Loading Exception.jar from NERP
Hi everyone,
I am getting XI started on my sytem first time but i have had some problems.
After i try to start Integration repository , Java webstart is starting and immediately i get this message
it says " Loading Exception.jar from NERP".
Read 53k of 11.6M.
Any suggestions ,
Thanks
DeepthiHey everyone,
I have resolved this on my own.
I have cleared the IE cache and connected to it through LAN.
Thank you
Deepthi
Maybe you are looking for
-
I bought Adobe Premier Elements 7 with a new Dell XPS Studio with MS Vista, 12 GB RAM, 1 TB of disk space, and 1GB of video RAM. It came pre-installed. PE7 barely runs. Most times, I do not get to the "Share" phase because PE7 says there is an unexpe
-
Any suggestions as to how to fix? I uninstalled and then re-installed with no success Running Windows 7 Pro Thanks
-
Hello, I am having an issue with Lightroom 4 that only began after I installed Photoshop CC. Every night I clone my iMac to a bootable backup drive. With Photoshop CS6 I had no problems with this. Now, whenever I choose "Edit in Photoshop CC" from
-
ICal to iPod Classic 80gig sync problem
Hi, just bought myself an iPod and wanted to sync my iCal (wich I just created for the first time) with my iPod. The problem is, that when I go to iTunes and check the box that says "Sync iCal calendars" it gives a message that says there aren't any
-
Segment mising in IDOC for outbound with status 3
Hi , Segment mising for IDOC for outbound and IDOC status in 03 . What could be the possible reason for segment missing ? Edited by: Raghavendra Balegar on Jan 11, 2010 8:26 AM