BI Publisher and TomCat JDBC error

Hey Folks,
I have BI Pulbisher up and running in a cluster mode on a Solaris box with a shared folder such as (/u01/app/BI_Publisher/xmlp) as the file path in WEB-INF\xmlp-server-congfig.xml. All my reports and XMLP configuration folders are stored in that directory (ie. Admin, DemoFiles, Reports, Tools etc..). BI Publisher is up and running under the tomcat user id.
My OBIEE directory is contained in /opt/oracle/app/OracleBI....
Now when I deployed the xmlpserver.war file and configure my connections, everything was working properly.
Now I see the following exception being thrown in the tomcat logs. This error msgs are inserted to the logs every second and it will fill up the log file in a matter of hours which makes the BI Publisher go down.
I have to erase the logs and re-cycle the tomcat server and everything is fine again, but these msgs keep filling up the logs.
How can i solve this issue of "Cannot load JDBC driver class 'oracle.jdbc.OracleDriver'"?
Cannot load JDBC driver class 'oracle.jdbc.OracleDriver'
java.lang.ClassNotFoundException: oracle.jdbc.OracleDriver
     at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1352)
     at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1198)
     at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
     at java.lang.Class.forName0(Native Method)
     at java.lang.Class.forName(Class.java:164)
     at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:730)
     at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:518)
     at org.quartz.utils.PoolingConnectionProvider.getConnection(PoolingConnectionProvider.java:172)
     at org.quartz.utils.DBConnectionManager.getConnection(DBConnectionManager.java:111)
     at org.quartz.impl.jdbcjobstore.JobStoreSupport.getConnection(JobStoreSupport.java:553)
     at org.quartz.impl.jdbcjobstore.JobStoreTX.doCheckin(JobStoreTX.java:1321)
     at org.quartz.impl.jdbcjobstore.JobStoreSupport$ClusterManager.manage(JobStoreSupport.java:2338)
     at org.quartz.impl.jdbcjobstore.JobStoreSupport$ClusterManager.run(JobStoreSupport.java:2369)
Cannot load JDBC driver class 'oracle.jdbc.OracleDriver'
java.lang.ClassNotFoundException: oracle.jdbc.OracleDriver
     at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1352)
     at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1198)
     at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
     at java.lang.Class.forName0(Native Method)
     at java.lang.Class.forName(Class.java:164)
     at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:730)
     at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:518)
     at org.quartz.utils.PoolingConnectionProvider.getConnection(PoolingConnectionProvider.java:172)
     at org.quartz.utils.DBConnectionManager.getConnection(DBConnectionManager.java:111)
     at org.quartz.impl.jdbcjobstore.JobStoreSupport.getConnection(JobStoreSupport.java:553)
     at org.quartz.impl.jdbcjobstore.JobStoreTX.doCheckin(JobStoreTX.java:1321)
     at org.quartz.impl.jdbcjobstore.JobStoreSupport$ClusterManager.manage(JobStoreSupport.java:2338)
     at org.quartz.impl.jdbcjobstore.JobStoreSupport$ClusterManager.run(JobStoreSupport.java:2369)
Cannot load JDBC driver class 'oracle.jdbc.OracleDriver'
java.lang.ClassNotFoundException: oracle.jdbc.OracleDriver
     at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1352)
     at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1198)
     at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
     at java.lang.Class.forName0(Native Method)
     at java.lang.Class.forName(Class.java:164)
     at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:730)
     at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:518)
     at org.quartz.utils.PoolingConnectionProvider.getConnection(PoolingConnectionProvider.java:172)
     at org.quartz.utils.DBConnectionManager.getConnection(DBConnectionManager.java:111)
     at org.quartz.impl.jdbcjobstore.JobStoreSupport.getConnection(JobStoreSupport.java:553)
     at org.quartz.impl.jdbcjobstore.JobStoreTX.doCheckin(JobStoreTX.java:1321)
     at org.quartz.impl.jdbcjobstore.JobStoreSupport$ClusterManager.manage(JobStoreSupport.java:2338)
     at org.quartz.impl.jdbcjobstore.JobStoreSupport$ClusterManager.run(JobStoreSupport.java:2369)
Cannot load JDBC driver class 'oracle.jdbc.OracleDriver'
java.lang.ClassNotFoundException: oracle.jdbc.OracleDriver
     at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1352)
     at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1198)
     at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
     at java.lang.Class.forName0(Native Method)
     at java.lang.Class.forName(Class.java:164)
     at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:730)
     at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:518)
     at org.quartz.utils.PoolingConnectionProvider.getConnection(PoolingConnectionProvider.java:172)
     at org.quartz.utils.DBConnectionManager.getConnection(DBConnectionManager.java:111)
     at org.quartz.impl.jdbcjobstore.JobStoreSupport.getConnection(JobStoreSupport.java:553)
     at org.quartz.impl.jdbcjobstore.JobStoreTX.doCheckin- ClusterManager: Error managing cluster: Failed to obtain DB connection from data source 'myDS': org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC driver class 'oracle.jdbc.OracleDriver', cause: oracle.jdbc.OracleDriver
org.quartz.JobPersistenceException: Failed to obtain DB connection from data source 'myDS': org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC driver class 'oracle.jdbc.OracleDriver', cause: oracle.jdbc.OracleDriver [See nested exception: org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC driver class 'oracle.jdbc.OracleDriver', cause: oracle.jdbc.OracleDriver]
     at org.quartz.impl.jdbcjobstore.JobStoreSupport.getConnection(JobStoreSupport.java:570)
     at org.quartz.impl.jdbcjobstore.JobStoreTX.doCheckin(JobStoreTX.java:1321)
     at org.quartz.impl.jdbcjobstore.JobStoreSupport$ClusterManager.manage(JobStoreSupport.java:2338)
     at org.quartz.impl.jdbcjobstore.JobStoreSupport$ClusterManager.run(JobStoreSupport.java:2369)

