Using XSLProcessor in $ORACLE_HOME/lib/xmlparserv2.jar giving error in 10g
Being absolutely frustrated with the generic FOTY 001 fault for any mapping failure I tried looking for different solution in web.I did actually find out some interesting soutions which is to use XSLProcessor class $ORACLE_HOME/lib/xmlparserv2.jar for parsing XML to a partcular XSLT file.It is giving me the actual error with the proper line number for simple XSLT files.But when I try to use one of the PIP transformations it is still throwing errors for aia and xpath functions.For aia:getServiceProperty it can find out the proper attribute from AIAConfigurationProperties.xml and for xref:lookupXREF it is giving class initializer error.I have added both the jar aia.jar and bpm-services.jar to do that.I have also tried to use oraxsl command line utility which comes with oracle xdk but no luck there also.
In case anyone have been able to use them succesfully please help me out.
Thanks
Animesh Roy
[email protected]
you have to do the migration one time. Better now than in the future. One day a forms patch will say: Graphics is now obsolete, please migrate.
To run a 6i graphics service on a 10g platform is (please believe me) the badest way to run your old graphics in the new world.
its like toothache. you can eliminate them through eating 10 aspirins each day. But you know, that you have to go one day to the dentist...
Similar Messages
-
OIM 11g Using exportMetaData.sh to export the jar files error
Env OIM 11g (11.1.1.5.0) with iPlanet Connector installed on Linux 32-bit.
When running the exportMetaData.sh with the filter for configuration for the Jars files as “*”.
The error output is:
/home/oracle/exportData/exportPackage/Jars/JavaTasks/SJSDSProv.jar
java.io.FileNotFoundException: /home/oracle/exportData/exportPackage/Jars/JavaTasks/SJSDSProv.jar (No such file or directory)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
at oracle.iam.OIMMigration.util.OIMMigrationUtility.main(OIMMigrationUtility.java:206)
java.util.zip.ZipException: ZIP file must have at least one entry
at java.util.zip.ZipOutputStream.finish(ZipOutputStream.java:304)
at java.util.zip.DeflaterOutputStream.close(DeflaterOutputStream.java:146)
at java.util.zip.ZipOutputStream.close(ZipOutputStream.java:321)
at oracle.iam.OIMMigration.util.OIMMigrationUtility.createZipFile(OIMMigrationUtility.java:429)
at oracle.iam.OIMMigration.util.OIMMigrationUtility.main(OIMMigrationUtility.java:242)
Export Package created : /home/oracle/exportData/exportPackage_2012:03:26::11:22:04.zip
Exiting...
The config.xml file used is (as provided in the document)
<?xml version="1.0" encoding="utf-8"?>
<MigrationDetails operation="Export">
<entityDetails>
<EntityType>Jars</EntityType>
<FilteringCriteria>
<Attribute>
<Name>Jar_Type</Name>
<Filter>*</Filter>
</Attribute>
</FilteringCriteria>
</entityDetails>
<entityDetails>
<EntityType>Plugins</EntityType>
<FilteringCriteria>
<Attribute>
<Name>Plugin_Name</Name>
<Filter>*</Filter>
</Attribute>
</FilteringCriteria>
</entityDetails>
<entityDetails>
<EntityType>CustomResourceBundles</EntityType>
<FilteringCriteria>
<Attribute>
<Name>Resource_Type</Name>
<Filter>*</Filter>
</Attribute>
</FilteringCriteria>
</entityDetails>
</MigrationDetails>
The exportMetaData.sh is correctly configured and those directories exist on the system.
CONTEXT_FACTORY="weblogic.jndi.WLInitialContextFactory"
PACKAGE_LOCATION=/home/oracle/exportData
TEMP_LOCATION_TO_EXTRACT=/home/oracle/exportTemp
CONFIGURATION_FILE=/odrive/oracle/oim11g_MWH/Oracle_IDM1/server/bin/config.xml
MODE="export"
Any help to resolve this issue would be much appreciated.
Regards,
ShaneHi Shane,
The problem appears to be an issue where the directory created is called "JavaTask" but the jars are trying to be placed into "JavaTasks".
Note the "s" appended at the end.
If you manually create the JavaTasks directory then run the tool, it should work. -
Report giving error after 10g upgrade
We have a custom report which is erroring out after 10g upgrade. Following is the log file-->
**Starts**24-APR-2009 04:11:21
ORACLE error 3113 in FDPSTP
Cause: FDPSTP failed due to ORA-03113: end-of-file on communication channel
The SQL statement being executed at the time of the error was: SELECT R.Conc_Login_Id, R.Request_Id, R.Phase_Code, R.Status_Code, P
APP-FND-01564: ORACLE error 1000 in AFPGRG
Cause: AFPGRG failed due to ORA-01000: maximum open cursors exceeded.
The SQL statement being executed at the time of the error was: &SQLSTMT and was executed from the file &ERRFILE.
Start of log messages from FND_FILE
End of log messages from FND_FILE
ORACLE error 3114 in AFPRSR-Resubmit_Time
Cause: AFPRSR-Resubmit_Time failed due to ORA-03114: not connected to ORACLE
The SQL statement being executed at the time of the error was: SELECT R.Conc_Login_Id, R.Request_Id, R.Phase_Code, R
SELECT R.Conc_Login_Id, R.Request_Id, R.Phase_Code, R.Status_Code, P.A
Routine AFPPRD has encountered a fatal error. ORA-03114: not connected to ORACLE
Contact your system administrator or support representative.
Shutting down Concurrent Manager : 24-APR-2009 04:11:51
ORA-01041: internal error. hostdef extension doesn't exist
ORACLE error 3114 in AFPRSR-Resubmit_Time
Cause: AFPRSR-Resubmit_Time failed due to ORA-03114: not connected to ORACLE
The SQL statement being executed at the time of the error was: SELECT R.Conc_Login_Id, R.Request_Id, R.Phase_Code, R
List of errors encountered:
_ 1 _
Routine AFPCMT encountered an ORACLE error. ORA-01041: internal error.
hostdef extension doesn't exist
Review your error messages for the cause of the error. (=<POINTER>)
_ 2 _
Routine AFPPRD has encountered a fatal error. ORA-03114: not connected
to ORACLE
Contact your system administrator or support representative.
_ 3 _
Routine AFPPRD has encountered a fatal error. ORA-03114: not connected
to ORACLE
Contact your system administrator or support representative.
However the alert log has following-->
Errors in file /u07/fatstdb/10g/admin/FATST_fatstdb/udump/fatst_ora_10468.trc:
ORA-07445: exception encountered: core dump [qercoStart()+156] [SIGSEGV] [Address not mapped to object] [0x00000087D] [] []
I already increased the cursors from 700 to 900
How to fix it?Hi,
However the alert log has following-->
Errors in file /u07/fatstdb/10g/admin/FATST_fatstdb/udump/fatst_ora_10468.trc:
ORA-07445: exception encountered: core dump [qercoStart()+156] [SIGSEGV] [Address not mapped to object] [0x00000087D] [] []Refer to the lookup to get more details about this error.
Note: 153788.1 - Troubleshoot an ORA-600 or ORA-7445 Error Using the Error Lookup Tool
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=153788.1
I already increased the cursors from 700 to 900
How to fix it?Is it possible to increase OPEN_CURSORS to a higher value? Enable trace on this concurrent program, and see if this collects more details about the error.
Regards,
Hussein -
Hi
in the new jdev 11g r1 I get this exception
java.io.FileNotFoundException: \ade\aime_xdk_407339\oracle\xdk\lib\xmlparserv2.jar
in debugging a ws proxy client . when I run it normally it works perfectly .
the old 11g jdev does it also fine
thanks EdwinHi,
I have the exact same problem!!!
Kind regards
Tage -
I am trying to use ncomp to load a simple java class to
oracle 8.1.7.4.0 on AIX 5.1 Java 1.3 platform
However I got the following error, what am I missing here? What kind of permissions are needed? And, how
to grant these permissions?
HelloWorld.java
public class HelloWorld
public static String say()
return (String)"Hello, world!";
javac HelloWorld.java
jar cvf HelloWorld.jar HelloWorld.class
aix>ncomp -u <user>/<password> HelloWorld.jar
initialization complete
loading : oracle/jaccelerator/server/SQL
creating : oracle/jaccelerator/server/SQL
loading : oracle/jaccelerator/server/ForEachClass
creating : oracle/jaccelerator/server/ForEachClass
loading : oracle/jaccelerator/server/ClassProcessor
creating : oracle/jaccelerator/server/ClassProcessor
loading : oracle/jaccelerator/server/PackageDisableNcomp
creating : oracle/jaccelerator/server/PackageDisableNcomp
loading : oracle/jaccelerator/server/PackageValidateAll
creating : oracle/jaccelerator/server/PackageValidateAll
loading : oracle/jaccelerator/server/ClassProperties
creating : oracle/jaccelerator/server/ClassProperties
loading : oracle/jaccelerator/server/Dumper
creating : oracle/jaccelerator/server/Dumper
loading : oracle/jaccelerator/server/TransitiveClosureDumper
creating : oracle/jaccelerator/server/TransitiveClosureDumper
loading : oracle/jaccelerator/server/MinimizeNcompListAndDumpTC
creating : oracle/jaccelerator/server/MinimizeNcompListAndDumpTC
loading : oracle/jaccelerator/server/Installer
creating : oracle/jaccelerator/server/Installer
loading : oracle/jaccelerator/server/HelloWorld_minimalClassListAndTCDumper
creating : oracle/jaccelerator/server/HelloWorld_minimalClassListAndTCDumper
resolver :
resolving: oracle/jaccelerator/server/SQL
resolving: oracle/jaccelerator/server/ForEachClass
skipping : oracle/jaccelerator/server/ClassProcessor is already resolved
skipping : oracle/jaccelerator/server/PackageDisableNcomp is already resolved
skipping : oracle/jaccelerator/server/PackageValidateAll is already resolved
resolving: oracle/jaccelerator/server/ClassProperties
resolving: oracle/jaccelerator/server/Dumper
resolving: oracle/jaccelerator/server/TransitiveClosureDumper
resolving: oracle/jaccelerator/server/MinimizeNcompListAndDumpTC
skipping : oracle/jaccelerator/server/Installer is already resolved
resolving: oracle/jaccelerator/server/HelloWorld_minimalClassListAndTCDumper
# this list is produced by query
# select status, class_name from jaccelerator$status;
NEED_NCOMPING HelloWorld
ld: 0706-005 Cannot find or open file: /export/home/colddba/lokm/oracle/aurora/d
eploy/opt/HelloWorld.o
ld:open(): A file or directory in the path name does not exist.
ld: 0706-003 Cannot find or read import file: /oracle/OraHome1/lib/oracle.exp
ld:accessx(): A file or directory in the path name does not exist.
oracle/aurora/deploy/libjox8_f84532c0b7_voi_admin_UnnamedPackage.so : no such fi
le or directory
initialization complete
identical: oracle/jaccelerator/server/ClassProperties is unchanged from previous
ly loaded file
scheduling: oracle/aurora/deploy/UnnamedPackage_Installer
loading : oracle/aurora/deploy/UnnamedPackage_Installer
creating : oracle/aurora/deploy/UnnamedPackage_Installer
Error while creating class oracle/aurora/deploy/UnnamedPackage_Installer
ORA-29545: badly formed class: User has attempted to load a class (oracle.au
rora.deploy.UnnamedPackage_Installer) into a restricted package. Permission can
be granted using dbms_java.grant_permission(<user>, LoadClassInPackage...
identical: oracle/jaccelerator/server/PackageValidateAll is unchanged from previ
ously loaded file
identical: oracle/jaccelerator/server/ForEachClass is unchanged from previously
loaded file
identical: oracle/jaccelerator/server/Dumper is unchanged from previously loaded
file
identical: oracle/jaccelerator/server/PackageDisableNcomp is unchanged from prev
iously loaded file
identical: oracle/jaccelerator/server/ClassProcessor is unchanged from previousl
y loaded file
identical: oracle/jaccelerator/server/Installer is unchanged from previously loa
ded file
identical: oracle/jaccelerator/server/SQL is unchanged from previously loaded fi
le
loading : META-INF/MANIFEST.MF
creating : META-INF/MANIFEST.MF
resolver :
resolving: oracle/aurora/deploy/UnnamedPackage_Installer
Error while resolving class oracle/aurora/deploy/UnnamedPackage_Installer
ORA-04043: object /294c5707_UnnamedPackage_Insta does not exist
skipping : oracle/jaccelerator/server/ClassProperties is already resolved
skipping : oracle/jaccelerator/server/PackageValidateAll is already resolved
skipping : oracle/jaccelerator/server/ForEachClass is already resolved
skipping : oracle/jaccelerator/server/Dumper is already resolved
skipping : oracle/jaccelerator/server/PackageDisableNcomp is already resolved
skipping : oracle/jaccelerator/server/ClassProcessor is already resolved
skipping : oracle/jaccelerator/server/Installer is already resolved
skipping : oracle/jaccelerator/server/SQL is already resolved
invoking : oracle/aurora/deploy/UnnamedPackage_Installer
Error while invoking class oracle/aurora/deploy/UnnamedPackage_Installer
ORA-29532: Java call terminated by uncaught Java exception: java.security.Ac
cessControlException: the Permission (oracle.aurora.security.JServerPermission D
eploy ) has not been granted by dbms_java.grant_permission to SchemaProtectionDo
main(VOI_ADMIN|PolicyTableProxy(VOI_ADMIN))
ORA-06512: at "SYS.DBMS_JAVA", line 0
ORA-06512: at line 1
loadjava: 3 errors
# Deployment History, produced by query:
# select timestamp, status, dll_name from jaccelerator$dlls order by dll_name
aix>cd /home/<user>/work/Oracle/Java/StoredProcedures/Simple/NCOMP
Mon Oct 13 16:28:59 EDT 2003
/usr/java14/bin/java -DJA_HOME=/oracle/product/817/javavm/jahome -DORACLE_HOME=/oracle/product/817 -DJA_LIBS_HOME=/oracle/product/817 -DJAVA_HOME=/usr/java14 -DJAVA_HOME_CLASSPATH=/usr/java14/jre/lib/rt.jar:/usr/java14/lib/tools.jar:/usr/java14/lib/classes.zip:/usr/java14/jre/lib/rt.jar:/usr/java14/lib/tools.jar:/oracle/product/817/jis/lib/servlet.jar:/oracle/product/817/sqlj/lib/runtime12.zip:/oracle/product/817/jdbc/lib/classes12.zip:/oracle/product/817/jsp/lib/ojsp.jar:/oracle/product/817/jsp/lib/ojsputil.jar:.:/usr/mqm/java/lib/com.ibm.mq.jar:/usr/mqm/java/lib/com.ibm.mqjms.jar:/usr/mqm/java/lib/connector.jar:/usr/mqm/java/lib/jms.jar:/usr/mqm/java/lib/jndi.jar:/usr/mqm/java/lib/jta.jar:/usr/mqm/java:.:/oracle/product/817/lib/xmlparserv2.jar -classpath /oracle/product/817/javavm/jahome:/oracle/product/817/javavm/lib/jaccelerator.zip:/oracle/product/817/javavm/lib/ncomp.zip:/usr/java14/jre/lib/rt.jar:/usr/java14/lib/tools.jar:/usr/java14/lib/classes.zip:/usr/java14/jre/lib/rt.jar:/usr/java14/lib/tools.jar:/oracle/product/817/jis/lib/servlet.jar:/oracle/product/817/sqlj/lib/runtime12.zip:/oracle/product/817/jdbc/lib/classes12.zip:/oracle/product/817/jsp/lib/ojsp.jar:/oracle/product/817/jsp/lib/ojsputil.jar:.:/usr/mqm/java/lib/com.ibm.mq.jar:/usr/mqm/java/lib/com.ibm.mqjms.jar:/usr/mqm/java/lib/connector.jar:/usr/mqm/java/lib/jms.jar:/usr/mqm/java/lib/jndi.jar:/usr/mqm/java/lib/jta.jar:/usr/mqm/java:.:/oracle/product/817/lib/xmlparserv2.jar oracle.jaccelerator.Ncomp -u <user>/<password>@sandbox -verbose HelloWorld.classes
-- invocation: make.sh -DSCHEMA=<user> -DPASSWORD=<password> -Dloadjava.opt.database.suffix=@sandbox -Dsource.server=sandbox -DJA_VERBOSE=-verbose -Dproject.user.and.password=-user <user>/<password>@sandbox misc.clean HelloWorld.classes.increment -f Makefile -DPASSWORD=<password> -Dloadjava.opt.database.suffix=@sandbox -Dsource.server=sandbox -DJA_VERBOSE=-verbose -Dtarget.server=sandbox do-all HelloWorld_depl.jar.createDeploymentJar HelloWorld_depl.deploy HelloWorld_depl.install
rm -f
rm -f
rm -f
rm -f
rm -f
rm -f
rm -rf classes
rm -f class_attributes.txt
/usr/java14/bin/java -classpath .:/oracle/product/817/javavm/jahome:/oracle/product/817/javavm/lib/jaccelerator.zip:/oracle/product/817/javavm/lib/aurora_ncomp_gen.zip:/oracle/product/817/javavm/lib/ncomp.zip:/oracle/product/817/jdbc/lib/classes111.zip:/oracle/product/817/sqlj/lib/translator.zip:/usr/java14/jre/lib/rt.jar:/usr/java14/lib/tools.jar:/usr/java14/lib/classes.zip:/usr/java14/jre/lib/rt.jar:/usr/java14/lib/tools.jar:/oracle/product/817/jis/lib/servlet.jar:/oracle/product/817/sqlj/lib/runtime12.zip:/oracle/product/817/jdbc/lib/classes12.zip:/oracle/product/817/jsp/lib/ojsp.jar:/oracle/product/817/jsp/lib/ojsputil.jar:.:/usr/mqm/java/lib/com.ibm.mq.jar:/usr/mqm/java/lib/com.ibm.mqjms.jar:/usr/mqm/java/lib/connector.jar:/usr/mqm/java/lib/jms.jar:/usr/mqm/java/lib/jndi.jar:/usr/mqm/java/lib/jta.jar:/usr/mqm/java:.:/oracle/product/817/lib/xmlparserv2.jar oracle.jaccelerator.ClassListLoaderGenerator -DLLExtension so -libPrefix lib -projectSpec HelloWorld_minimalClassListAndTCDumper -user <user>/<password>@sandbox HelloWorld.classes
-- dumper: HelloWorld_minimalClassListAndTCDumper.java
loadjava -verbose -v -oci8 -resolve -user <user>/<password>@sandbox /oracle/product/817/javavm/jahome/SQL.java /oracle/product/817/javavm/jahome/ForEachClass.java /oracle/product/817/javavm/jahome/ClassProcessor.java /oracle/product/817/javavm/jahome/PackageDisableNcomp.java /oracle/product/817/javavm/jahome/PackageValidateAll.java /oracle/product/817/javavm/jahome/ClassProperties.java /oracle/product/817/javavm/jahome/Dumper.java /oracle/product/817/javavm/jahome/TransitiveClosureDumper.java /oracle/product/817/javavm/jahome/MinimizeNcompListAndDumpTC.java /oracle/product/817/javavm/jahome/Installer.java HelloWorld_minimalClassListAndTCDumper.java
initialization complete
loading : oracle/jaccelerator/server/SQL
creating : oracle/jaccelerator/server/SQL
loading : oracle/jaccelerator/server/ForEachClass
creating : oracle/jaccelerator/server/ForEachClass
loading : oracle/jaccelerator/server/ClassProcessor
creating : oracle/jaccelerator/server/ClassProcessor
loading : oracle/jaccelerator/server/PackageDisableNcomp
creating : oracle/jaccelerator/server/PackageDisableNcomp
loading : oracle/jaccelerator/server/PackageValidateAll
creating : oracle/jaccelerator/server/PackageValidateAll
loading : oracle/jaccelerator/server/ClassProperties
creating : oracle/jaccelerator/server/ClassProperties
loading : oracle/jaccelerator/server/Dumper
creating : oracle/jaccelerator/server/Dumper
identical: oracle/jaccelerator/server/TransitiveClosureDumper is unchanged from previously loaded file
identical: oracle/jaccelerator/server/MinimizeNcompListAndDumpTC is unchanged from previously loaded file
loading : oracle/jaccelerator/server/Installer
creating : oracle/jaccelerator/server/Installer
loading : oracle/jaccelerator/server/HelloWorld_minimalClassListAndTCDumper
creating : oracle/jaccelerator/server/HelloWorld_minimalClassListAndTCDumper
resolver :
resolving: oracle/jaccelerator/server/SQL
resolving: oracle/jaccelerator/server/ForEachClass
skipping : oracle/jaccelerator/server/ClassProcessor is already resolved
skipping : oracle/jaccelerator/server/PackageDisableNcomp is already resolved
skipping : oracle/jaccelerator/server/PackageValidateAll is already resolved
resolving: oracle/jaccelerator/server/ClassProperties
resolving: oracle/jaccelerator/server/Dumper
skipping : oracle/jaccelerator/server/TransitiveClosureDumper is already resolved
skipping : oracle/jaccelerator/server/MinimizeNcompListAndDumpTC is already resolved
resolving: oracle/jaccelerator/server/Installer
resolving: oracle/jaccelerator/server/HelloWorld_minimalClassListAndTCDumper
/usr/java14/bin/java -classpath .:/oracle/product/817/javavm/jahome:/oracle/product/817/javavm/lib/jaccelerator.zip:/oracle/product/817/javavm/lib/aurora_ncomp_gen.zip:/oracle/product/817/javavm/lib/ncomp.zip:/oracle/product/817/jdbc/lib/classes111.zip:/oracle/product/817/sqlj/lib/translator.zip:/usr/java14/jre/lib/rt.jar:/usr/java14/lib/tools.jar:/usr/java14/lib/classes.zip:/usr/java14/jre/lib/rt.jar:/usr/java14/lib/tools.jar:/oracle/product/817/jis/lib/servlet.jar:/oracle/product/817/sqlj/lib/runtime12.zip:/oracle/product/817/jdbc/lib/classes12.zip:/oracle/product/817/jsp/lib/ojsp.jar:/oracle/product/817/jsp/lib/ojsputil.jar:.:/usr/mqm/java/lib/com.ibm.mq.jar:/usr/mqm/java/lib/com.ibm.mqjms.jar:/usr/mqm/java/lib/connector.jar:/usr/mqm/java/lib/jms.jar:/usr/mqm/java/lib/jndi.jar:/usr/mqm/java/lib/jta.jar:/usr/mqm/java:.:/oracle/product/817/lib/xmlparserv2.jar oracle.jaccelerator.client.FindClassesToNcomp jdbc:oracle:oci8:@sandbox <user> <password> HelloWorld_minimalClassListAndTCDumper increment
-- conn: oracle.jdbc.driver.OracleConnection@5dcb0d31
-- create or replace function jaccelerator___find_class_list (b blob) return VARCHAR2 as language java name 'oracle.jaccelerator.server.HelloWorld_minimalClassListAndTCDumper.increment(oracle.sql.BLOB) return java.lang.String';
-- create or replace function jaccelerator_find_class_list return blob as myb blob; res varchar2(100); begin dbms_lob.createtemporary(myb, TRUE, DBMS_LOB.SESSION); res := jaccelerator___find_class_list(myb); return myb; end;
-- { ? = call jaccelerator_find_class_list() }
-- Minimal ncomp class list computation took 2480 msec
-- Minimal ncomp class list transport and dump took 28 msec
# this list is produced by query
# select status, class_name from jaccelerator$status;
NEED_NCOMPING HelloWorld
/usr/java14/bin/java -classpath .:/oracle/product/817/javavm/jahome:/oracle/product/817/javavm/lib/jaccelerator.zip:/oracle/product/817/javavm/lib/aurora_ncomp_gen.zip:/oracle/product/817/javavm/lib/ncomp.zip:/oracle/product/817/jdbc/lib/classes111.zip:/oracle/product/817/sqlj/lib/translator.zip:/usr/java14/jre/lib/rt.jar:/usr/java14/lib/tools.jar:/usr/java14/lib/classes.zip:/usr/java14/jre/lib/rt.jar:/usr/java14/lib/tools.jar:/oracle/product/817/jis/lib/servlet.jar:/oracle/product/817/sqlj/lib/runtime12.zip:/oracle/product/817/jdbc/lib/classes12.zip:/oracle/product/817/jsp/lib/ojsp.jar:/oracle/product/817/jsp/lib/ojsputil.jar:.:/usr/mqm/java/lib/com.ibm.mq.jar:/usr/mqm/java/lib/com.ibm.mqjms.jar:/usr/mqm/java/lib/connector.jar:/usr/mqm/java/lib/jms.jar:/usr/mqm/java/lib/jndi.jar:/usr/mqm/java/lib/jta.jar:/usr/mqm/java:.:/oracle/product/817/lib/xmlparserv2.jar oracle.jaccelerator.MakefileMaker -objFileExtension o -libPath oracle/aurora/deploy/ -buildDirName opt -DLLExtension so -libPrefix lib -projectSpec HelloWorld -user <user>/<password>@sandbox -closurePrecomputed exact_class_list.txt
-- root: HelloWorld
# generating source list macro
# generating objlist macros
# generating Class Init Tables Emitter
# generating per-package module files
# generating entry point files
# generating object file list files
# generating object list macros
# generating module targets
# generating list of translation targets
# generating link DLL targets
cp exact_class_list.txt class_attributes.txt
/usr/java14/bin/java -classpath .:/oracle/product/817/javavm/jahome:/oracle/product/817/javavm/lib/jaccelerator.zip:/oracle/product/817/javavm/lib/aurora_ncomp_gen.zip:/oracle/product/817/javavm/lib/ncomp.zip:/oracle/product/817/jdbc/lib/classes111.zip:/oracle/product/817/sqlj/lib/translator.zip:/usr/java14/jre/lib/rt.jar:/usr/java14/lib/tools.jar:/usr/java14/lib/classes.zip:/usr/java14/jre/lib/rt.jar:/usr/java14/lib/tools.jar:/oracle/product/817/jis/lib/servlet.jar:/oracle/product/817/sqlj/lib/runtime12.zip:/oracle/product/817/jdbc/lib/classes12.zip:/oracle/product/817/jsp/lib/ojsp.jar:/oracle/product/817/jsp/lib/ojsputil.jar:.:/usr/mqm/java/lib/com.ibm.mq.jar:/usr/mqm/java/lib/com.ibm.mqjms.jar:/usr/mqm/java/lib/connector.jar:/usr/mqm/java/lib/jms.jar:/usr/mqm/java/lib/jndi.jar:/usr/mqm/java/lib/jta.jar:/usr/mqm/java:.:/oracle/product/817/lib/xmlparserv2.jar oracle.jaccelerator.client.jvmc.Main -classpath /home/<user>/work/Oracle/Java/StoredProcedures/Simple/NCOMP/classes -oci8 -user <user> -password <password>@sandbox -emitStructs -notree -finalIsSpecial -maintainStack -reuseHeaders -fragile -monolithic -vtbls -timestamp f8372392c0 -emitFragileSet -module UnnamedPackage.cfg
-- connString: jdbc:oracle:oci8:@sandbox
-- create or replace function jaccelerator_get_class_bits (n varchar2, s varchar2) return blob as myb blob; begin dbms_lob.createtemporary(myb, TRUE, DBMS_LOB.SESSION); dbms_java.export_class(n, s, myb); return myb; end;
-- create or replace function jaccelerator_get_class_digest (n varchar2, s varchar2) return varchar2 as language java name 'oracle.jaccelerator.server.ClassProperties.digest(java.lang.String, java.lang.String) return java.lang.String';
-- createWrapperFunctions commit
-- select jaccelerator_get_class_bits('HelloWorld', '<USER>'), jaccelerator_get_class_digest('HelloWorld', '<USER>') from dual
-- digest: d295c10271c2dbf70a5256de24f5ec1a
-- DownloadClass.doit commit
error: error message 'class.format' not found
TranslationEnvironment: can not load HelloWorld
binary class definition not found: HelloWorld
java.lang.Error: Can not load class
at oracle.aurora.ncomp.jvmc.Translator.collectDefinitions(Translator.java:284)
at oracle.aurora.ncomp.jasper.BatchClassProcessor.processTasks(BatchClassProcessor.java:52)
at oracle.aurora.ncomp.jasper.binary.BinaryBatchClassProcessor.processTasks(BinaryBatchClassProcessor.java:57)
at oracle.aurora.ncomp.jvmc.Translator.processTasks(Translator.java:145)
at oracle.aurora.ncomp.javadoc.Driver.run(Driver.java:186)
at oracle.aurora.ncomp.jvmc.Translator.translate(Translator.java:86)
at oracle.jaccelerator.client.jvmc.Main.main(Main.java:31)
error: An error has occurred in the compiler. Please contact tech support.
-- transported 1 classes in 367 msecs
2 errors
/usr/java14/bin/java -classpath .:/oracle/product/817/javavm/jahome:/oracle/product/817/javavm/lib/jaccelerator.zip:/oracle/product/817/javavm/lib/aurora_ncomp_gen.zip:/oracle/product/817/javavm/lib/ncomp.zip:/oracle/product/817/jdbc/lib/classes111.zip:/oracle/product/817/sqlj/lib/translator.zip:/usr/java14/jre/lib/rt.jar:/usr/java14/lib/tools.jar:/usr/java14/lib/classes.zip:/usr/java14/jre/lib/rt.jar:/usr/java14/lib/tools.jar:/oracle/product/817/jis/lib/servlet.jar:/oracle/product/817/sqlj/lib/runtime12.zip:/oracle/product/817/jdbc/lib/classes12.zip:/oracle/product/817/jsp/lib/ojsp.jar:/oracle/product/817/jsp/lib/ojsputil.jar:.:/usr/mqm/java/lib/com.ibm.mq.jar:/usr/mqm/java/lib/com.ibm.mqjms.jar:/usr/mqm/java/lib/connector.jar:/usr/mqm/java/lib/jms.jar:/usr/mqm/java/lib/jndi.jar:/usr/mqm/java/lib/jta.jar:/usr/mqm/java:.:/oracle/product/817/lib/xmlparserv2.jar oracle.jaccelerator.InstallerMaker -libPath oracle/aurora/deploy/ -DLLExtension so -libPrefix lib -schema <user> -allClasses /home/<user>/work/Oracle/Java/StoredProcedures/Simple/NCOMP/class_attributes.txt -fragileSet fragile-set.lst -timestamp f8372392c0 UnnamedPackage.cfg
java.lang.Error: error during reading fragile-set.lst: java.io.FileNotFoundException: fragile-set.lst (A file or directory in the path name does not exist.)
at oracle.jaccelerator.InstallerMaker.computeFragileSet(InstallerMaker.java:520)
at oracle.jaccelerator.InstallerMaker.getFragileSet(InstallerMaker.java:493)
at oracle.jaccelerator.InstallerMaker.computeClassAttributes(InstallerMaker.java:462)
at oracle.jaccelerator.InstallerMaker.getClassAttributes(InstallerMaker.java:433)
at oracle.jaccelerator.InstallerMaker.emitInstaller(InstallerMaker.java:96)
at oracle.jaccelerator.InstallerMaker.run(InstallerMaker.java:78)
at oracle.jaccelerator.InstallerMaker.main(InstallerMaker.java:43)
error: An error has occurred in the compiler. Please contact tech support.
1 error
touch UnnamedPackage.log
/usr/vac/bin/xlc HelloWorld.c -o /home/<user>/work/Oracle/Java/StoredProcedures/Simple/NCOMP/oracle/aurora/deploy/opt/HelloWorld.o -I. -I/oracle/product/817/javavm/jahome -O -D_ALL_SOURCE -qnoansialias -qro -qroconst -qmaxmem=-1 -qtbtable=full -qinlglue -qnolm -qlanglvl=extended -qtune=604 -q32 -qdatalocal -qdataimported=environ -qlibansi -qstrict -qcompact -qxflag=nsprinf -D_THREAD_SAFE -D_AIX43 -DSLMXMX_ENABLE -DSLTS_ENABLE -D_SVID_GETTOD -D_REENTRANT -DEO_SUPPRESS_DEBUG -DEO_SUPPRESS_TRACE -DEO_SUPPRESS_DEBUG -DEO_SUPPRESS_TRACE -c
/usr/vac/bin/xlc: 1501-228 input file HelloWorld.c not found
ld -b32 -o /home/<user>/work/Oracle/Java/StoredProcedures/Simple/NCOMP/oracle/aurora/deploy/libjox8_f8372392c0_<user>_UnnamedPackage.so /home/<user>/work/Oracle/Java/StoredProcedures/Simple/NCOMP/oracle/aurora/deploy/opt/HelloWorld.o -bnoentry -bM:SRE -bexpall -bI:/oracle/product/817/lib/oracle.exp -L/usr/lib -lc -lm
ld: 0706-005 Cannot find or open file: /home/<user>/work/Oracle/Java/StoredProcedures/Simple/NCOMP/oracle/aurora/deploy/opt/HelloWorld.o
ld:open(): A file or directory in the path name does not exist.
ld: 0706-003 Cannot find or read import file: /oracle/product/817/lib/oracle.exp
ld:accessx(): A file or directory in the path name does not exist.
/usr/java14/bin/javac -classpath .:/oracle/product/817/javavm/jahome:/oracle/product/817/javavm/lib/aurora.zip:/oracle/product/817/jdbc/lib/classes111.zip:/oracle/product/817/sqlj/lib/translator.zip:/usr/java14/jre/lib/rt.jar:/usr/java14/lib/tools.jar:/usr/java14/lib/classes.zip:/usr/java14/jre/lib/rt.jar:/usr/java14/lib/tools.jar:/oracle/product/817/jis/lib/servlet.jar:/oracle/product/817/sqlj/lib/runtime12.zip:/oracle/product/817/jdbc/lib/classes12.zip:/oracle/product/817/jsp/lib/ojsp.jar:/oracle/product/817/jsp/lib/ojsputil.jar:.:/usr/mqm/java/lib/com.ibm.mq.jar:/usr/mqm/java/lib/com.ibm.mqjms.jar:/usr/mqm/java/lib/connector.jar:/usr/mqm/java/lib/jms.jar:/usr/mqm/java/lib/jndi.jar:/usr/mqm/java/lib/jta.jar:/usr/mqm/java:.:/oracle/product/817/lib/xmlparserv2.jar -d /home/<user>/work/Oracle/Java/StoredProcedures/Simple/NCOMP /oracle/product/817/javavm/jahome/SQL.java
/usr/java14/bin/javac -classpath .:/oracle/product/817/javavm/jahome:/oracle/product/817/javavm/lib/aurora.zip:/oracle/product/817/jdbc/lib/classes111.zip:/oracle/product/817/sqlj/lib/translator.zip:/usr/java14/jre/lib/rt.jar:/usr/java14/lib/tools.jar:/usr/java14/lib/classes.zip:/usr/java14/jre/lib/rt.jar:/usr/java14/lib/tools.jar:/oracle/product/817/jis/lib/servlet.jar:/oracle/product/817/sqlj/lib/runtime12.zip:/oracle/product/817/jdbc/lib/classes12.zip:/oracle/product/817/jsp/lib/ojsp.jar:/oracle/product/817/jsp/lib/ojsputil.jar:.:/usr/mqm/java/lib/com.ibm.mq.jar:/usr/mqm/java/lib/com.ibm.mqjms.jar:/usr/mqm/java/lib/connector.jar:/usr/mqm/java/lib/jms.jar:/usr/mqm/java/lib/jndi.jar:/usr/mqm/java/lib/jta.jar:/usr/mqm/java:.:/oracle/product/817/lib/xmlparserv2.jar -d /home/<user>/work/Oracle/Java/StoredProcedures/Simple/NCOMP /oracle/product/817/javavm/jahome/SQL.java /oracle/product/817/javavm/jahome/ForEachClass.java /oracle/product/817/javavm/jahome/ClassProcessor.java /oracle/product/817/javavm/jahome/PackageDisableNcomp.java /oracle/product/817/javavm/jahome/PackageValidateAll.java /oracle/product/817/javavm/jahome/ClassProperties.java /oracle/product/817/javavm/jahome/Dumper.java /oracle/product/817/javavm/jahome/Installer.java UnnamedPackage_Installer.java
error: cannot read: UnnamedPackage_Installer.java
/oracle/product/817/javavm/jahome/ForEachClass.java:10: oracle.jaccelerator.server.ForEachClass is already defined in this compilation unit
import oracle.jaccelerator.server.ForEachClass;
^
/oracle/product/817/javavm/jahome/ClassProcessor.java:8: oracle.jaccelerator.server.ClassProcessor is already defined in this compilation unit
import oracle.jaccelerator.server.ClassProcessor;
^
/oracle/product/817/javavm/jahome/PackageDisableNcomp.java:12: oracle.jaccelerator.server.PackageDisableNcomp is already defined in this compilation unit
import oracle.jaccelerator.server.PackageDisableNcomp;
^
/oracle/product/817/javavm/jahome/PackageValidateAll.java:6: oracle.jaccelerator.server.PackageValidateAll is already defined in this compilation unit
import oracle.jaccelerator.server.PackageValidateAll;
^
5 errors
/usr/java14/bin/java -classpath .:/oracle/product/817/javavm/jahome:/oracle/product/817/javavm/lib/jaccelerator.zip:/oracle/product/817/javavm/lib/aurora_ncomp_gen.zip:/oracle/product/817/javavm/lib/ncomp.zip:/oracle/product/817/jdbc/lib/classes111.zip:/oracle/product/817/sqlj/lib/translator.zip:/usr/java14/jre/lib/rt.jar:/usr/java14/lib/tools.jar:/usr/java14/lib/classes.zip:/usr/java14/jre/lib/rt.jar:/usr/java14/lib/tools.jar:/oracle/product/817/jis/lib/servlet.jar:/oracle/product/817/sqlj/lib/runtime12.zip:/oracle/product/817/jdbc/lib/classes12.zip:/oracle/product/817/jsp/lib/ojsp.jar:/oracle/product/817/jsp/lib/ojsputil.jar:.:/usr/mqm/java/lib/com.ibm.mq.jar:/usr/mqm/java/lib/com.ibm.mqjms.jar:/usr/mqm/java/lib/connector.jar:/usr/mqm/java/lib/jms.jar:/usr/mqm/java/lib/jndi.jar:/usr/mqm/java/lib/jta.jar:/usr/mqm/java:.:/oracle/product/817/lib/xmlparserv2.jar oracle.jaccelerator.BundleInstallerClassBuilder project UnnamedPackage_Installer.java
-- skipping non-existent installer: UnnamedPackage_Installer.java
/usr/java14/bin/jar cvf0 HelloWorld_depl.jar /oracle/product/817/javavm/jahome/SQL.java /oracle/product/817/javavm/jahome/ForEachClass.java /oracle/product/817/javavm/jahome/ClassProcessor.java /oracle/product/817/javavm/jahome/PackageDisableNcomp.java /oracle/product/817/javavm/jahome/PackageValidateAll.java /oracle/product/817/javavm/jahome/ClassProperties.java /oracle/product/817/javavm/jahome/Dumper.java /oracle/product/817/javavm/jahome/Installer.java oracle/aurora/deploy/UnnamedPackage_Installer.class oracle/aurora/deploy/libjox8_f8372392c0_<user>_UnnamedPackage.so
oracle/aurora/deploy/UnnamedPackage_Installer.class : no such file or directory
oracle/aurora/deploy/libjox8_f8372392c0_<user>_UnnamedPackage.so : no such file or directory
added manifest
adding: oracle/product/817/javavm/jahome/SQL.java(in = 1651) (out= 1651)(stored 0%)
adding: oracle/product/817/javavm/jahome/ForEachClass.java(in = 3013) (out= 3013)(stored 0%)
adding: oracle/product/817/javavm/jahome/ClassProcessor.java(in = 841) (out= 841)(stored 0%)
adding: oracle/product/817/javavm/jahome/PackageDisableNcomp.java(in = 1330) (out= 1330)(stored 0%)
adding: oracle/product/817/javavm/jahome/PackageValidateAll.java(in = 1316) (out= 1316)(stored 0%)
adding: oracle/product/817/javavm/jahome/ClassProperties.java(in = 1872) (out= 1872)(stored 0%)
adding: oracle/product/817/javavm/jahome/Dumper.java(in = 3207) (out= 3207)(stored 0%)
adding: oracle/product/817/javavm/jahome/Installer.java(in = 19066) (out= 19066)(stored 0%)
loadjava -verbose -v -oci8 -resolve -user <user>/<password>@sandbox HelloWorld_depl.jar
initialization complete
identical: oracle/jaccelerator/server/ClassProcessor is unchanged from previously loaded file
identical: oracle/jaccelerator/server/SQL is unchanged from previously loaded file
identical: oracle/jaccelerator/server/Installer is unchanged from previously loaded file
identical: oracle/jaccelerator/server/PackageDisableNcomp is unchanged from previously loaded file
identical: oracle/jaccelerator/server/PackageValidateAll is unchanged from previously loaded file
identical: oracle/jaccelerator/server/Dumper is unchanged from previously loaded file
identical: oracle/jaccelerator/server/ForEachClass is unchanged from previously loaded file
identical: oracle/jaccelerator/server/ClassProperties is unchanged from previously loaded file
loading : META-INF/MANIFEST.MF
creating : META-INF/MANIFEST.MF
resolver :
skipping : oracle/jaccelerator/server/ClassProcessor is already resolved
skipping : oracle/jaccelerator/server/SQL is already resolved
skipping : oracle/jaccelerator/server/Installer is already resolved
skipping : oracle/jaccelerator/server/PackageDisableNcomp is already resolved
skipping : oracle/jaccelerator/server/PackageValidateAll is already resolved
skipping : oracle/jaccelerator/server/Dumper is already resolved
skipping : oracle/jaccelerator/server/ForEachClass is already resolved
skipping : oracle/jaccelerator/server/ClassProperties is already resolved
/usr/java14/bin/java -classpath .:/oracle/product/817/javavm/jahome:/oracle/product/817/javavm/lib/jaccelerator.zip:/oracle/product/817/javavm/lib/aurora_ncomp_gen.zip:/oracle/product/817/javavm/lib/ncomp.zip:/oracle/product/817/jdbc/lib/classes111.zip:/oracle/product/817/sqlj/lib/translator.zip:/usr/java14/jre/lib/rt.jar:/usr/java14/lib/tools.jar:/usr/java14/lib/classes.zip:/usr/java14/jre/lib/rt.jar:/usr/java14/lib/tools.jar:/oracle/product/817/jis/lib/servlet.jar:/oracle/product/817/sqlj/lib/runtime12.zip:/oracle/product/817/jdbc/lib/classes12.zip:/oracle/product/817/jsp/lib/ojsp.jar:/oracle/product/817/jsp/lib/ojsputil.jar:.:/usr/mqm/java/lib/com.ibm.mq.jar:/usr/mqm/java/lib/com.ibm.mqjms.jar:/usr/mqm/java/lib/connector.jar:/usr/mqm/java/lib/jms.jar:/usr/mqm/java/lib/jndi.jar:/usr/mqm/java/lib/jta.jar:/usr/mqm/java:.:/oracle/product/817/lib/xmlparserv2.jar oracle.jaccelerator.client.ShowDllsTable jdbc:oracle:oci8:@sandbox <user> <password>
-- conn: oracle.jdbc.driver.OracleConnection@73b6cd5c
# Deployment History, produced by query:
# select timestamp, status, dll_name from jaccelerator$dlls order by dll_name
Sun Oct 12 20:22:49 EDT 2003 not installed, wrong OS: ppc p /libjox8_f832d25ed6_<user>_XMLQueries.so
dropjava -user <user>/<password>@sandbox HelloWorld_depl.jar
Make executed 25 actions -
Versions of the jars used in the BlazeDS lib
I have integrated my flex application with backend using BlazaDS, however I need the versions of the jar files which are being used in the BlazeDS lib so that I can add the full versioned dependency in my maven-repository. Could you provide these to me?
Thanks,
RashmiHi,
As far as I know, Photoshop Elements makes use of the fonts in your system and doesn't add any of it's own.
The fonts starting with U that I can see in my system are these.
If it was some other font, you may well have downloaded them from somewhere else or with another application.
I am on a Windows 7 system so it could be different for a MAC.
Brian -
Xmlparserv2.jar with xerces and xalan
Hello,
I have a Spring/Spring Web Flow application. I also have a separate web application that's using the XML Publisher API to generate reports from RTF files. I am now in the process of merging these two into one application.
The Spring app requires the xerces.jar and xalan.jar JARs in order to parse the various XML files required to configure Spring. The XML Publisher app requires the xmlparserv2.jar JAR in order to parse the XML required for generating reports.
When I have all of these JARs in my one web application, I receive an error when I call the FOProcessor.generate() method. Here it is:
oracle.xml.parser.v2.XMLParseException: Bad character (1).
at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:324)
at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:287)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:292)
at oracle.xml.parser.v2.XSLProcessor.newXSLStylesheet(XSLProcessor.java:590)
at oracle.xml.parser.v2.XSLStylesheet.<init>(XSLStylesheet.java:260)
at oracle.apps.xdo.common.xml.XSLTClassic.transform(XSLTClassic.java:200)
at oracle.apps.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:174)
at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1022)
at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:968)
at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:209)
at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1561)
at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:951)
I was thinking this was because there was a conflict between xalan, xerces and xmlparserv2, so I removed the xalan and xerces JARs from the classpath. Now I get the following whenever I try to hit one of my spring MVC actions:
DEBUG org.springframework.beans.factory.xml.DelegatingEntityResolver(99) - Attempting to resolve XML Schema [http://www.springframework.org/schema/beans/spring-beans-2.0.xsd] using [org.springframework.beans.factory.xml.PluggableSchemaResolver]
<Line 43, Column 57>: XML-24509: (Error) Duplicated definition for: 'identifiedType'
<Line 60, Column 28>: XML-24509: (Error) Duplicated definition for: 'beans'
<Line 145, Column 34>: XML-24509: (Error) Duplicated definition for: 'description'
<Line 158, Column 29>: XML-24509: (Error) Duplicated definition for: 'import'
<Line 180, Column 28>: XML-24509: (Error) Duplicated definition for: 'alias'
<Line 209, Column 33>: XML-24509: (Error) Duplicated definition for: 'beanElements'
<Line 223, Column 44>: XML-24509: (Error) Duplicated definition for: 'beanAttributes'
<Line 486, Column 43>: XML-24509: (Error) Duplicated definition for: 'meta'
<Line 494, Column 35>: XML-24509: (Error) Duplicated definition for: 'metaType'
<Line 511, Column 27>: XML-24509: (Error) Duplicated definition for: 'bean'
<Line 531, Column 38>: XML-24509: (Error) Duplicated definition for: 'constructor-arg'
<Line 600, Column 51>: XML-24509: (Error) Duplicated definition for: 'property'
<Line 611, Column 36>: XML-24509: (Error) Duplicated definition for: 'lookup-method'
<Line 647, Column 38>: XML-24509: (Error) Duplicated definition for: 'replaced-method'
<Line 684, Column 31>: XML-24509: (Error) Duplicated definition for: 'arg-type'
<Line 711, Column 26>: XML-24509: (Error) Duplicated definition for: 'ref'
<Line 749, Column 28>: XML-24509: (Error) Duplicated definition for: 'idref'
<Line 783, Column 28>: XML-24509: (Error) Duplicated definition for: 'value'
<Line 811, Column 27>: XML-24509: (Error) Duplicated definition for: 'null'
<Line 825, Column 39>: XML-24509: (Error) Duplicated definition for: 'collectionElements'
<Line 842, Column 48>: XML-24509: (Error) Duplicated definition for: 'list'
<Line 853, Column 47>: XML-24509: (Error) Duplicated definition for: 'set'
<Line 862, Column 41>: XML-24509: (Error) Duplicated definition for: 'map'
<Line 869, Column 45>: XML-24509: (Error) Duplicated definition for: 'entry'
<Line 877, Column 45>: XML-24509: (Error) Duplicated definition for: 'props'
<Line 886, Column 26>: XML-24509: (Error) Duplicated definition for: 'key'
<Line 897, Column 27>: XML-24509: (Error) Duplicated definition for: 'prop'
<Line 916, Column 39>: XML-24509: (Error) Duplicated definition for: 'propertyType'
<Line 960, Column 45>: XML-24509: (Error) Duplicated definition for: 'baseCollectionType'
<Line 971, Column 46>: XML-24509: (Error) Duplicated definition for: 'typedCollectionType'
<Line 987, Column 34>: XML-24509: (Error) Duplicated definition for: 'mapType'
<Line 1008, Column 36>: XML-24509: (Error) Duplicated definition for: 'entryType'
<Line 1047, Column 40>: XML-24509: (Error) Duplicated definition for: 'listOrSetType'
<Line 1056, Column 36>: XML-24509: (Error) Duplicated definition for: 'propsType'
<Line 1069, Column 45>: XML-24509: (Error) Duplicated definition for: 'defaultable-boolean'
ERROR org.springframework.web.servlet.FrameworkServlet(229) - Context initialization failed
org.springframework.beans.factory.BeanDefinitionStoreException: Line 10 in XML document from class path resource [spring/servlet/sellitem-webflow-config.xml] is invalid; nested exception is oracle.xml.parser.schema.XSDException: Duplicated definition for: 'identifiedType'
Caused by:
oracle.xml.parser.schema.XSDException: Duplicated definition for: 'identifiedType'
at oracle.xml.parser.v2.XMLError.flushErrorHandler(XMLError.java:431)
at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:290)
at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:287)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:181)
at oracle.xml.jaxp.JXDocumentBuilder.parse(JXDocumentBuilder.java:151)
at org.springframework.beans.factory.xml.DefaultDocumentLoader.loadDocument(DefaultDocumentLoader.java:77)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:405)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:357)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:126)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:142)
at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:123)
at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:91)
at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:94)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:294)
at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:156)
at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:308)
at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:252)
at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:221)
at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:115)
at javax.servlet.GenericServlet.init(GenericServlet.java:211)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105)
at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:757)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:130)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Unknown Source)
So it seems like these JARs are incompatible with each other. Is there any way I can use the Oracle DocumentBuilder for my XML Publisher classes and the xerces for the rest of the app?
Thanks,
Leo HartNow one has any advice? :(
-
Diff between oracle's org.w3c.dom in xmlParserV2.jar and JREs impl?
New to Java/oracle enviornment.
I have an class that retrieves clobs from 10g. I need to include oracles xmlParserV2.jar in the classpath for XMLType support.
I then added this class to my app.
When I do this, areas in my app that previously used the JRE org.w3c.dom bombs with the exception: AbstractMethodError: getTextContent()....
I am assuming that when I set xmlParserv2.jar in my class path, that my app is now using oracle's implementation of the org.w3c.dom....
I say this because I see the org.w3c.dom.. in the xmlParserv2jar. Is my app running into some incompatibility with the way oracle has implemented the org.w3c.dom.
Is there a xmlParserv2.jar without the org.w3c stuff?
I need the XMLType support from xmlParserv2.jar. Is the XMLType support dependent on oracles implementation of the org.w3c.dom....?
Thanks everyone;
Any help appreciated.I dont find the j2ee_1.3.01.jar file in a simple oc4j installation. Its present in the bpel/lib directory if you install the full soa suite.
I removed the oc4jclient.jar, and I see the same behavior as mentioned above. If I just have two jar files - orabpel.jar and orabpel-common.jar, my application does not start up (no logs are created). When I add the j2ee_1.3.01.jar, then the logs are created but I see the LinkageError in the opmn logs.
Thx,
Prabhat -
Loadjava and jpub in web service using UTL_DBWS giving errors - Help Please
Hi all,
Solicit your help in the below-mentioned scenario.
I am trying to access some published web services from 9.2.0.1.0 RDBMS using UTL_DBMS API. I have accomplished the same using UTL_HTTP. I have followed the instructions specified in:
'http://www.oracle.com/technology/sample_code/tech/java/jsp/callout_users_guide.htm#Web_Service_Callout_Utility_Download_'
to prepare the database, download Callout Utility for pre-10g RDBMS (ZIP, 5.68MB), JPub 9.2.0.1.0 Production and OC4J Release 10.1.2 (standalone) and set the environment variables.
loadjava ran successfully for:
%ORACLE_DB_HOME%/BIN/loadjava -user scott/tiger@ORACLE -r -v -f -grant public -genmissing %ORACLE_HOME%/OC4J/j2ee/home/lib/servlet.jar
%ORACLE_DB_HOME%/BIN/loadjava -user scott/tiger@ORACLE -r -v -f -grant public -genmissing %ORACLE_HOME%/OC4J/j2ee/home/lib/ejb.jar
%ORACLE_DB_HOME%/BIN/loadjava -user scott/tiger@ORACLE -r -v -f -grant public -genmissing %ORACLE_HOME%/jlib/jssl-1_2.jar
%ORACLE_DB_HOME%/BIN/loadjava -user scott/tiger@ORACLE -r -v -f -grant public -genmissing %ORACLE_HOME%/soap/webapps\soap\WEB-INF\lib\soap.jar
But it gave error for:
%ORACLE_DB_HOME%/BIN/loadjava -user scott/tiger@ORACLE -r -v -f -grant public -genmissing %ORACLE_HOME%/OC4J/j2ee/home/lib/mail.jar
%ORACLE_DB_HOME%/BIN/loadjava -user scott/tiger@ORACLE -r -v -f -grant public -genmissing %ORACLE_HOME%/OC4J/lib/dms.jar
ORA-29534: referenced object SCOTT.oracle/core/odjl/logMessage could not be resolved.
ORA-29545: badly formed class.
And while trying to run JPub using:
jpub -user=scott/tiger -sysuser sys/change_on_install -httpproxy=www-proxy.us.oracle.com:80 -proxywsdl=http://www.webservicex.net/stockquote.asmx?wsdl -endpoint=http://www.webservicex.net/stockquote.asmx -proxyopts=soap,tabfun -dir=Stock -plsqlpackage=soap_callout_wrapper
I get error:
J2T-120, ERROR: Illegal option "-proxywsdl=http://www.webservicex.net/stockquote.asmx?wsdl" ignored
J2T-120, ERROR: Illegal option "-endpoint=http://www.webservicex.net/stockquote.asmx" ignored
J2T-120, ERROR: Illegal option "-proxyopts=soap,tabfun" ignored
Any help in resolving these issues will be appreciated. Kindly also advise which api – UTL_HTTP or UTL_DBWS I should go for and why.
Regards,
LeslieIt may be better to post this problem to this forum - http://forums.oracle.com/forums/category.jspa?categoryID=24 since this is much more related to loadjava and jpub
-
Xmlparserv2.jar cause IBM WebSphere v5.1 down.
Anyone knows:
I have a j2ee project based on IBM WebSphere v5.1 + Oracle DB 10g(XMLDB included).There's a big trouble bother me.
My project used Oracle xml implemention,such as DOM parser included in xmlparserv2.jar.and when i deploy my project to WAS(WebSphere Application Server),it throws errors and can not startup normally.it's sounds that WAS cann't determine which xml implemention it should choose:
Error message below:
==============================================
*** å¯å¨æå¡å¨ ***
[05-5-2 12:06:49:906 CST] 3d455614 SystemOut O java.net.MalformedURLException: unknown protocol: f
[05-5-2 12:06:49:906 CST] 3d455614 SystemOut O at java.net.URL.<init>(URL.java(Compiled Code))
[05-5-2 12:06:49:906 CST] 3d455614 SystemOut O at java.net.URL.<init>(URL.java(Compiled Code))
[05-5-2 12:06:49:906 CST] 3d455614 SystemOut O at java.net.URL.<init>(URL.java:450)
[05-5-2 12:06:49:906 CST] 3d455614 SystemOut O at oracle.xml.parser.v2.XMLReader.pushXMLReader(XMLReader.java:214)
[05-5-2 12:06:49:906 CST] 3d455614 SystemOut O at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:177)
[05-5-2 12:06:49:906 CST] 3d455614 SystemOut O at com.ibm.websphere.product.xml.BaseFactory.load(BaseFactory.java:191)
[05-5-2 12:06:49:906 CST] 3d455614 SystemOut O at com.ibm.websphere.product.xml.BaseFactory.load(BaseFactory.java:173)
[05-5-2 12:06:49:906 CST] 3d455614 SystemOut O at com.ibm.websphere.product.WASProduct.loadVersionInfo(WASProduct.java:1876)
[05-5-2 12:06:49:906 CST] 3d455614 SystemOut O at com.ibm.websphere.product.WASProduct.getVersionInfo(WASProduct.java:1829)
[05-5-2 12:06:49:906 CST] 3d455614 SystemOut O at com.ibm.websphere.product.WASProduct.getPlatform(WASProduct.java:845)
[05-5-2 12:06:49:906 CST] 3d455614 SystemOut O at com.ibm.ws.runtime.component.TraceImpl.initialize(TraceImpl.java:59)
[05-5-2 12:06:49:906 CST] 3d455614 SystemOut O at com.ibm.ws.runtime.component.ContainerImpl.initializeComponent(ContainerImpl.java:713)
[05-5-2 12:06:49:906 CST] 3d455614 SystemOut O at com.ibm.ws.runtime.component.ContainerImpl.initializeComponents(ContainerImpl.java:659)
[05-5-2 12:06:49:906 CST] 3d455614 SystemOut O at com.ibm.ws.runtime.component.ServerImpl.initialize(ServerImpl.java:96)
[05-5-2 12:06:49:906 CST] 3d455614 SystemOut O at com.ibm.ws.runtime.WsServer.start(WsServer.java:119)
[05-5-2 12:06:49:922 CST] 3d455614 SystemOut O at com.ibm.ws.runtime.WsServer.main(WsServer.java:225)
[05-5-2 12:06:49:922 CST] 3d455614 SystemOut O at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[05-5-2 12:06:49:922 CST] 3d455614 SystemOut O at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
[05-5-2 12:06:49:922 CST] 3d455614 SystemOut O at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:41)
[05-5-2 12:06:49:922 CST] 3d455614 SystemOut O at java.lang.reflect.Method.invoke(Method.java:386)
[05-5-2 12:06:49:922 CST] 3d455614 SystemOut O at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:94)
[05-5-2 12:06:49:922 CST] 3d455614 SystemOut O at com.ibm.etools.websphere.tools.runner.api.ServerRunnerV5$1.run(ServerRunnerV5.java:97)
************ Start Display Current Environment ************
Host Operating System is Windows XP, version 5.1
Java version = J2RE 1.4.1 IBM Windows 32 build cn1411-20031011 (JIT enabled: jitc), Java Compiler = jitc, Java VM name = Classic VM
was.install.root = f:\Program_Files\IBM\WebSphere_Studio\runtimes\base_v51
user.install.root = f:\Program_Files\IBM\WebSphere_Studio\runtimes\base_v51
Java Home = f:\Program_Files\IBM\WebSphere_Studio\runtimes\base_v51\java\jre
ws.ext.dirs = f:\Program_Files\IBM\WebSphere_Studio\runtimes\base_v51/java/lib;f:\Program_Files\IBM\WebSphere_Studio\runtimes\base_v51/classes;f:\Program_Files\IBM\WebSphere_Studio\runtimes\base_v51/classes;f:\Program_Files\IBM\WebSphere_Studio\runtimes\base_v51/lib;f:\Program_Files\IBM\WebSphere_Studio\runtimes\base_v51/lib/ext;f:\Program_Files\IBM\WebSphere_Studio\runtimes\base_v51/web/help;f:\Program_Files\IBM\WebSphere_Studio\runtimes\base_v51/deploytool/itp/plugins/com.ibm.etools.ejbdeploy/runtime;F:\document\musicool\CVS\libs\xsdbeans.jar;F:/Program_Files/IBM/SQLLIB/java/db2java.zip;f:/Program_Files/IBM/WebSphere_Studio/wstools/eclipse/plugins/com.ibm.etools.webservice_5.1.1/runtime/worf.jar
Classpath = f:\Program_Files\IBM\WebSphere_Studio\runtimes\base_v51/properties;f:\Program_Files\IBM\WebSphere_Studio\runtimes\base_v51/properties;f:\Program_Files\IBM\WebSphere_Studio\runtimes\base_v51/lib/bootstrap.jar;f:\Program_Files\IBM\WebSphere_Studio\runtimes\base_v51/lib/j2ee.jar;f:\Program_Files\IBM\WebSphere_Studio\runtimes\base_v51/lib/lmproxy.jar;f:\Program_Files\IBM\WebSphere_Studio\runtimes\base_v51/lib/urlprotocols.jar;F:\document\musicool\CVS\libs\workflow.jar;F:\document\musicool\CVS\libs\DBClient.jar;F:\document\musicool\CVS\libs\log4j-1.2.8.jar;F:\document\musicool\CVS\libs\log.jar;F:\document\musicool\CVS\libs\utility.jar;F:\document\musicool\CVS\libs\webwork.jar;F:\document\musicool\CVS\libs\xdb.jar;F:\Oracle\product\10.1.0\Client_1\lib\xsu12.jar;f:/Program_Files/IBM/WebSphere_Studio/wstools/eclipse/plugins/com.ibm.etools.websphere.tools.common_5.1.1/runtime/wteServers.jar;f:/Program_Files/IBM/WebSphere_Studio/wstools/eclipse/plugins/com.ibm.etools.websphere.tools.common_5.1.1/runtime/wasToolsCommon.jar
Java Library path = f:\Program_Files\IBM\WebSphere_Studio\runtimes\base_v51/bin;f:\Program_Files\IBM\WebSphere_Studio\runtimes\base_v51/java/bin;f:\Program_Files\IBM\WebSphere_Studio\runtimes\base_v51/java/jre/bin;F:\Program_Files\IBM\WebSphere_Studio\eclipse\jre\bin;.;F:\Program_Files\IBM\WebSphere_Studio\eclipse\jre\bin;F:\eclipse\301\bpelz_install\bin;f:\Oracle\product\10.1.0\Client_1\bin;f:\Oracle\product\10.1.0\Client_1\jre\1.4.2\bin\client;f:\Oracle\product\10.1.0\Client_1\jre\1.4.2\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\ATI Technologies\ATI Control Panel;f:\Program_Files\IBM\WebSphere_Studio\extras\bin;f:\Program_Files\IBM\WebSphere_Studio\bin;f:\Program_Files\IBM\WebSphere_Studio\runtimes\base_v51\java\bin;f:\Program_Files\IBM\WebSphere_Studio\runtimes\base_v51\java\jre\bin;f:\Program_Files\IBM\WebSphere_Studio\runtimes\base_v51\java\jre\bin\classic;f:\Program_Files\UltraEdit;f:\Program_Files\SecureCRT;F:\PROGRA~1\IBM\SQLLIB\BIN;F:\PROGRA~1\IBM\SQLLIB\FUNCTION;F:\PROGRA~1\IBM\SQLLIB\SAMPLES\REPL;C:\Program Files\Common Files\Ulead Systems\MPEG;;;;;f:\Program_Files\Real\Helix_Producer_Plus;F:\Program_Files\Rational\common;F:\eclipse\301\bpelz_install\bin;f:\Program_Files\UltraEdit
************* End Display Current Environment *************
[05-5-2 12:06:49:938 CST] 3d455614 ManagerAdmin I TRAS0017I: å¯å¨è·è¸ªç¶ææ¯ *=all=disabledã
[05-5-2 12:06:50:609 CST] 3d455614 AdminInitiali A ADMN0015I: AdminService åå§å
[05-5-2 12:06:50:656 CST] 3d455614 MBeanDescript W ADMN0001W: æ æ³è¯æ³åæ MBean æ述符æ件 com.ibm.websphere.management.exception.DescriptorParseException: ADMN0001W: æ æ³è¯æ³åæ MBean æ述符æ件 com/ibm/ws/management/descriptor/xml/JVM.xmlã
at com.ibm.ws.management.descriptor.MBeanDescriptorLoader.loadDescriptor(MBeanDescriptorLoader.java:106)
at com.ibm.ws.management.descriptor.MBeanDescriptorManager.loadDescriptorFile(MBeanDescriptorManager.java:260)
at com.ibm.ws.management.descriptor.MBeanDescriptorManager.getDescriptor(MBeanDescriptorManager.java:118)
at com.ibm.ws.management.MBeanFactoryImpl.activateMBean(MBeanFactoryImpl.java:250)
at com.ibm.ws.management.MBeanFactoryImpl.activateMBean(MBeanFactoryImpl.java:217)
at com.ibm.ws.management.component.AdminImpl.initialize(AdminImpl.java:277)
at com.ibm.ws.runtime.component.ContainerImpl.initializeComponent(ContainerImpl.java:713)
at com.ibm.ws.runtime.component.ContainerImpl.initializeComponents(ContainerImpl.java:659)
at com.ibm.ws.runtime.component.ServerImpl.initialize(ServerImpl.java:96)
at com.ibm.ws.runtime.WsServer.start(WsServer.java:119)
at com.ibm.ws.runtime.WsServer.main(WsServer.java:225)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:41)
at java.lang.reflect.Method.invoke(Method.java:386)
at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:94)
at com.ibm.etools.websphere.tools.runner.api.ServerRunnerV5$1.run(ServerRunnerV5.java:97)
ã
[05-5-2 12:06:50:688 CST] 3d455614 WsServer E WSVR0003E: æå¡å¨ server1 æ æ³å¯å¨
com.ibm.ws.exception.ConfigurationError: Problem initializing AdminImpl:
at com.ibm.ws.management.component.AdminImpl.initialize(AdminImpl.java:413)
at com.ibm.ws.runtime.component.ContainerImpl.initializeComponent(ContainerImpl.java:713)
at com.ibm.ws.runtime.component.ContainerImpl.initializeComponents(ContainerImpl.java:659)
at com.ibm.ws.runtime.component.ServerImpl.initialize(ServerImpl.java:96)
at com.ibm.ws.runtime.WsServer.start(WsServer.java:119)
at com.ibm.ws.runtime.WsServer.main(WsServer.java:225)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:41)
at java.lang.reflect.Method.invoke(Method.java:386)
at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:94)
at com.ibm.etools.websphere.tools.runner.api.ServerRunnerV5$1.run(ServerRunnerV5.java:97)
Caused by: com.ibm.ws.exception.ConfigurationWarning: Problem registering JVM MBean.
at com.ibm.ws.management.component.AdminImpl.initialize(AdminImpl.java:283)
... 11 more
Caused by: com.ibm.websphere.management.exception.AdminException: ADMN0005E: æ æ³æ¿æ´» MBeanï¼ç±»å JVMãåä½è [email protected]c1619ãé ç½®æ è¯ JVM åæ述符 nullã
at com.ibm.ws.management.MBeanFactoryImpl.activateMBean(MBeanFactoryImpl.java:289)
at com.ibm.ws.management.MBeanFactoryImpl.activateMBean(MBeanFactoryImpl.java:217)
at com.ibm.ws.management.component.AdminImpl.initialize(AdminImpl.java:277)
... 11 more
Caused by: com.ibm.websphere.management.exception.DescriptorParseException: ADMN0001W: æ æ³è¯æ³åæ MBean æ述符æ件 com/ibm/ws/management/descriptor/xml/JVM.xmlã
at com.ibm.ws.management.descriptor.MBeanDescriptorLoader.loadDescriptor(MBeanDescriptorLoader.java:106)
at com.ibm.ws.management.descriptor.MBeanDescriptorManager.loadDescriptorFile(MBeanDescriptorManager.java:260)
at com.ibm.ws.management.descriptor.MBeanDescriptorManager.getDescriptor(MBeanDescriptorManager.java:118)
at com.ibm.ws.management.MBeanFactoryImpl.activateMBean(MBeanFactoryImpl.java:250)
... 13 more
---- Begin backtrace for nested exception
com.ibm.ws.exception.ConfigurationWarning: Problem registering JVM MBean.
at com.ibm.ws.management.component.AdminImpl.initialize(AdminImpl.java:283)
at com.ibm.ws.runtime.component.ContainerImpl.initializeComponent(ContainerImpl.java:713)
at com.ibm.ws.runtime.component.ContainerImpl.initializeComponents(ContainerImpl.java:659)
at com.ibm.ws.runtime.component.ServerImpl.initialize(ServerImpl.java:96)
at com.ibm.ws.runtime.WsServer.start(WsServer.java:119)
at com.ibm.ws.runtime.WsServer.main(WsServer.java:225)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:41)
at java.lang.reflect.Method.invoke(Method.java:386)
at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:94)
at com.ibm.etools.websphere.tools.runner.api.ServerRunnerV5$1.run(ServerRunnerV5.java:97)
Caused by: com.ibm.websphere.management.exception.AdminException: ADMN0005E: æ æ³æ¿æ´» MBeanï¼ç±»å JVMãåä½è [email protected]c1619ãé ç½®æ è¯ JVM åæ述符 nullã
at com.ibm.ws.management.MBeanFactoryImpl.activateMBean(MBeanFactoryImpl.java:289)
at com.ibm.ws.management.MBeanFactoryImpl.activateMBean(MBeanFactoryImpl.java:217)
at com.ibm.ws.management.component.AdminImpl.initialize(AdminImpl.java:277)
... 11 more
Caused by: com.ibm.websphere.management.exception.DescriptorParseException: ADMN0001W: æ æ³è¯æ³åæ MBean æ述符æ件 com/ibm/ws/management/descriptor/xml/JVM.xmlã
at com.ibm.ws.management.descriptor.MBeanDescriptorLoader.loadDescriptor(MBeanDescriptorLoader.java:106)
at com.ibm.ws.management.descriptor.MBeanDescriptorManager.loadDescriptorFile(MBeanDescriptorManager.java:260)
at com.ibm.ws.management.descriptor.MBeanDescriptorManager.getDescriptor(MBeanDescriptorManager.java:118)
at com.ibm.ws.management.MBeanFactoryImpl.activateMBean(MBeanFactoryImpl.java:250)
... 13 more
---- Begin backtrace for nested exception
com.ibm.websphere.management.exception.AdminException: ADMN0005E: æ æ³æ¿æ´» MBeanï¼ç±»å JVMãåä½è [email protected]c1619ãé ç½®æ è¯ JVM åæ述符 nullã
at com.ibm.ws.management.MBeanFactoryImpl.activateMBean(MBeanFactoryImpl.java:289)
at com.ibm.ws.management.MBeanFactoryImpl.activateMBean(MBeanFactoryImpl.java:217)
at com.ibm.ws.management.component.AdminImpl.initialize(AdminImpl.java:277)
at com.ibm.ws.runtime.component.ContainerImpl.initializeComponent(ContainerImpl.java:713)
at com.ibm.ws.runtime.component.ContainerImpl.initializeComponents(ContainerImpl.java:659)
at com.ibm.ws.runtime.component.ServerImpl.initialize(ServerImpl.java:96)
at com.ibm.ws.runtime.WsServer.start(WsServer.java:119)
at com.ibm.ws.runtime.WsServer.main(WsServer.java:225)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:41)
at java.lang.reflect.Method.invoke(Method.java:386)
at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:94)
at com.ibm.etools.websphere.tools.runner.api.ServerRunnerV5$1.run(ServerRunnerV5.java:97)
Caused by: com.ibm.websphere.management.exception.DescriptorParseException: ADMN0001W: æ æ³è¯æ³åæ MBean æ述符æ件 com/ibm/ws/management/descriptor/xml/JVM.xmlã
at com.ibm.ws.management.descriptor.MBeanDescriptorLoader.loadDescriptor(MBeanDescriptorLoader.java:106)
at com.ibm.ws.management.descriptor.MBeanDescriptorManager.loadDescriptorFile(MBeanDescriptorManager.java:260)
at com.ibm.ws.management.descriptor.MBeanDescriptorManager.getDescriptor(MBeanDescriptorManager.java:118)
at com.ibm.ws.management.MBeanFactoryImpl.activateMBean(MBeanFactoryImpl.java:250)
... 13 more
---- Begin backtrace for nested exception
com.ibm.websphere.management.exception.DescriptorParseException: ADMN0001W: æ æ³è¯æ³åæ MBean æ述符æ件 com/ibm/ws/management/descriptor/xml/JVM.xmlã
at com.ibm.ws.management.descriptor.MBeanDescriptorLoader.loadDescriptor(MBeanDescriptorLoader.java:106)
at com.ibm.ws.management.descriptor.MBeanDescriptorManager.loadDescriptorFile(MBeanDescriptorManager.java:260)
at com.ibm.ws.management.descriptor.MBeanDescriptorManager.getDescriptor(MBeanDescriptorManager.java:118)
at com.ibm.ws.management.MBeanFactoryImpl.activateMBean(MBeanFactoryImpl.java:250)
at com.ibm.ws.management.MBeanFactoryImpl.activateMBean(MBeanFactoryImpl.java:217)
at com.ibm.ws.management.component.AdminImpl.initialize(AdminImpl.java:277)
at com.ibm.ws.runtime.component.ContainerImpl.initializeComponent(ContainerImpl.java:713)
at com.ibm.ws.runtime.component.ContainerImpl.initializeComponents(ContainerImpl.java:659)
at com.ibm.ws.runtime.component.ServerImpl.initialize(ServerImpl.java:96)
at com.ibm.ws.runtime.WsServer.start(WsServer.java:119)
at com.ibm.ws.runtime.WsServer.main(WsServer.java:225)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:41)
at java.lang.reflect.Method.invoke(Method.java:386)
at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:94)
at com.ibm.etools.websphere.tools.runner.api.ServerRunnerV5$1.run(ServerRunnerV5.java:97)
[05-5-2 12:06:50:703 CST] 3d455614 WsServer E WSVR0009E: å¯å¨æé´åçé误
=================================
Best Regard.
MusicoolI had this issue too. I removed all non-Oracle classes (javax, org.w3c) from the jar file and things then worked as expected. Basically, these javax and w3c files were duplicating versions already existing in the WPS classpath (I presume) and were causing the failure.
Hope this helps.
-Tim -
Xdb.jar and xmlparserv2.jar for JBossWeb/2.0.0.GA
I am using xdb.jar and xmlparserv2.jar files in JBoss 4.0.0 and it is working fine but when i deploy my code on JBossWeb/2.0.0.GA it is giving error.
"java.lang.NullPointerException
org.apache.commons.digester.Digester.getXMLReader(Digester.java:899)
org.apache.commons.digester.Digester.parse(Digester.java:1647)
org.apache.struts.action.ActionServlet.parseModuleConfigFile(ActionServlet.java:1006)
org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet.java:955)
org.apache.struts.action.ActionServlet.init(ActionServlet.java:470)
javax.servlet.GenericServlet.init(GenericServlet.java:212)
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:437)
org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:381)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
java.lang.Thread.run(Thread.java:595)"
Could anyone pleaese suggest what could be the possibe reason for this error. Do we need some differant version of jar files for the JBossWeb/2.0.0.GA.
Thanks and Regards
Govind BajoriaI had a similar problem using xmlparserv2.jar and commons-digester in the same application. It appears that xmlparserv2 sets itself as the default SaxParser but commons-digester doesn't like this (I read it looks for a Version class for the SaxParser and can't find it).
I solved this problem by explictly setting the SaxParserFactory by adding this System parameter
-Djavax.xml.parsers.SAXParserFactory=com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl
This works for JDK 6 but I assume if you are using an early JDK version and have xerces jar on the class path then setting the following will also work
-Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl -
I am trying to upgrade from OC4J 10.1.2 to Weblogic 11g (10.3.5).
I used the smartupgrade tool and it has highlighted some required modifications before upgrading.
For example:
<snip>
Rule: Oracle Private Dependencies
Category: api
Priority: required
Complexity: high
Reason: xxx.admin.ejb.AdminCtrl.jar contains the following unsupported Oracle dependencies:
AdminCtrlBean.class on [oracle.xml.parser.v2.DOMParser (orasaaj.jar), oracle.xml.parser.v2.XMLParseException (orasaaj.jar), oracle.xml.parser.v2.XMLDocument (orasaaj.jar)]
Advice: To ensure the proper functioning of deployed applications, features that depend upon the identified API need to discontinue using the identified unpublished Oracle API.
Implication: Features associated with the identified API may be broken, or the application itself may not function properly if at all because they depend upon unpublished Oracle dependencies.
</snip>
I want to follow the 'Advice', but I'm not sure what the best method is for correcting this issue.
Should I move away from the xmlparserv2.jar for xml processing?
If yes, what is the recommended replacement for xmlparserv2.jar in Weblogic 11g?
Any help, guidance or pointers are greatly appreciated.
Thank you.
Edited by: loopy1 on May 29, 2012 11:42 AMWhen migrating to weblogic from oc4j, you should discontinue use of the Oracle xml parser. Use the standard java sdk parser.
This code snip:
StringReader sr = new StringReader(xmlString.toString());
DOMParser parser = new DOMParser();
parser.parse(sr);
Document doc = parser.getDocument();
Is converted to this code snip:
DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
DocumentBuilder db = dbf.newDocumentBuilder();
StringReader sr = new StringReader(Sparameters);
InputSource is = new InputSource(sr);
Document doc = db.parse(is);
I found this information in this documentation:
http://docs.oracle.com/cd/E13222_01/wls/docs103/xml/programming.html#wp1069856
I hope this is helpful to someone.
S -
We are running Solaris 2.7 and have about 20 programs which use Embedded SQL. A few of these programs are setuid to root. We have LD_LIBRARY_PATH set to $ORACLE_HOME/lib.
This turns out to be a security problem for Solaris. i.e., it will only locate .so files needed for a setuid program if those objects are in /usr/lib.
Short of static linking, can someone tell me if there's a way to get around this problem? Also, if we link statically, is there a way of knowing if the particular revision of Oracle on the runtime machine is compatible with the machine that the machine that the code was linked on?
Please reply by email. I need this info ASAP.
Many TIAThis is must read thread, Am going through it.
read comments from Billy,
>
The LD_LIBRARY_PATH variable fits into this as the means to find and resolve the shared lib reference for loading of shared libraries. The load library call (whether called statically by the kernel when loading your executable, or called dynamically from within your loaded executable) needs to find the relevant shared lib on disk. And this environment variable determines where to look on disk for the physical library module to load.
Whether LD_LIBRARY_PATH is needed or not depends on how the dynamic link loader of the kernel works ito determing where to look for a shared lib.
The Windows dynamic link loader uses the PATH variable (after checking the current dir first). It seems from the test below that Linux needs the LD_LIBRARY_PATH set
>
source
What is LD_LIBRARY_PATH env variable for? -
How to determine the version of xmlparserv2.jar?
Hi,
Is there any way I can determine the version of an
xmlparserv2.jar file?
I am using XML Parser V2 (xmlparserv2.jar) with the following
file size: 1,086,234 bytes.
This was supplied with JDeveloper 3.1 but I have no idea what
version is it? Any help on this will be appreciated.
TIA,
-Piyushthe class oraxml does not exist in this version of the jar!
however i do see an entry like: xmlparser_2.0.2.6_production
when i open the jar file in winzip!
i have cross verfied with other xmlparserv2 files (diff file
sizes) and this seems to be it.
thanks for the suggestion.
regards,
-Piyush -
I have placed my jar file in c:\tomcat6\webapps\my-application\WEB-INF\lib\myjarfile.jar
But, after restarting tomcat6, when i try to import the class file contained in the myjarfile.jar in a servlet, it says
ProcessFileUpload.java:4: package test.test1 does not exist
import test.test1.*;
^It clearly tomcat's class loading problem.
As i unzipped my jar and placed the packagefolder structure to
c:\tomcat6\webapps\my-application\WEB-INF\classes\testand it works perfectly.
Anyone knows its workaround? please suggest if any configuration changes is required in tomcat or so.
Thanks.
---SujoyThank you gimbal2 . There was error in creating the jar file myjarfile.jar.
But, now I have created it again and placed it in place
c:\tomcat6\webapps\my-application\WEB-INF\lib\myjarfile.jarand tried to use one on the Class file included within the jar to compile my servlet. But, still I am getting error at servlet compilation time. I want to place executable jar files in
c:\tomcat6\webapps\my-application\WEB-INF\lib\myjarfile.jar and compile my servlet and execute the servlet.
I DO NOT WANT TO unzip the jar, placing all unzipped files to
c:\tomcat6\webapps\my-application\WEB-INF\classes\ folder and comiple my servlet and execute the servlet. But, I am failing to user WEB-INF\lib\ folder facility....please help me why i am not getting class files from WEB-INF\lib\ folder.
If you please see the small code bit and tell me any possible error that would be very helpful.
Step 1: my library java file MyClass.java
package test.test1;
public class MyClass {
String myName = "Default return string value";
public void setMyName(String varName) {
this.myName = varName;
public String getMyName() {
return this.myName;
}Step2 : Creating jar file of my library class files
C:\jdk1.6\bin>jar cvf myjarfile.jar test
added manifest
adding: test/(in = 0) (out= 0)(stored 0%)
adding: test/test1/(in = 0) (out= 0)(stored 0%)
adding: test/test1/MyClass.class(in = 452) (out= 296)(deflated 34%)
adding: test/test1/MyClass.java(in = 230) (out= 140)(deflated 39%)
C:\jdk1.6\bin>Step3 : Double checking the created jar file content by listing its content
C:\jdk1.6\bin>jar tf myjarfile.jar
META-INF/
META-INF/MANIFEST.MF
test/
test/test1/
test/test1/MyClass.class
test/test1/MyClass.java
C:\jdk1.6\bin>Step4 : Placed myjarfile.jar to
c:\tomcat6\webapps\my-application\WEB-INF\lib\Step5 : Restarted standalone Tomcat6 in my Windows XP SP2.
Step6 : Created a simple servlet LibFolderTest.java within my-application\WEB-INF\classes\ folder with code
import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;
import test.test1.*;
public class LibFolderTest extends HttpServlet {
public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
response.setContentType("text/html");
PrintWriter out = response.getWriter();
MyClass mc = new MyClass();
out.println(mc.getMyName());
}Step7 : Tried to compile my servlet LibFolderTest.java and got the following error
LibFolderTest.java:4: package test.test1 does not exist
import test.test1.*;
^
LibFolderTest.java:11: cannot find symbol
symbol : class MyClass
location: class LibFolderTest
MyClass mc = new MyClass();
^
LibFolderTest.java:11: cannot find symbol
symbol : class MyClass
location: class LibFolderTest
MyClass mc = new MyClass();
^
3 errorsThe above servlet compilation error on Step7 is telling me that myjarfile.jar is not loaded by Tomcat6 or not available for use when compiling servlet. I want to use myjarfile.jar from within WEB-INF\lib\ folder but I can not. please help.
---Sujoy
Maybe you are looking for
-
Is it possible to use several Apple TV in the same home network?
I´ve got the latest Apple TV (ver 2) and I´m impressed of it´s Airplay function. Is it possible to install an Apple TV in several different rooms of your home, each connected to a separate sound- and/or TV system of that room for playing the same or
-
Yes you have read it right after two years of slow .70meg and bellow speeds at my new house I swapped to bt for infinity (due to be ready in next few months hopefully) and today we finally had BTOR sent round to look at our broadband . We were told w
-
Left Arrow "Goto Previous Frame" Not Working in Projects
When trying to navigate around the timeline in a project, I can press the "Right Arrow" key on the keyboard to navigate to the next frame in the timeline from the playhead. When I try and press the "Left Arrow" key to navigate to the previous frame,
-
The "icons" on the bookmarks are no longer there. On the "drop down" menu for my bookmarks, the specific location icon is now gone. I scanned and cleaned out my PC using PC Unleash.
-
Neoud de methode abandon erreur 1026 face avant secondaire
bonjour,,je suis en stage et j'ai fait une application sous labview8.2.1 j'ai cree une face avant secondaire avec un menu deroulant qui la pilote et j'ai essayer de coller au plus a l'exemple donné dans le catalogue (subpanel viewer) mais j'ai une e