XSQL-022: Cannot load serializer class oracle.xml.xsql.serializers.fop203

Hi,
I' have used Tomcat 4.0.3 with XSQL Servlet 9.2 for about a half year. All is working fine. When I now change to 4.1.18 the most things are also working fine. The are to problems:
1. I have to save the XSQLConfig.xml in a jar file.
2. My fop serializer doesn't work any longer. I'm getting all the time the following error: XSQL-022: Cannot load serializer class oracle.xml.xsql.serializers.fop203.
I'm using the XDK 9.2.0.4 with jsdk 1.4.1 and tomcat 4.1.18 on Redhat Linux.
Has anyone had have the same problem? Has anyone a solution for this problem?
Regards
Uwe

Does the XSQLSampleSerializer exhibit the same problem?
That is, can we rule out the fact that it's related at all to FOP?
If you browse the following page, does it work?
<?xml version="1.0"?>
<?xml-stylesheet serializer="java:oracle.xml.xsql.serializers.XSQLSampleSerializer"?>
<foo-with-java/>This sample serializer should be in your xsqlserializers.jar file.

Similar Messages

  • Error class cannot be loaded (oracle.xml.xsql.ViewObject)?

    Hallo,
    i want to use oracle.xml.xsql.ViewObject and i become the error class cannot be loaded in xsql action.
    What can it be?
    Any help is appreciated

    Thanks lot for the quick response.
    I have copied the sqljdbc.jar file to the ThirdParty folder and restarted in App server. Now that the earlier error "The target database JDBC driver class cannot be loaded" is not appearing while provisioning in the rejected task.
    I am getting a new error "GCPROV.ProvTransportProvider.DBProvisioningTransport.DB_GET_CONNECTION_ERROR".
    Can you please let me know the reason for this. All the connections parameters are correct to connect to the target databse.
    Waiting for the response.

  • Cannot locate Java class oracle.tip.adapter.db.DBWriteInteractionSpec

    I have created a BPEL process in which i have used DB Adapter when i try to deploy the soa suite coposite i am getting the following error.
    [09:36:10 PM] Error deploying archive sca_TicketBooking_rev1.0.jar to partition "default" on server soa_server1 [http://utl-7c8735e613f:8001]
    [09:36:10 PM] HTTP error code returned [500]
    [09:36:10 PM] Error message from server:
    There was an error deploying the composite on soa_server1: [JCABinding] [TicketBooking.TicketBooking/1.0]Unable to complete unload due to: Cannot locate Java class oracle.tip.adapter.db.DBWriteInteractionSpec: Cannot locate Java class oracle.tip.adapter.db.DBWriteInteractionSpec.
    [09:36:10 PM] Check server log for more details.
    [09:36:10 PM] Error deploying archive sca_TicketBooking_rev1.0.jar to partition "default" on server soa_server1 [http://utl-7c8735e613f:8001]
    [09:36:10 PM] #### Deployment incomplete. ####
    [09:36:10 PM] Error deploying archive file:/D:/Personal/OracleWork/RnDProjects/TicketBooking/TicketBooking/deploy/sca_TicketBooking_rev1.0.jar
    (oracle.tip.tools.ide.fabric.deploy.common.SOARemoteDeployer)
    I already created the data source and JNDI Name in the DBAdapter but still getting the error while deploying the application.
    One mistake that i think i have made after creating the data source now the DBAdapter.rar file taking the path as follows.
    Source Path:     C:\ Oracle\ Middleware\ Oracle_SOA1\ soa\ connectors\ was\ DbAdapter. rar
    Deployment Plan: C:\ Oracle\ Middleware\ Oracle_SOA1\ soa\ connectors\ was\ Plan. xml
    initially the path was as follows:
    Source Path:     C:\ Oracle\ Middleware\ Oracle_SOA1\ soa\ connectors\ DbAdapter. rar
    Deployment Plan: C:\ Oracle\ Middleware\ Oracle_SOA1\ soa\ connectors\ Plan. xml
    Please help me i have googled a lot but can't find the answer anywhere.
    Thanks in advance

    Mate ,
    Just check the health status and state of DB Adapter in the deployments of WLAdminConsole.
    If its inactive , redeploy and update it ,also make sure its targeted to the right server.

  • Oracle.xml.xsql.XSQLServlet in Java Web Server 2.0

    Does anyone know how to add the oracle.xml.xsql.XSQLServlet in the Java Web Srever 2.0? When running the helloworld.xsql I am now getting the following error message.
    "500 Internal Server Error
    The servlet named oracle.xml.xsql.XSQLServlet at the requested URL
    http://nw601250:8080/xsql/demo/helloworld.xsql
    reported this exception: java.security.AccessControlException: access denied (java.io.FilePermission C:\JavaWebServer2.0\public_html\xsql\demo\helloworld.xsql read). Please report this to the administrator of the web server.
    java.lang.RuntimeException: java.security.AccessControlException: access denied (java.io.FilePermission C:\JavaWebServer2.0\public_html\xsql\demo\helloworld.xsql read) at oracle.xml.xsql.XSQLPageManager.getPage(XSQLPageManager.java:122) at oracle.xml.xsql.XSQLPageProcessor.process(XSQLPageProcessor.java, Compiled Code) at oracle.xml.xsql.XSQLServlet.doGet(XSQLServlet.java:124) at javax.servlet.http.HttpServlet.service(HttpServlet.java:715) at javax.servlet.http.HttpServlet.service(HttpServlet.java:840) at com.sun.server.ServletState.callService(ServletState.java:226) at com.sun.server.ServletManager.callServletService(ServletManager.java:936) at com.sun.server.ProcessingState.invokeTargetServlet(ProcessingState.java:423) at com.sun.server.http.HttpProcessingState.execute(HttpProcessingState.java:79) at com.sun.server.http.stages.Runner.process(Runner.java:79) at com.sun.server.ProcessingSupport.process(ProcessingSupport.java, Compiled Code) at com.sun.server.Service.process(Service.java:204) at com.sun.server.http.HttpServiceHandler.handleRequest(HttpServiceHandler.java:374) at com.sun.server.http.HttpServiceHandler.handleRequest(HttpServiceHandler.java:166) at com.sun.server.HandlerThread.run(HandlerThread.java:162)"
    I have the alias *.xsql set to map to the servlet named oracle.xml.xsql.XSQLServlet under the Servlet Aliases section, but I'm not sure how to add the servlet under the Servlet section, as I'm guessing that this is the problem I'm now experiencing. I tried adding oracle.xml.xsql.XSQLServlet as both the servlet name and class, but this is not working.
    Any help would be greatly appreciated. Thanks!

    Rani,
    The following is part of a message that was posted back on Nov. 7 of '99 from Steve Muench. I just followed this exactly with the Java Web Server 1.0.1 and it worked fine (including adding the classpath settings and xsql servlet mappings as it says below). Thanks,Dan
    Here's the steps I just followed to run all the XSQL Demos under JSWDK 1.0.1
    (1) Downloaded jswdk1_0_1-win.zip from Sun
    (2) Installed in D:\jswdk-1.0.1
    (3) Edited "startserver.bat" to add the
    classpath entries needed by XSQL Servlet:
    set CLASSPATH=%CLASSPATH%;d:\xsql\lib
    set CLASSPATH=%CLASSPATH%;d:\xsql\lib\classes111.zip
    set CLASSPATH=%CLASSPATH%;d:\xsql\lib\oraclexsql.jar
    set CLASSPATH=%CLASSPATH%;d:\xsql\lib\oraclexmlsql.jar
    set CLASSPATH=%CLASSPATH%;d:\xsql\lib\xmlparserv2.jar
    (4)Edited d:/jswdk-1.0.1/webpages/WEB-INF/servlets.properties and added the line:
    xsql.code=oracle.xml.xsql.XSQLServlet
    (5) Edited d:/jswdk-1.0.1/webpages/WEB-INF/mappings.properties
    and added the line:
    .xsql=xsql
    (6) Copied D:\xsql\demo to D:/jswdk-1.0.1/webpages/xsql/demo
    (7) Started the Webserver with "startserver.bat"
    (8) Browsed http://localhost:8080/xsql/demo/index.html
    (9) Exercised all the demos.
    Hope this helps.
    Steve Muench
    Oracle XML Team

  • Class oracle.xml.sql.query.OracleXMLQuery not found in import

    I tried to perform load java using a non-sys user :
    loadjava -user user1/passwd -v -o -r Archive.java
    but encountered the following error:
    Errors in Archive:
    ORA-29535: source requires recompilation
    Archive:11: Class oracle.xml.sql.query.OracleXMLQuery not found in import.
    Info: 1 errors
    loadjava: 3 errors
    But if I use sys user I don't have any error:
    loadjava -user sys/manager -v -o -r Arachive.java
    initialization complete
    loading : Archive
    creating : Archive
    resolver :
    resolving: Archive
    Why is this so?
    ANy security setup that I missed?
    Thanks in advance.
    Note:
    my Archive.java file contains:
    // Core Java Classes
    import java.io.*;
    import java.sql.*;
    // Oracle Java classes
    import oracle.jdbc.*;
    import oracle.jdbc.driver.*;
    import oracle.xml.sql.query.OracleXMLQuery;
    null

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Azman Diron ([email protected]):
    I tried to perform load java using a non-sys user :
    loadjava -user user1/passwd -v -o -r Archive.java
    but encountered the following error:
    Errors in Archive:
    ORA-29535: source requires recompilation
    Archive:11: Class oracle.xml.sql.query.OracleXMLQuery not found in import.
    Info: 1 errors
    loadjava: 3 errors
    But if I use sys user I don't have any error:
    loadjava -user sys/manager -v -o -r Arachive.java
    initialization complete
    loading : Archive
    creating : Archive
    resolver :
    resolving: Archive
    Why is this so?
    ANy security setup that I missed?
    Thanks in advance.
    Note:
    my Archive.java file contains:
    // Core Java Classes
    import java.io.*;
    import java.sql.*;
    // Oracle Java classes
    import oracle.jdbc.*;
    import oracle.jdbc.driver.*;
    import oracle.xml.sql.query.OracleXMLQuery;
    <HR></BLOCKQUOTE>
    Managed to solve this problem.
    Drop all xml objects owned by sys and user1.
    Reload xml objcets for user1 with -force option.
    null

  • ORA-29540: class oracle/xml/sql/query/OracleXMLStaticQuery does not exist

    I am getting below error when trying to generate xml. Browsing on google did not help me. I would appreciate if someone can provide the solution.
    SQL> select dbms_xmlquery.getxml('select * from dual', 2) from dual;
    ERROR:
    ORA-29540: class oracle/xml/sql/query/OracleXMLStaticQuery does not exist
    ORA-06512: at "SYS.DBMS_XMLQUERY", line 19
    ORA-06512: at "SYS.DBMS_XMLQUERY", line 271
    ORA-06512: at line 1

    Then it is probably not the case that you are affected by the issue described in Metalink document 185857.1, but if I were you I would check it anyway, since it might be the problem.

  • Oracle XSU class oracle.xml.sql.dataset.OracleXMLDataSetExtJdbc bug

    Hi,
    The oracle class oracle.xml.sql.dataset.OracleXMLDataSetExtJdbc needlessly casts the java.sql.Connection it receives in its constructor to oracle.jdbc.driver.OracleConnection.
    This will work fine in most circumstances, but throws a class cast exception when a proxified connection is used such that the connection is a wrapper rather than an instance of OracleConnection.
    I believe there would be absolutely no need for the oracle class to cast the connection to its derived form.
    Please correct this problem in the XSU as soon as possible.
    Thanks in advance,
    -- Dave Campbell

    Yes, of course I have. If you carefully see my first post, you will notice that I get an
    'ORA-00904: invalid column name' error when I - in purpose - use an invalid Query, which means that communication with Oracle DB is fine. The problem appears when my Query does return some results. It's really confusing me...
    Any other ideas?
    thanks!
    -n-
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Jinyu Wang ([email protected]):
    Have you include JDBC lib in your classpath?<HR></BLOCKQUOTE>
    null

  • Cannot load required classes for service SLD Data supplier

    Hello Experts,
             I am trying to use the SLD Data supplier service from visual administartor for registering my DEV EP 7.0 engine in central SLD.When am trying to access that particular service from visual admin,it is throwing an error saying that:"Cannot load required classes for SLD Data Supplier service and please refer the not for resolution Note No:1017526.
    My NW EP 7.0 is at SP17 level and as per the above note all settings are fine and the relevant application is also started well.
    Please suggest us for any possible solution.
    Thanks&Regards,
    Apparao S.

    > You can also try the following: Move sldserv.jar from
    > /usr/sap/<SID>/<InstID>/j2ee/cluster/server0/bin/services/sld/
    > to
    > /usr/sap/<SID>/<InstID>/j2ee/admin/lib/
    Hi Desiree,
    Thanks, worked for me too.
    Only in my case, when I moved the file, the sld data provider service did not start at all after reboot of the instance.
    Also, the sap.com/tcsldwd~main application refused to start.
    I then copied the file back, this time maintaining an entry in both locations and reboot the instance. Everything started working after I reboot the instance. The error also disappeared and I was able to change the SLDuser password.
    Thanks
    Prasad

  • Failed to load Main Class: oracle.sysman.emSDK.conf.TargetInstaller

    After upgrading from 10.2.0.2 to 10.2.0.4, I am unable to run any Console commands. The errors I get are as follows:
    l1eddb01:L1CORP > emctl status dbconsole
    Failed to load Main Class: oracle.sysman.emSDK.conf.TargetInstaller
    Failed to load Main Class: oracle.sysman.emSDK.conf.TargetInstaller
    Failed to load Main Class: oracle.sysman.emSDK.conf.TargetInstaller
    OC4J Configuration issue. /opt/oracle/edmdb/product/10.2.0.4/oc4j/j2ee/OC4J_DBConsole__L1CORP not found.
    l1eddb01:L1CORP >
    Does anyone have any idea what happened during the upgrade that would have caused emctl, emca, etc. commands to stop working?

    Don't know why it has not re-created the OC4J container.
    Do you have anything in /opt/oracle/edmdb/product/10.2.0.4/oc4j/j2ee/
    Have you tried re-creating it?
    ./emca -config dbcontrol db
    If not try re-running dbua.

  • Cannot locate Java class oracle.tip.adapter.jms.outbound.JmsProduceInteract

    Hi team ,
    I am trying to developing the JMS queue in BPEL. For it, i configure JMS adapter in BPEL. compilation done sucessfully.
    But during deployement , i am getting the following error.
    [12:21:06 PM] HTTP error code returned [500]
    [12:21:06 PM] Error message from server:
    There was an error deploying the composite on soa_server1: [JCABinding] [textmessageusingqueues.enqueue/1.0]Unable to complete unload due to: Cannot locate Java class oracle.tip.adapter.jms.outbound.JmsProduceInteractionSpec: Cannot locate Java class oracle.tip.adapter.jms.outbound.JmsProduceInteractionSpec.
    So please resolve my problem.
    Regards
    Narsi p

    Mate ,
    Just check the health status and state of DB Adapter in the deployments of WLAdminConsole.
    If its inactive , redeploy and update it ,also make sure its targeted to the right server.

  • Cannot load component class className from project: ProjectName

    Hi guys,
    I've a strange issue.
    I found some solutions on google and on this forum, but they doesn't work for me.
    I've a javafx application in netbeans in which I also use swing controls.
    I created a custom jlabel control
    public class Label extends JLabel {
        public Label()
        private void setAspect(String csFontName, int nSizeFont, boolean bold,Color cColor)
            int style=bold ? Font.BOLD : Font.PLAIN;
            this.setFont(new Font(csFontName,style,nSizeFont));
            this.setForeground(cColor);
        public Label(String csText)
            super(csText);
            setAspect("Tahoma",10,false,Color.black);
        public Label(String csText, int nSize)
            super(csText);
            setAspect("Tahoma",nSize,false,Color.black);
        public Label(String csText, int nSize, boolean bold)
            super(csText);
            setAspect("Tahoma",10,bold,Color.black);
        public Label(String csText, int nSize, boolean bold, Color cColor)
            super(csText);
            setAspect("Tahoma",10,bold,Color.black);
    }I selected Label.java file in the project and I click on Tools->add to palette and I selected Swing controls as family.
    I restarted netbeans and I found it in the palette.
    I try to drag it into my swing form and I've :
    Cannot load component class <ProjectName>.Label from project: D:\Progetti\<ProjectName>.
    The class must be compiled and must be on the classpath of the project to which this form belongs.Following forums I went on netbeans log
    org.openide.ErrorManager$AnnException: msg
         at org.openide.ErrorManager$AnnException.findOrCreate(ErrorManager.java:870)
         at org.openide.ErrorManager$DelegatingErrorManager.annotate(ErrorManager.java:653)
    Caused by: java.lang.ClassNotFoundException: <ProjectName>.Label
         at org.netbeans.modules.form.project.ProjectClassLoader.findClass(ProjectClassLoader.java:178)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
         at org.netbeans.modules.form.project.FormClassLoader.findClass(FormClassLoader.java:83)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:247)
         at org.netbeans.modules.form.project.ClassPathUtils.loadClass(ClassPathUtils.java:98)
         at org.netbeans.modules.form.MetaComponentCreator.prepareClass0(MetaComponentCreator.java:1322)
         ... 34 more
    msg
    Cannot load component class ortholab2.Label from project: D:\Progetti\<ProjectName>.
    The class must be compiled and must be on the classpath of the project to which this form belongs.I hope someone can help me ,
    Thanks

    That sounds more like a NetBeans-specific question, not a general java programming question.
    Plus, your desciption is inconsistent:
    Cannot load component class <ProjectName>.Label from project: D:\Progetti\<ProjectName>.
    Cannot load component class ortholab2.Label from project: D:\Progetti\<ProjectName>What is the fully-qualified name of this class: ortholab2.Label ? ortholab2 being both the package name and the project name?
    And where do you use it, in the same project or in yet another NetBeans project?

  • Java.lang.NullPointerException at oracle.xml.xsql.XSQLHttpUtil.HttpRequestAsXMLDocume

    Hello Everyone,
    I get the following error in the <request> element of my XML result from any XSQL page. This always occurs when the page is linked from a JSP page using a simple hyperlink, accessed with <jsp:forward> or accessed with <jsp:include>. This occurs both when I include a request parameter and when I don't.
    If I access the XSQL page directly through its URL in my browser or as a link from a regular HTML page this does not occur.
    However, once I link or include to the XSQL page and get the error I continue to get it until I stop and restart the server.
    Oracle XDK Java 9.2.0.2.0 Production
    Development Environment: WebSphere Studio Application Developer 4.02
    OS: NT 4.0 SP6
    Even this simple Hello World! example produces the error when linked from a JSP page:
    <?xml version="1.0"?>
    <page connection="ghms" xmlns:xsql="urn:oracle-xsql">
         <xsql:include-request-params/>
    <xsql:query>
              SELECT 'Helo World!' AS text
              FROM DUAL
    </xsql:query>
    </page>
    Error:
    <request>java.lang.NullPointerException
         at oracle.xml.xsql.XSQLHttpUtil.HttpRequestAsXMLDocument(XSQLHttpUtil.java:116)
         at oracle.xml.xsql.XSQLServletPageRequest.getRequestParamsAsXMLDocument(XSQLServletPageRequest.java:382)
         at oracle.xml.xsql.actions.XSQLIncludeRequestHandler.handleAction(XSQLIncludeRequestHandler.java:39)
         at oracle.xml.xsql.XSQLDocHandler.getDocument(XSQLDocHandler.java:149)
         at oracle.xml.xsql.XSQLPageProcessor.process(XSQLPageProcessor.java:140)
         at oracle.xml.xsql.XSQLServlet.doGet(XSQLServlet.java:60)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.ibm.servlet.engine.webapp.StrictServletInstance.doService(ServletManager.java:827)
         at com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(StrictLifecycleServlet.java:167)
         at com.ibm.servlet.engine.webapp.IdleServletState.service(StrictLifecycleServlet.java:297)
         at com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(StrictLifecycleServlet.java:110)
         at com.ibm.servlet.engine.webapp.ServletInstance.service(ServletManager.java:472)
         at com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(ServletManager.java:1012)
         at com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(ServletManager.java:913)
         at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:523)
         at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:282)
         at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:112)
         at com.ibm.servlet.engine.srt.WebAppInvoker.doForward(WebAppInvoker.java:91)
         at com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:184)
         at com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:67)
         at com.ibm.servlet.engine.invocation.CacheableInvocationContext.invoke(CacheableInvocationContext.java:106)
         at com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:125)
         at com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEListener.java:315)
         at com.ibm.servlet.engine.http11.HttpConnection.handleRequest(HttpConnection.java:60)
         at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:323)
         at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:252)
         at com.ibm.ws.util.CachedThread.run(ThreadPool.java:122)
    </request>

    Please refer to Oracle bug 3973353 in Metalink. The solution is as following:
    - extract BC4JRequestProcessor.java from \BC4J\src\bc4jstrutssrc.zip
    - copy BC4JRequestProcessor.java to ...\project\src\oracle\jbo\html\struts11\BC4JRequestProcessor.java
    - comment the following lines (lines 347 to 351):
    // Overide only if the action mapping is a BC4JActionMapping.
    // ActionMapping mapping = (ActionMapping)
    // request.getAttribute(Globals.MAPPING_KEY);
    // if (! (mapping instanceof BC4JActionMapping) )
    // return super.processMultipart(request);
    Regards,
    Rayyen

  • Could not find or load main class oracle.spatial.util.SampleShapefileToJGeomFeature?

    Hi,
    Am getting below error while performing ESRI shapefile into oracle database table.,
    C:\>java -cp G:\app\product\11.2.0\dbhome_1\jdbc\lib\ojdbc14.jar;G:\app\product\
    11.2.0\dbhome_1\md\jlib\sdoutl-1.0.jar;\G:\app\product\11.2.0\dbhome_1\md\jlib\s
    doapi-1.0.jar oracle.spatial.util.SampleShapefileToJGeomFeature -h localhost -p
    1521 -sn orcl -u MDSYS -d selva -t shapes -f F:\saptial\Africa.shp -r 8307 -g ge
    ometry
    Error: Could not find or load main class oracle.spatial.util.SampleShapefileToJGeomFeature
    Am using java version as ,
    C:\>java -version
    java version "1.7.0_51"
    Java(TM) SE Runtime Environment (build 1.7.0_51-b13)
    Java HotSpot(TM) Client VM (build 24.51-b03, mixed mode, sharing)
    And also tried in MapBuilder its working fine.,but i need to import using java utility can any help me too this.,

    i had tried below this way and problem got solved .,
    Before i have downloaded
    sdoutl-11.2.0.jar and sdoapi-11.2.0.jar used it for import shp file ..
    C:\>set ORACLE_HOME=G:\app\product\11.2.0\dbhome_1
    C:\Users\SELVA>cd downloads
    C:\Users\SELVA\Downloads>cd statplanet_zambia
    C:\Users\SELVA\Downloads\StatPlanet_Zambia>cd map
    located into particular path and set my oracle home
    C:\Users\SELVA\Downloads\StatPlanet_Zambia\map>set ORACLE_HOME=G:\app\product\11.2.0\dbhome_1
    C:\Users\SELVA\Downloads\StatPlanet_Zambia\map>java -classpath %ORACLE_HOME%\jdb
    c\lib\ojdbc5.jar;%ORACLE_HOME%\md\jlib\sdoutl-11.2.0.jar;%ORACLE_HOME%\md\jlib\sdoapi-11.2.0.jar oracle.spatial.util.SampleShapefileToJGeomFeature -h localhost -p 1521 -s orcl -u MDSYS -d selva -t zambia -f map -r 8307 -g geometry
    host: localhost
    port: 1521
    sid: orcl
    db_username: MDSYS
    db_password: selva
    db_tablename: zambia
    shapefile_name: map
    SRID: 8307
    db_geometry_column: geometry
    Connecting to Oracle10g using...
    localhost, 1521, orcl, MDSYS, selva, zambia, map, null, 8307
    Dropping old table...
    java.sql.SQLException: ORA-00942: table or view does not exist
    Creating new table...
    9 record(s) converted.
    Done.
    Thanks
    Selva

  • Cannot load transform class (xml.tld)

    Hi,
    I have an application that transforms XML into HTML using XML taglib (xml.tld, xml.jar).
    I have no problems to run it in JDeveloper and no problem to deploy it into Oracle AS 10g. I need to test de app too in Apache Tomcat and there it does not work. The message I get is "org.apache.jasper.JasperException: /jsp/pantalla.jsp(218,15) Failed to load transfor class" and in Tomcat logs appears:
    Failed to load TagExtraInfo class called from oracle.jsp.jml.tagext.xmlTagTEI: oracle.jsp.jml.tagext.xmlTagTEI
    Failed to load TagExtraInfo class called from oracle.jsp.jwcache.tagext.CacheXMLObjTEI: oracle.jsp.jwcache.tagext.CacheXMLObjTEI
    Any idea ? Thanks in advance

    Copy the taglib jar fiel to the shared/lib directory.

  • XSQL-022 error on using FOP - serializer class not found; urgent!

    Hi all,
    currently using XDK 9.2.0.1.0. On trying to invoke Apache FOP serializer I just get the following error message:
    XSQL-022: Cannot load serializer class oracle.xml.xsql.serializers.fopserializer
    and I really don't know why....
    Running XSQL Servlet within Tomcat 4 Engine, but error pops up using both, Tomcat way and/or just the commandline invoker xsql.bat.
    Generally XSQL Servlet is working correctly.
    My classpath setting contains:
    xmlparserv2.jar; batik.jar; classes12.jar; fop.jar; fopserializer.jar; oraclexsql.jar; sax2.jar; xalan-2.0.0.jar; xalanj1compat.jar; xerces-1.2.3.jar; xschema.jar; XSQLConfig.jar; xsu12.jar
    The serializer being redefined in XSQLConfig is just:
    <serializer>
    <name>FOP203</name>
    <class>oracle.xml.xsql.serializers.fopserializer</class>
    </serializer>
    This is because of using FOP 0.20.3, so having my own serializer class due to API change in FOP 0.20.x; my fopserializer is looking like that:
    package oracle.xml.xsql.serializers;
    import org.w3c.dom.Document;
    import java.io.PrintWriter;
    import oracle.xml.xsql.*;
    import org.apache.fop.messaging.MessageHandler;
    import org.apache.fop.apps.*;
    import java.io.*;
    // FOP 0.20.3 Serializer implementation for XSQL
    public class fopserializer implements XSQLDocumentSerializer
    private static final String PDFMIME="application/pdf";
    public void serialize(Document doc, XSQLPageRequest req) throws Throwable
    try
    Driver FOPDriver = new Driver();
    FOPDriver.setRenderer(FOPDriver.RENDER_PDF);
    MessageHandler.setOutputMethod(MessageHandler.NONE);
    FOPDriver.setupDefaultMappings();
    req.setContentType(PDFMIME);
    FOPDriver.setOutputStream(req.getOutputStream());
    FOPDriver.render(doc);
    catch (Exception e)
    e.printStackTrace(System.err);
    In my XSQL file I'm using the following PI:
    <?xml-stylesheet type="text/xsl" href="listemps.fo" serializer="FOP203"?>
    Any suggestions what is wrong in here ?
    Can't use the original xsqlserializer.jar either - same error.
    Thanks in advance
    Jochen

    Hi Jochen,
    I'm working with Tomcat 4.0.3, FOP 20.0.3 and XDK 9.2.0.1.0, too.
    I've copied all the jar-files into tomcat/common/lib. I think that you can't use the MessageHandler in fop20.0.3. I'm using the following serializer:
    package diva.xml.xsql.serializers;
    import org.w3c.dom.Document;
    import java.io.PrintWriter;
    import oracle.xml.xsql.*;
    import org.apache.fop.apps.*;
    import org.apache.log.*;
    import org.apache.log.format.*;
    import org.apache.log.output.io.*;
    import org.apache.avalon.*;
    import java.io.*;
    public class XSQLFOP203Serializer implements XSQLDocumentSerializer {
    private static final String PDFMIME = "application/pdf";
    private static final String CONFPATH = "/usr/local/fop/conf/userconfig.xml";
    public void serialize(Document doc, XSQLPageRequest env) throws Throwable {
    try {
    // Open user config file
    File userConfigFile = new File(CONFPATH);
    Options options = new Options(userConfigFile);
    // First make sure we can load the driver
    Driver FOPDriver = new Driver();
    // Setup logging
    Hierarchy hierarchy = Hierarchy.getDefaultHierarchy();
    PatternFormatter formatter = new PatternFormatter("[%{priority}]: %{message}\n%{throwable}" );
    LogTarget target = null;
    target = new StreamTarget(System.out, formatter);
    hierarchy.setDefaultLogTarget(target);
    Logger log = hierarchy.getLoggerFor("fop");
    log.setPriority(Priority.INFO);
    FOPDriver.setLogger(log);
    // Then set the content type before getting the reader/
    env.setContentType(PDFMIME);
    FOPDriver.setRenderer(FOPDriver.RENDER_PDF);
    FOPDriver.setOutputStream(env.getOutputStream());
    FOPDriver.render(doc);
    catch (Exception e) {
    // Cannot write PDF output for the error anyway.
    // So maybe this stack trace will be useful info
    e.printStackTrace(System.err);
    Hope this helps
    Uwe

Maybe you are looking for

  • Can't see my events in iCal

    Hi all, maybe someone can help me with the following scenario. I synchronize my Sony Ericsson cellphone via iSync to iCal. Afer installing new software on my cellphone, all data got lost (of course). As I wanted to synchronize my data to the cellphon

  • GL Table Name Require

    Hi, I want to know in which GL table i can get following information. GL Code     Document No.     Posting Date     Entry Time     Amount. Regards, Nilesh Surve. Moderator: Please, search before posting

  • Multiline mapping

    Hi, There are many invoices present in the incoming message. I have to make a single Bapi call for each invoice. For this purpose in the BPM I need to map the message to a multiline container, so that in the next block I can loop each line of this mu

  • Time characteristic hierarchy in drill down report

    Hello Experts, I try to modify the standard drilldown report in CJE2 - 001/12KST1C. It contains selection characteristic Period/year. Is it possible to add hierarchy to this characteristic? Ie. I want to be able to select year and drill down to perio

  • IPhone 4s glitches, is cracked, and camera flash doesn't work. What is the cost to exchange for a new one?

    Front screen of my iPhone 4s is cracked, it freezes/lags, camera flash doesn't work, and every time you press a bit harder on the front screen red and grey vertical lines appear. I have had it for more than a year now, so how much will it cost for me