setpath for the bijdbc.jarfor OBIEE and ojdbc.jar for Oracle DB file .
that should resolve this library not found error.

Similar Messages

  • Trying to publish and getting error message.

    Never fails...if I don't have time for a problem, Muse goes whacky. I don't have problems with any other Adobe software. But this one? wow.
    I'm just trying to publish and I'm getting the 400, 101004 error message.
    I delted extra files and would love to uninstall but how do I do that?
    And, when I relaunch, it tells me that my subscription expired. Nice. It hasn't.
    This sort of stuff reminds me of the old days with System 7 OS and everything crashing.

    Hello,
    Please try de-activating and re-activating Muse from the Help menu and re-launch (follow the onscreen prompts).
    If the above doesn't help, please try clearing Muse preferences as mentioned here - http://forums.adobe.com/message/5086018#5086018 . Once done try to publish again and let me know if you get any error message.
    Cheers,
    Surjeet

  • Jsp import package error after upgrading to jdk1.4.2_08 and tomcat 5.0

    I am trying to upgrade the jdk and tomcat from 1.3/3.3 to 1.4/5.0.
    My jsp imports worked fine prior to the upgrade, but now I get the following:
    Jun 6, 2005 10:01:17 AM org.apache.jasper.compiler.Compiler generateClass
    SEVERE: Error compiling file: /C:/Tomcat/work/Catalina/localhost/Print//org/apac
    he/jsp\BillingPrompt_jsp.java [javac] Compiling 1 source file
    C:\Tomcat\work\Catalina\localhost\Print\org\apache\jsp\BillingPrompt_jsp.java:11
    : package com.adware.print.database.inquire does not exist
    import com.adware.print.database.inquire.*;
    ^
    1 error
    A fatal error has occured for user: Unable to compile class for JSP
    Generated servlet error:
    C:\Tomcat\work\Catalina\localhost\Print\org\apache\jsp\BillingPrompt_jsp.java:11
    : package com.adware.print.database.inquire does not exist
    import com.adware.print.database.inquire.*;
    The package in the import statement "import com.adware.print.database.inquire.*" actually has no classes in it. The classes are contained in "import com.adware.print.database.inquire.controller.*". If I change the import statement everything works. The problem is that I have 100s of jsps. If there is a work-around outside of changing the import statements, that would be best.
    Can anyone help? Thanks.

    do you know what url is being looked up? the message is complaining that the url is starting with the string "an]", which seems pretty bogus.

  • Error integrating publisher and BI

    Hi all!
    I'm trying the 11g version of BI. We want to separate the security of Publisher and Analytics: in Publisher the users log with LDAP. This is ok, because users can log perfectly in both places. The problem is when we try to do one report in Publisher. The next error appears:
    No input xdo file path is specified
    And we can't, for example, create a data model from Answers because the catalog appears empty.
    What's happening?? What does that error mean?
    Thanks in advance

    Hi ,
    I am experiencing the same problem.
    From the Application Roles;
    First , I created a role like 'XMLP_ADMIN'.
    ThenI gave authenticated-role to the XMLP_ADMIN
    When I do like this I can handle my problem.I hope this helps...

  • Error oracle.sql.* and oracle.jdbc.driver.* not found when using oracle as a database

    I am using oracle as database and weblogic 4.5. I have copied the classes12.zip file in lib directory of weblogic. I am getting the error that oracle.sql.* and oracle.jdbc.driver.* not found when i am importing these packages in a jsp file. what i need to do to import oracle driver packages?I put it in the classpath also.
    Please Advice!
    Thanks in advance
    AnuPama

    Hi Anupama,
    First of all I would be surprised if you would not like to use the connection pooling feature of weblogic (in which case you might not be needing the import the classes directly), and would like to open direct connections to your database. Anyways for doing that I would recommend you to check out the readme doc that ships
    along with the jdbc oracle (classes12.zip etc). I am giving an excerpt over here:
    These are a few simple things that you should do in your JDBC program:
    1. Import the necessary JDBC classes in your programs that use JDBC.
    For example:
    import java.sql.*;
    import java.math.*;
    2. Register the Oracle driver before before calling other JDBC APIs.
    (This is not needed if you are using the JDBC Server-side Internal
    Driver because registration is done automatically in the server.)
    To register the Oracle driver, make sure the following statement
    is executed at least once in your Java session:
    DriverManager.registerDriver(
    new oracle.jdbc.driver.OracleDriver());
    3. Open a connection to the database with the getConnection call.
    Different connection URLs should be used for different JDBC
    drivers. The following examples demonstrate the different URLs.
    For the JDBC OCI8 Driver:
    Connection conn = DriverManager.getConnection(
    "jdbc:oracle:oci8:@<database>",
    "scott", "tiger");
    where <database> is either an entry in tnsnames.ora or a SQL*net
    name-value pair.
    For the JDBC Thin Driver, or Server-side Thin Driver:
    Connection conn = DriverManager.getConnection(
    "jdbc:oracle:thin:@<database>",
    "scott", "tiger");
    where <database> is either a string of the form
    <host>:<port>:<sid> or a SQL*net name-value pair.
    For the JDBC Server-side Internal Driver:
    Connection conn = DriverManager.getConnection(
    "jdbc:oracle:kprb:");
    Note that the trailing ':' character is necessary. When you use
    the Server-side Internal Driver, you always connect to the
    database you are executing in. You can also do this:
    Connection conn
    = new oracle.jdbc.driver.OracleDriver().defaultConnection();
    Hope this helps,
    Thanks,
    Anupama wrote:
    I am using oracle as database and weblogic 4.5. I have copied the classes12.zip file in lib directory of weblogic. I am getting the error that oracle.sql.* and oracle.jdbc.driver.* not found when i am importing these packages in a jsp file. what i need to do to import oracle driver packages?I put it in the classpath also.
    Please Advice!
    Thanks in advance
    AnuPama--
    Apurb Kumar

  • Error workflow has been created successfully, but failed to publish and will not be listed in the Project Center

    hello,
    when i try creating projects in Project center am posted on with this error.
    Your new XXXX workflow has been created successfully, but
    failed to publish and will not be listed in the Project Center.For more information on the failure, visit the My Queue Jobs page or contact your administrator.
    Any help would be appreciated!!!!!
    Thanks regards, Vignesh.

    hello Rouyre,
    Thanks for ur reply
    Am using 
    Microsoft Project Server 2013
    15.0.4420.1017
    Yes! It is Custom EPT with Custom Workflow(Declarative Workflow) built through VS2012
    after associating the Site workflow with EPT i try creating Projects using my Custom EPT since then am posted on with this error.
    ULS Error:Log
    07/04/2014 10:21:38.03 Microsoft.Office.Project.Server (0x1840)
    0x06B8 Project Server                
    Queue                        
    ad3fy Critical
    Standard Information:PSI Entry Point: <unknown>  Project User: <unknown>  Correlation Id: <unknown>  PWA Site URL:   SA Name: <unknown>  PSError: <unknown> A queue job has failed. This is a general
    error logged by the Project Server Queue everytime a job fails - for effective troubleshooting use this error message with other more specific error messages (if any), the Operations guide (which documents more details about queued jobs) and the trace log
    (which could provide more detailed context). More information about the failed job follows. GUID of the failed job: 39cd36d6-3603-e411-b33e-00155d00091f. Name of the computer that processed this job: 3eebbc1d-7558-4050-bf5d-d985b23b89f5 (to debug further,
    you need to look at the trace log from this computer). Failed job type: ReportWorkflowProj...
    2c1ea19c-5849-002d-b89f-50aaf0a752fd
    07/04/2014 10:21:38.03* Microsoft.Office.Project.Server (0x1840)
    0x06B8 Project Server                
    Queue                        
    ad3fy Critical
    ...ectDataSync. Failed sub-job type: ReportWorkflowProjectDataSyncMessage. Failed sub-job ID: 1. Stage where sub-job failed:  (this is useful when one sub-job has more than one logical processing stages).
    2c1ea19c-5849-002d-b89f-50aaf0a752fd
    07/04/2014 10:21:38.03 Microsoft.Office.Project.Server (0x1840)
    0x06B8 Project Server                
    Queue Jobs                    
    ad3fy Medium  
    Error is: GeneralQueueJobFailed. Details: Queue Attributes:  39cd36d6-3603-e411-b33e-00155d00091f  3eebbc1d-7558-4050-bf5d-d985b23b89f5  ReportWorkflowProjectDataSync  ReportWorkflowProjectDataSyncMessage  1    2c1ea19c-5849-002d-b89f-50aaf0a752fd
     . Standard Information: , LogLevelManager Warning-ulsID:0x000DD158 has no entities explicitly specified.
    2c1ea19c-5849-002d-b89f-50aaf0a752fd
    07/04/2014 10:21:38.03 Microsoft.Office.Project.Server (0x1840)
    0x06B8 Project Server                
    Project Server Database      
    ah91z Medium  
    Successfully got the connection string (database name=[ProjectWebApp_Practice], id=1f6004ae-5d8a-41d2-81f9-e424a31484aa, type=Consolidated). Requested access level=ReadWrite: Data Source=XXXX;Initial Catalog=ProjectWebApp_Practice;Integrated Security=True;Enlist=False;Pooling=True;Min
    Pool Size=0;Max Pool Size=100;Connect Timeout=15
    2c1ea19c-5849-002d-b89f-50aaf0a752fd
    07/04/2014 10:21:38.04 Microsoft.Office.Project.Server (0x1840)
    0x06B8 Project Server                
    Queue Jobs                    
    ad3fz Medium  
    PWA:http://XXXX:10000/PWAPactice, ServiceApp:Project Server Service Application, User:PROJECTSERVER\system, PSI: [QUEUE] receiver http://XXXX:10000/PWAPactice: Group 3bcd36d6-3603-e411-b33e-00155d00091f type = ReportWorkflowProjectDataSync aborted at
    Message 1, LogLevelManager Warning-ulsID:0x000DD159 has no entities explicitly specified.
    2c1ea19c-5849-002d-b89f-50aaf0a752fd
    07/04/2014 10:21:38.04 Microsoft.Office.Project.Server (0x1840)
    0x06B8 Project Server                
    Queue Jobs                    
    ad3f2 Medium  
    PWA:http://XXXX:10000/PWAPactice, ServiceApp:Project Server Service Application, User:PROJECTSERVER\system, PSI: [QUEUE] receiver http://XXXX:10000/PWAPactice: Group 3bcd36d6-3603-e411-b33e-00155d00091f correlation 82705dc5-3603-e411-b33e-00155d00091f
    type = ReportWorkflowProjectDataSync failed at Message 1 Errors: GeneralQueueJobFailed, LogLevelManager Warning-ulsID:0x000DD15C has no entities explicitly specified.
    2c1ea19c-5849-002d-b89f-50aaf0a752fd
    Thanks regards, Vignesh.

  • Cannot publish to MobileMe.   Error says, "iWeb couldn't connect to MobileMe. Make sure your Internet connection works and try again."  Connection is OK!

    My site will publish to a folder, but will not publish to MobileMe.   Error says, “iWeb couldn’t connect to MobileMe. Make sure your Internet connection works and try again.“  Connection is OK!

    Thank you Alancito for your reply.  The recent post you suggested was not necessary because another of your suggestions did the trick:  https://discussions.apple.com/message/11503337#11503337  In effect, it seems to have reestablished my connection to my MobileMe account, and my iWeb site now publishes on MobileMe. 
    My next step will be to transfer my iWeb site to another Personal Web Provider when MobileMe ceases to exist next June.  Any recommendations for a simple PWP?
    Thank you very much,
    William Oglesby

  • Tomcat, JDBC and other APIs

    Hi all,
    This must be one of the most trivial questions to ask, but I'm new, so please bear with me.
    I have downloaded Tomcat, JDBC and JSSE. The question is: in which directory should I unpack these files and how should I set them up so that my Java compiler (JAVAC) will recognize this change?
    I am using the Java Software Development Kit version 1.3, and all of the class files, compilers and sample code that came with the SDK are in C:\jdk1.3.0_02\.
    Thank you in advance,
    cindybubbles

    Hi there,
    There's not much to installing Tomcat other than unzipping the distribution file, moving it to the place where you want it to be in your filesystem and then following the installation instructions in the Tomcat User's guide. This involves setting the TOMCAT_HOME and JAVA_HOME environment variables. Once you've set JAVA_HOME then Tomact can now find your Java installation.
    The core JDBC package is included in jdk1.3.0_02, if it's the optional package that have then just install it's jar file in c:\jdk1.3.0_02\jre\lib\ext
    JSSE also can be installed as a standard extension so copy it's jar file to c:\jdk1.3.0_02\jre\lib\ext.
    When a jar file is added to c:\jdk1.3.0_02\jre\lib\ext, the classes and packages that it contains will be available to you and to other applications that use the jdk (such as Tomcat). The term Standard Extension has been replaced with "Optional Package" now, but you are likely to still see both terms used interchangeably.
    Hope this helps.
    Amanda
    Developer Tech Support, Sun Microsystems

  • Adapter Monitor Error and SQLServer JDBC Test

    Hello !
    I have a problem with communication in scenario RFC>XIJDBC !
    How i can test my JDBC Coonnection ...database is SQL Server !
    In Adapter Monitor i have two errors:
    1 - JDBC Error:
    Receiver Adapter v2112 for Party '', Service 'BS_IBATCH':
    Configured at 2006-06-01 14:45:27 BRT
    History:
    - 2006-06-06 16:08:47 BRT: Error: TransformException error in xml processor class: Error processing request in sax parser: No 'action' attribute found in XML document (attribute "action" missing or wrong XML structure)
    - 2006-06-06 16:08:47 BRT: Processing started
    - 2006-06-06 16:03:46 BRT: Error: TransformException error in xml processor class: Error processing request in sax parser: No 'action' attribute found in XML document (attribute "action" missing or wrong XML structure)
    - 2006-06-06 16:03:46 BRT: Processing started
    - 2006-06-06 15:58:46 BRT: Error: TransformException error in xml processor class: Error processing request in sax parser: No 'action' attribute found in XML document (attribute "action" missing or wrong XML structure)
    2 - JPR Error:
    Error getting JPR configuration from SLD. Exception: No entity of class SAP_BusinessSystem for NWD.SystemHome.euro11 found
    No access to get JPR configuration
    Someone can help mme in this question?
    Regards.
    MBoni

    Hi,
    The JDBC adapter error looks like- your xml document is not correct. ie. the structure which is given to JDBC adapter.
    Have a look into this-
    http://help.sap.com/saphelp_nw2004s/helpdata/en/2e/96fd3f2d14e869e10000000a155106/frameset.htm
    Also look into this-for structure
    /people/sap.user72/blog/2005/06/01/file-to-jdbc-adapter-using-sap-xi-30
    Regards
    Moorthy

  • ERROR reports.reportdefinition : com.crystaldecisions.reports.queryengine.driverImpl.m: JDBC Error: [Microsoft][ODBC Driver Manager] Invalid string or buffer length

    I have developed Java web application which uses Crystal Report 2013 , java 1.6 , Windows 32 bit System, All the reports are loading fine in the Following environment
    Development Environment
    Windows7 Professional Service pack 1 -32 bit
    Java - 1.6
    Internet Explorer 11
    Oracle Client 10g 32 bit ODBC driver
    Testing Environment
    Windows Server 2008 R2 Enterprise - 64 bit
    java 1.6
    Internet Explorer 9
    Oracle Client 11g 62 bit ODBC driver
    While loading reports in the 64 bit server the error occurs
    ERROR reports.reportdefinition :  com.crystaldecisions.reports.queryengine.driverImpl.m: JDBC Error: [Microsoft][ODBC Driver Manager] Invalid string or buffer length
    ERROR dataengine.datasource : Failed to read next recurring database record: database row set error.
    com.crystaldecisions.reports.reportdefinition.datainterface.j: JDBC Error: [Microsoft][ODBC Driver Manager] Invalid string or buffer length
        at com.crystaldecisions.reports.reportdefinition.datainterface.q.a(Unknown Source)
        at com.crystaldecisions.reports.dataengine.n.m(Unknown Source)
        at com.crystaldecisions.reports.dataengine.n.l(Unknown Source)
        at com.crystaldecisions.reports.dataengine.n.bn(Unknown Source)
        at com.crystaldecisions.reports.dataengine.n.bp(Unknown Source)
        at com.crystaldecisions.reports.dataengine.n.else(Unknown Source)
        at com.crystaldecisions.reports.dataengine.s.a(Unknown Source)
        at com.crystaldecisions.reports.dataengine.bk.a(Unknown Source)
        at com.crystaldecisions.reports.dataengine.bk.ab(Unknown Source)
        at com.crystaldecisions.reports.dataengine.bk.<init>(Unknown Source)
        at com.crystaldecisions.reports.dataengine.bk.if(Unknown Source)
        at com.crystaldecisions.reports.dataengine.bk.a(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.objectformatter.bv.a(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.objectformatter.bv.a(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.objectformatter.be.a(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.objectformatter.be.h(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.objectformatter.i.h(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.objectformatter.be.for(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.objectformatter.bt.a(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.objectformatter.bv.a(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.objectformatter.bv.a(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.objectformatter.bf.a(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.for(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.for(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.objectformatter.b3.for(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.objectformatter.bt.a(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.a(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.a(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.a(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.objectformatter.ca.a(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.objectformatter.a9.a(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.e.m.a(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.for(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.for(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.objectformatter.b3.for(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.e.m.for(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.objectformatter.bt.a(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.e.p.l(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.e.p.void(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.e.p.l(Unknown Source)
        at com.crystaldecisions.reports.formatter.formatter.e.p.aE(Unknown Source)
        at com.crystaldecisions.reports.formatter.a.c.a(Unknown Source)
        at com.crystaldecisions.reports.formatter.a.c.if(Unknown Source)
        at com.crystaldecisions.reports.formatter.a.c.a(Unknown Source)
        at com.businessobjects.reports.sdk.b.b.int(Unknown Source)
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
        at com.crystaldecisions.proxy.remoteagent.x.a(Unknown Source)
        at com.crystaldecisions.proxy.remoteagent.q.a(Unknown Source)
        at com.crystaldecisions.sdk.occa.report.application.dd.a(Unknown Source)
        at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
        at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
        at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
        at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
        at com.crystaldecisions.reports.sdk.PrintOutputController.export(Unknown Source)
        at com.erm.controller.ALMReportsController.queryDll(ALMReportsController.java:1681)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.springframework.web.servlet.mvc.multiaction.MultiActionController.invokeNamedMethod(MultiActionController.java:471)
        at org.springframework.web.servlet.mvc.multiaction.MultiActionController.handleRequestInternal(MultiActionController.java:408)
        at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
        at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
        at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:925)
        at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:856)
        at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:936)
        at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:838)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:643)
        at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:812)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at com.erm.authentication.HttpSecurityFilter.doFilter(HttpSecurityFilter.java:658)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
        at java.lang.Thread.run(Unknown Source)
    Caused by: com.crystaldecisions.reports.queryengine.driverImpl.m: JDBC Error: [Microsoft][ODBC Driver Manager] Invalid string or buffer length
        at com.crystaldecisions.reports.queryengine.driverImpl.o.if(Unknown Source)
        at com.crystaldecisions.reports.queryengine.ap.if(Unknown Source)
        at com.crystaldecisions.reports.queryengine.l.bN(Unknown Source)
        at com.crystaldecisions.reports.queryengine.ap.eg(Unknown Source)
        at com.crystaldecisions.reports.queryengine.ap.e(Unknown Source)
        at com.crystaldecisions.reports.queryengine.b2.f(Unknown Source)
        at com.crystaldecisions.reports.queryengine.b2.dy(Unknown Source)
        ... 89 more
    Caused by: java.sql.SQLException: [Microsoft][ODBC Driver Manager] Invalid string or buffer length
        at sun.jdbc.odbc.JdbcOdbc.createSQLException(Unknown Source)
        at sun.jdbc.odbc.JdbcOdbc.standardError(Unknown Source)
        at sun.jdbc.odbc.JdbcOdbc.SQLGetDataString(Unknown Source)
        at sun.jdbc.odbc.JdbcOdbcResultSet.getDataString(Unknown Source)
        at sun.jdbc.odbc.JdbcOdbcResultSet.getBigDecimal(Unknown Source)

    A few things to note:
    1) Crystal Report 2013 doe snot install any SDK. Thus the assumption is that you are using CR from teh following link:
    SAP BusinessObjects - SAP Crystal Reports, Version For Eclipse Download
    2) Since you are using a 64 bit connection (Oracle Client 11g 62 bit ODBC driver) you will have to make sure you are using 64 bit JVM. Otherwise, follow Dell's advice and use a 32 bit ODBC datasource.
    3) On one test you are using Oracle Client 10g 32 bit ODBC driver and the other you are using Oracle Client 11g 64 bit ODBC driver. You might want to see if you can run your app using Client 11g 32 bit ODBC driver.
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada

  • I can not publish and query services in Registry Server?Help please!

    I want to use Registry Server in Jwsdp1.5 to publish and query services,but there is some problems:
    2006-4-26 10:05:26 com.sun.registry_server.server.RegistryServerServlet init
    ����: NamingException: javax.naming.NameNotFoundException: Name org.xml.sax.driver is not bound in this Context
    2006-4-26 10:05:27 com.sun.xml.messaging.saaj.soap.MessageImpl identifyContentType
    ����: SAAJ0537: ������������������������������������ SOAP ����
    2006-4-26 10:05:27 com.sun.xml.messaging.saaj.soap.MessageImpl <init>
    ����: SAAJ0535: ��������������
    javax.xml.registry.JAXRException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: java.security.PrivilegedActionException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to internalize message
         at com.sun.xml.registry.uddi.RegistryServiceImpl.jaxmSend(Unknown Source)
         at com.sun.xml.registry.uddi.RegistryServiceImpl.send(Unknown Source)
         at com.sun.xml.registry.uddi.Processor.processRequestJAXB(Unknown Source)
         at com.sun.xml.registry.uddi.UDDIMapper.findOrganizations(Unknown Source)
         at com.sun.xml.registry.uddi.BusinessQueryManagerImpl.findOrganizations(Unknown Source)
         at QueryByName.doPost(QueryByName.java:63)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:535)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:790)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:709)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:572)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:644)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: java.security.PrivilegedActionException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to internalize message
         at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:127)
         ... 34 more
    Caused by: java.security.PrivilegedActionException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to internalize message
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:121)
         ... 34 more
    Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to internalize message
         at com.sun.xml.messaging.saaj.soap.MessageImpl.<init>(MessageImpl.java:231)
         at com.sun.xml.messaging.saaj.soap.ver1_1.Message1_1Impl.<init>(Message1_1Impl.java:43)
         at com.sun.xml.messaging.saaj.soap.ver1_1.SOAPMessageFactory1_1Impl.createMessage(SOAPMessageFactory1_1Impl.java:32)
         at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:354)
         at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection$PriviledgedPost.run(HttpSOAPConnection.java:150)
         ... 36 more
    Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Invalid Content-Type:text/html. Is this an error message instead of a SOAP response?
         at com.sun.xml.messaging.saaj.soap.MessageImpl.identifyContentType(MessageImpl.java:295)
         at com.sun.xml.messaging.saaj.soap.MessageImpl.<init>(MessageImpl.java:146)
         ... 40 more
    can you help me?expectiong your advise!thank you

    I have created my own private registry, I hava installed JWSDP1.5.
    I use a .jsp file and a servlet to publish services,the servlet is:
    import javax.xml.registry.*;
    import javax.xml.registry.infomodel.*;
    import java.net.*;
    import java.security.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.io.*;
    import java.util.*;
    public class Publish extends HttpServlet{
         public void doGet(HttpServletRequest request,HttpServletResponse response)
         throws ServletException,IOException{
              doPost(request,response);
         public void doPost(HttpServletRequest request,HttpServletResponse response)throws ServletException,IOException{
         String userName=request.getParameter("username");
         String authPassword=request.getParameter("password");
         Connection connection = null;
    RegistryService rs=null;
    BusinessLifeCycleManager blcm=null;
    BusinessQueryManager bqm = null;
         Properties props=new Properties();
    props.setProperty("javax.xml.registry.queryManagerURL","http://localhost:8080/RegistryServer");
    props.setProperty("javax.xml.registry.lifeCycleManagerURL","http://localhost:8080/RegistryServer");
    props.setProperty("javax.xml.registry.factoryClass","com.sun.xml.registry.uddi.ConnectionFactoryImpl");
    //props.setProperty("com.sun.xml.registry.http.proxyHost",httpHost);
    //props.setProperty("com.sun.xml.registry.http.proxyPort",httpPort);
    // props.setProperty("com.sun.xml.registry.https.proxyHost",httpsHost);
    // props.setProperty("com.sun.xml.registry.https.proxyPort",httpsPort);
    try{
    // Create the connection, passing it the
    // configuration properties
    ConnectionFactory factory =
    ConnectionFactory.newInstance();
    factory.setProperties(props);
    connection=factory.createConnection();
    PrintWriter out=response.getWriter();
    out.println("<a href=\"/publishapp/publish.jsp\">You can click here to be Back </a>");
    out.println("<H3>Created connection to registry</H3>");
    rs=connection.getRegistryService();
    blcm = rs.getBusinessLifeCycleManager();
    bqm = rs.getBusinessQueryManager();
    //out.println("Got registry service, query " +"manager, and life cycle manager");
    // Get authorization from the registry
    PasswordAuthentication passwdAuth =
    new PasswordAuthentication(userName,authPassword.toCharArray());
    Set creds = new HashSet();
    creds.add(passwdAuth);
    connection.setCredentials(creds);
    out.println("<br>");
    out.println("<H3>Established security credentials</H3>");
    //receive organization name and description
    String orgName=request.getParameter("orgname");
    String orgDescription=request.getParameter("orgdescription");
    // Create organization name and description
    Organization org =
    blcm.createOrganization(orgName);
    InternationalString s =
    blcm.createInternationalString(orgDescription);
    org.setDescription(s);
    //receive contactor name phone and Email
    String contactName=request.getParameter("contactname");
    String contactPhone=request.getParameter("contactphone");
    String contactEmail=request.getParameter("contactemail");
    // Create primary contact, set name
    User primaryContact = blcm.createUser();
    PersonName pName =
    blcm.createPersonName(contactName);
    primaryContact.setPersonName(pName);
    // Set primary contact phone number
    TelephoneNumber tNum = blcm.createTelephoneNumber();
    tNum.setNumber(contactPhone);
    Collection phoneNums = new ArrayList();
    phoneNums.add(tNum);
    primaryContact.setTelephoneNumbers(phoneNums);
    // Set primary contact email address
    EmailAddress emailAddress =blcm.createEmailAddress(contactEmail);
    Collection emailAddresses = new ArrayList();
    emailAddresses.add(emailAddress);
    primaryContact.setEmailAddresses(emailAddresses);
    // Set primary contact for organization
    org.setPrimaryContact(primaryContact);
    String serviceName=request.getParameter("servicename");
    String serviceDescription=request.getParameter("servicedescription");
    String serviceURL=request.getParameter("serviceurl");
    String svcbindDescription=request.getParameter("svcbinddescription");
    // Create services and service
    Collection services = new ArrayList();
    Service service =
    blcm.createService(serviceName);
    InternationalString is =
    blcm.createInternationalString(serviceDescription);
    service.setDescription(is);
    // Create service bindings
    Collection serviceBindings = new ArrayList();
    ServiceBinding binding = blcm.createServiceBinding();
    is = blcm.createInternationalString(svcbindDescription);
    binding.setDescription(is);
    // allow us to publish a fictitious URL without an error
    binding.setValidateURI(false);
    binding.setAccessURI(serviceURL);
    serviceBindings.add(binding);
    // Add service bindings to service
    service.addServiceBindings(serviceBindings);
    // Add service to services, then add services to organization
    services.add(service);
    org.addServices(services);
    //receive Classification scheme name and value
    String classificationScheme=request.getParameter("classificationscheme");
    String classificationName=request.getParameter("classificationname");
    String classificationValue=request.getParameter("classificationvalue");
    // Set classification scheme to NAICS
    ClassificationScheme cScheme =
    bqm.findClassificationSchemeByName(null, classificationScheme);
    // Create and add classification
    Classification classification = blcm.createClassification(cScheme,
    classificationName,classificationValue);
    Collection classifications = new ArrayList();
    classifications.add(classification);
    org.addClassifications(classifications);
    // Add organization and submit to registry
    // Retrieve key if successful
    Collection orgs = new ArrayList();
    orgs.add(org);
    BulkResponse response1 = blcm.saveOrganizations(orgs);
    Collection exceptions = response1.getExceptions();
    if (exceptions == null) {
    out.println("<br>");
    out.println("<H3>Service Registering is Sucessful!</H3>");
    out.println("<br>");
    out.println("<H3>service information saved is</H3>");
    out.println("<H3>");
    out.println(orgName);
    out.println("</H3>");
    Collection keys = response1.getCollection();
    Iterator keyIter = keys.iterator();
    if (keyIter.hasNext()) {
    javax.xml.registry.infomodel.Key orgKey =
    (javax.xml.registry.infomodel.Key) keyIter.next();
    String id = orgKey.getId();
    out.println("<H3>service key is </H3>");
    out.println("<H3>");
    out.println(id);
    out.println("</H3>");
    } else {
    Iterator excIter = exceptions.iterator();
    Exception exception = null;
    while (excIter.hasNext()) {
    exception = (Exception) excIter.next();
    System.err.println("Exception on save: " +
    exception.toString());
    } catch (Exception e) {
    e.printStackTrace();}
    the exception in the tomcat50-jwsdp/logs:
    javax.xml.registry.JAXRException: javax.xml.bind.JAXBException
    - with linked exception:
    [javax.xml.soap.SOAPException: Unable to create message factory for SOAP: Provider com.sun.xml.messaging.saaj.soap.MessageImpl could not be instantiated: java.lang.IllegalAccessException: Class javax.xml.soap.FactoryFinder can not access a member of class com.sun.xml.messaging.saaj.soap.MessageImpl with modifiers "protected"]
         at com.sun.xml.registry.uddi.Processor.processRequestJAXB(Unknown Source)
         at com.sun.xml.registry.uddi.UDDIMapper.getAuthorizationToken(Unknown Source)
         at com.sun.xml.registry.uddi.ConnectionImpl.setCredentials(Unknown Source)
         at Publish.doPost(Publish.java:66)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:535)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:790)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:709)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:572)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:644)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: javax.xml.bind.JAXBException
    - with linked exception:
    [javax.xml.soap.SOAPException: Unable to create message factory for SOAP: Provider com.sun.xml.messaging.saaj.soap.MessageImpl could not be instantiated: java.lang.IllegalAccessException: Class javax.xml.soap.FactoryFinder can not access a member of class com.sun.xml.messaging.saaj.soap.MessageImpl with modifiers "protected"]
         at com.sun.xml.registry.common.util.MarshallerUtil.jaxbMarshalObject(Unknown Source)
         ... 32 more
    expecting yours advise, thanks!!

  • Oracle9i and Tomcat 4.03

    dear all, currently, I've installed Oracle 9i and Tomcat4.03, as well as JSDK1.4.0. However, I've found that after installing Oracle 9i, Tomcat 4.03 (start.sh) seems couldn't run. Is Oracle 9i JVM has overwritten the existing JVM? On the other hands, as I stop the Oracle service in admin. tools(note that i'm using windowsXP), Tomcat is able to start but can't access to Oracle Database that I've created. Following is the error that returned to me as I attempt to start Tomcat (Notice that Oracle database services are started):
    Catalina.start: LifecycleException: null.open: java.net.BindException: Address already in use: JVM_Bind:8080
    LifecycleException: null.open: java.net.BindException: Address already in use: JVM_Bind:8080
         at org.apache.catalina.connector.http.HttpConnector.initialize<HttpConnector.java:1130>
    and I've set the environment as followed:
    CATALINA_HOME = E:\Apache Tomcat 4.0
    CLASSPATH = .;E:\oracle\ora90\jdbc\lib\classes12.zip
    JAVA_HOME = C:\j2sdk1.4.0
    Path = E:\oracle\ora90\bin;E:\oracle\ora90\Apache\Perl\5.00503\bin\mswin32-x86;C:\Program Files\Oracle\jre\1.1.8\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem
    Your help is much appreciated...:) Pls help... it's urgent.
    Thanks in advance.
    regards,
    Wiwi.

    dear Saifuddin,
    Thanks for your help. In fact, when Iast time I installed the Oracle 8i, it came with Apache server services, however, it did not require me to change anything on server.xml under Tomcat folder. But why this time when installing Oracle 9i did require on change of port. By the way, instead of allocate localhost:8080 on Tomcat, can I allocate Tomcat port on "localhost: 8000"?
    Actually, I've stopped the Oracle database service and Oracle HTTP Server in Administrative Tools, but why I still have the returned error like; "... address already been used, JVM Bind: 8080" ?
    By the way, are you using Oracle 9i and Tomcat 4.0.3? Pls give me advice on how to setting the Oracle 9i and Tomcat 4.0.3. I highly appreciate your help.
    Thanks in adv.
    best regards.
    Patrick

  • [svn:bz-trunk] 15533: Back out some local changes to tomcat-users. xml and tomcat-users.xml. install I inadvertently checked in when upgrading ActiveMQ on BlazeDS/trunk .

    Revision: 15533
    Revision: 15533
    Author:   [email protected]
    Date:     2010-04-17 04:20:11 -0700 (Sat, 17 Apr 2010)
    Log Message:
    Back out some local changes to tomcat-users.xml and tomcat-users.xml.install I inadvertently checked in when upgrading ActiveMQ on BlazeDS/trunk.
    Modified Paths:
        blazeds/trunk/servers/apache-tomcat-6.0.14/conf/tomcat-users.xml
        blazeds/trunk/servers/apache-tomcat-6.0.14/conf/tomcat-users.xml.install

    i will not read all that!!!! Format it! Lots of useless information commented.
    java.net.SocketException: java.net.ConnectException: Connection timed out: connect
    at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:156)
    Tells me you have a connection error on Mysql. Quick search show me this:
    <Resource name="jdbc/passport" auth="Container"
    type="javax.sql.DataSource" driverClassName="com.mysql.jdbc.Driver"
    url="jdbc:mysql://258.1.54.134:3306/xmnext_passport"
    username="dda" password="zhoussda" maxActive="20" maxIdle="10"
    maxWait="-1"/>
    Can you connect to the server using thos setting with a mysql client in the server?

  • Eclipse and TomCat Web Server

    Hi experts,
       I have been working with Eclipse for last 1 month. I was just working with Portal application component development and publishing it to the SAP EP J2EE server everything worked fine.
       I have eclipse,JDK,Tomcat3.3.2 installed in my laptop and EP J2EE engine runs on the server.
       Now i studied online regarding the development process with eclipse, The portal application component is published to Tomcat web server first and tested for possible errors and then published to the EP J2EE server. How this process is handled?
      Can any expert explain on this and provide me link to make the required configuration of eclipse  for publishing to tomcat web server?
    Thank you
    arun

    Well, the answer I found was that I have an invalid character that is not supported yet by the WAS, the character is "ñ".
    Using Eclipse and deploying in Tomcat worked fine but in WAS 7.0 SP 8 it throws ParseExceptions
    Regards

  • Communication problem between NetBeans and Tomcat

    hi!
    i got a quite mysterious problem. here is what happens:
    - i start NetBeans 5.5.1 (the first time)
    - i want to debug my JSF-Project, the Debugger starts
    - After a few seconds the debugger waits for tomcat (it sais: "Waiting for Tomcat...") and tomcat starts
    - Again after a few seconds the tomcat-debugger-output sais "Tomcat startet in 3333 ms".
    okay.
    when i enter http://localhost:8084/ in my browser i get the tomcat homepage, so the server has definitely started! But nothing happens in NetBeans and nothing happens with my project....
    In the lower-right corner i see this blue working-bar that sais "deploying project" but nothing happens. The Project-Debugger-Output still sais "Waiting for Tomcat..." but nothing happens...
    And after something around 3 minutes (i guess it's a timeout) i get the error "Starting of Tomcat failed." But is HAS started, i can login to the Administration-Area in my browser!
    so i guess there is a communication problem between netbeans an tomcat. Netbeans waits for a message from tomcat but tomcat doesn't send it..or netbeans doesn't understand it.
    But the story goes on:
    When i press the debug-button a second time it takes only a few seconds till i get the message: "Tomcat server port 8084 already in use". OF COURSE! Because Tomcat has already startet and can't be stoped by NetBeans.
    i'm trying to solve this problem for 4 days now, so i would be very happy if anyone has an idea where to start/continue the search...
    thanks,
    flo.
    some system-info:
    - windows vista business 32-bit
    - no firewall is running
    - AntiVir Personal Edition IS running
    - Yahoo Widgets Engine IS running
    - no other software is running
    and finally the tomcat-log:
    Using CATALINA_BASE: C:\Users\Administrator\.netbeans\5.5.1\apache-tomcat-5.5.17_base
    Using CATALINA_HOME: C:\Program Files\NetBeans\enterprise3\apache-tomcat-5.5.17
    Using CATALINA_TMPDIR: C:\Users\Administrator\.netbeans\5.5.1\apache-tomcat-5.5.17_base\temp
    Using JRE_HOME: C:\Program Files\Java\jdk1.5.0_12
    Listening for transport dt_shmem at address: tomcat_shared_memory_id
    21.09.2007 18:27:50 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
    INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.5.0_12\bin;.;C:\Windows\system32;C:\Windows;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\ThinkPad\ConnectUtilities;C:\Program Files\Common Files\Teleca Shared;C:\Program Files\Common Files\Adobe\AGL;C:\Program Files\MySQL\MySQL Server 5.0\bin;C:\Program Files\cvsnt;
    21.09.2007 18:27:50 org.apache.coyote.http11.Http11BaseProtocol init
    INFO: Initializing Coyote HTTP/1.1 on http-8084
    21.09.2007 18:27:50 org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 1862 ms
    21.09.2007 18:27:50 org.apache.catalina.core.StandardService start
    INFO: Starting service Catalina
    21.09.2007 18:27:50 org.apache.catalina.core.StandardEngine start
    INFO: Starting Servlet Engine: Apache Tomcat/5.5.17
    21.09.2007 18:27:50 org.apache.catalina.core.StandardHost start
    INFO: XML validation disabled
    21.09.2007 18:27:53 org.apache.coyote.http11.Http11BaseProtocol start
    INFO: Starting Coyote HTTP/1.1 on http-8084
    21.09.2007 18:27:54 org.apache.jk.common.ChannelSocket init
    INFO: JK: ajp13 listening on /0.0.0.0:8009
    21.09.2007 18:27:54 org.apache.jk.server.JkMain start
    INFO: Jk running ID=0 time=0/31 config=null
    21.09.2007 18:27:54 org.apache.catalina.storeconfig.StoreLoader load
    INFO: Find registry server-registry.xml at classpath resource
    21.09.2007 18:27:54 org.apache.catalina.startup.Catalina start
    INFO: Server startup in 3626 ms

    As i wrote before, the same problem occured for me. I have found a solution which is : Go to tools menu and then select options . In the proxy info, select No Proxy.
    I hope this help you

Maybe you are looking for