Exception while PDF Parsing through PDFBOX jar

While I parsing PDF file, I got the following exception.I used PDFBox-0.7.3 jar for pdf parsing.
java.io.IOException: expected='endobj' firstReadAttempt='' secondReadAttempt='' org.apache.pdfbox.io.PushBackInputStream@1027b4d
     at org.apache.pdfbox.pdfparser.PDFParser.parseObject(PDFParser.java:485)
     at org.apache.pdfbox.pdfparser.PDFParser.parse(PDFParser.java:165)
     at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:847)
     at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:814)
     at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:785)
     at TestPDFReader.extractPDFContents(TestPDFReader.java:50)
     at TestPDFReader.getFileContents(TestPDFReader.java:29)
     at TestPDFReader.main(TestPDFReader.java:70)
Can any one suggest me solution for it.
Thanks in Advance
Sandeep Verma

Hi,
Thanks for your suggestion, I believe that environment path was not set correctly and its working now.
I have executed the "
C:\Adobe\Adobe LiveCycle ES4\pdfg_config\Acrobat_for_PDFG_Configuration.bat" batch file and bounce the server and it worked.
Thanks,
Tejraj

Similar Messages

  • InvalidPDFHeaderSignature Exception while opening pdf using itext jar

    Hi,
    I am getting InvalidPDFHeader while opening pdf file using itext jar.
    How to overcome this?
    Thanks,
    Veera

    Please continue in your previous thread: Sample code to dynamically append bytes to pdf
    Mod: I'm locking up.

  • 'Import file parsing exception' while importing BIAR file

    Hi All,
    We use Java WebServices SDK for integrating our product with Business Objects. For installing the reports we use the InstallEntSDKWrapper jar to copy the BIAR file containing the reports on to the BO server. Till now we were using BO XI R2 and everything works fine.
    But now we have decided to upgrade to BO 3.0 and the reports install no longer works. Here is the error that we get -
    [InstallEntSdkWrapper.main] Connecting to CMS rwc-1950-120:6400 as administrator
    [InstallEntSdkWrapper.CmsImportFile] Exception: Import file parsing exception
    curred : 'Type info incomplete'
    [InstallEntSdkWrapper.main] BIAR File could not be imported
    Any idea what might be going wrong here? We are trying to import the same BIAR file that were created with the earlier BO version to the 3.0 version server. Couple of questions that I have is -
    1. Do we need to repackage the BIAR with 3.0 before attempting to install it? Are there any issues with trying to install a BIAR which is of older BO version?
    2. Do we need to add/modify any library (jar) in the runtime to get rid of the exception?
    Thanks for all the help.
    Regards
    Manas
    Edited by: Manas Mandlekar on Dec 23, 2009 1:34 AM

    Lucas,
    I have not seen this issue before. We'll investigate and contact you directly for more info. I'll post the resolution back to this forum once available.
    Doug

  • Uncaught Exception occured while sending mail through abap code.

    Hi,
    Uncaught Exception occured while sending mail through abap code.Run time Errors "UNCAUGHT_EXCEPTION" occured after excuting the call method  CALL METHOD SEND_REQUEST->SEND( ).kindly help in resolving the issue.

    HI,
    Runtime Error:  UNCAUGHT_EXCEPTION details.
    Runtime Errors         UNCAUGHT_EXCEPTION
    Exception              CX_ADDRESS_BCS
    Short text
         An exception occurred that was not caught.
    What happened?
         The exception 'CX_ADDRESS_BCS' was raised, but it was not caught anywhere along
         the call hierarchy.
         Since exceptions represent error situations and this error was not
         adequately responded to, the running ABAP program 'SAPLZSEND_MAIL' has to be
         terminated.
    Error analysis
        An exception occurred that is explained in detail below.
        The exception, which is assigned to class 'CX_ADDRESS_BCS', was not caught in
        procedure "SEND_MAIL" "(FORM)", nor was it propagated by a RAISING clause.
        Since the caller of the procedure could not have anticipated that the
        exception would occur, the current program is terminated.
        The reason for the exception is:
        An exception occurred
    How to correct the error
        If the error occures in a non-modified SAP program, you may be able to
        find an interim solution in an SAP Note.
        If you have access to SAP Notes, carry out a search with the following
        keywords:
        "UNCAUGHT_EXCEPTION" "CX_ADDRESS_BCS"
        "SAPLZSEND_MAIL" or "LZSEND_MAILU01"
        "ZSEND_EMAIL"
        If you cannot solve the problem yourself and want to send an error
        notification to SAP, include the following information:
        1. The description of the current problem (short dump)
           To save the description, choose "System->List->Save->Local File
        (Unconverted)".
        2. Corresponding system log
           Display the system log by calling transaction SM21.
           Restrict the time interval to 10 minutes before and five minutes
        after the short dump. Then choose "System->List->Save->Local File
        (Unconverted)".
        3. If the problem occurs in a problem of your own or a modified SAP
        program: The source code of the program
           In the editor, choose "Utilities->More
        Utilities->Upload/Download->Download".
    4. Details about the conditions under which the error occurred or which
    actions and input led to the error.
    The exception must either be prevented, caught within proedure
    "SEND_MAIL" "(FORM)", or its possible occurrence must be declared in the
    RAISING clause of the procedure.
    Please help me to resolve this issue.

  • Error: Exception while jar file setup for uri

    Our environment is set up as
    Adminserver running on one machine.
    Managed servers running on another machine.
    Communication via node manager.
    Machines physically in the same location.
    Trying to deploy application using the wldeploy script or the weblogic console.
    I get the following error while deploying my application on one of the managed
    server
    Can anybody throw some light on what could be wrong ?
    ####<Apr 19, 2004 2:30:11 PM PDT> <Error> <Deployer> <tin.rose.hp.com> <GSOeProc-EMEA_3_0_AM_tin_AM>
    <ExecuteThread: '23' for queue: 'default'> <kernel identity> <> <149201> <The
    Slave Deployer failed to complete the deployment task with id 16 for the application
    GSOeProc-EMEA_3_0_55.>
    weblogic.management.ApplicationException: Module creation failed. Task Id = 16
    Module Name: email_mdb.jar, Error: Exception while jar file setup for uri : email_mdb.jar
    in Module :
    TargetException: java.util.zip.ZipException: error in opening zip file
    at weblogic.j2ee.J2EEApplicationContainer.addFindersForAllModules(J2EEApplicationContainer.java:660)
    at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:554)
    at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:1096)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:764)
    at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:24)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:234)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:210)

    Does your app work if you deploy it to a single server environment?
    It's complaining that it can't find the email_mdb.jar file.
    -- Rob
    Satya wrote:
    Our environment is set up as
    Adminserver running on one machine.
    Managed servers running on another machine.
    Communication via node manager.
    Machines physically in the same location.
    Trying to deploy application using the wldeploy script or the weblogic console.
    I get the following error while deploying my application on one of the managed
    server
    Can anybody throw some light on what could be wrong ?
    ####<Apr 19, 2004 2:30:11 PM PDT> <Error> <Deployer> <tin.rose.hp.com> <GSOeProc-EMEA_3_0_AM_tin_AM>
    <ExecuteThread: '23' for queue: 'default'> <kernel identity> <> <149201> <The
    Slave Deployer failed to complete the deployment task with id 16 for the application
    GSOeProc-EMEA_3_0_55.>
    weblogic.management.ApplicationException: Module creation failed. Task Id = 16
    Module Name: email_mdb.jar, Error: Exception while jar file setup for uri : email_mdb.jar
    in Module :
    TargetException: java.util.zip.ZipException: error in opening zip file
    at weblogic.j2ee.J2EEApplicationContainer.addFindersForAllModules(J2EEApplicationContainer.java:660)
    at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:554)
    at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:1096)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:764)
    at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:24)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:234)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:210)

  • Exception while Parsing SELECT

    I'm working with NB 5.5.1, VWP 5.5.1, MySQL 5.0.45 and J/Connect 5.0.7. When I enter following SELECT in the SQL-Editor-Window of a RowSet:
    SELECT DISTINCT twibu_ergebnisse.spieltag
      FROM twibu_ergebnisse
        WHERE     twibu_ergebnisse.saisonnr = 45
              AND twibu_ergebnisse.toreheim IS NOT NULL
              AND twibu_ergebnisse.toregast IS NOT NULLI get the following Exception when I Parse it:
    com.sun.rave.queryeditor.parser.SQLParser$LookaheadSuccess
         at com.sun.rave.queryeditor.parser.SQLParser.<init>(SQLParser.java:1319)
         at com.sun.rave.queryeditor.querymodel.SQLQueryFactory.parse(SQLQueryFactory.java:16)
         at com.sun.rave.queryeditor.querybuilder.QueryModel.parse(QueryModel.java:57)
         at com.sun.rave.queryeditor.querybuilder.QueryBuilder.parseQuery(QueryBuilder.java:1279)
         at com.sun.rave.queryeditor.querybuilder.QueryBuilder.populate(QueryBuilder.java:889)
         at com.sun.rave.queryeditor.querybuilder.QueryBuilderSqlTextArea.actionPerformed(QueryBuilderSqlTextArea.java:572)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
         at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
         at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1216)
         at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1257)
         at java.awt.Component.processMouseEvent(Component.java:6038)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
         at java.awt.Component.processEvent(Component.java:5803)
         at java.awt.Container.processEvent(Container.java:2058)
         at java.awt.Component.dispatchEventImpl(Component.java:4410)
         at java.awt.Container.dispatchEventImpl(Container.java:2116)
         at java.awt.Component.dispatchEvent(Component.java:4240)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
         at java.awt.Container.dispatchEventImpl(Container.java:2102)
         at java.awt.Window.dispatchEventImpl(Window.java:2429)
         at java.awt.Component.dispatchEvent(Component.java:4240)
    [catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)I suppose it is the "IS NOT NULL" in the WHERE-Clause. Any suggestions how I can get rid of the Error?
    Regards,
    Willi
    Message was edited by:
    Willi2793

    I use JSC and have encountered the same problem. Although it affects the visual display of the query, it doesn't seem to affect the execution of the query in MySQL.
    I suspect the query isn't really being parsed by MySQL but by some JSC code. IS NULL or IS NOT NULL just isn't part of its vocabulary.
    If you want to validate your query, maybe you could temporarily change IS NOT NULL to = -1 (or something to that effect). After you validate your query you can change = -1 back to IS NOT NULL.
    For me, this has been more than an annoyance than a real problem.

  • Internal Exception: oracle.xml.parser.v2.XMLParseException xsi:type "toplin

    i am using toplink 10.1.3.0.0 with oracle app server 10.1.2.2, i am using change field optimistic locking and generating the project xml,
    application runs great locally in the jdeveloper, but when it is deployed on app server getting following error
    here are the headers from both my project.xml as well as session xml..
    <?xml version="1.0" encoding="UTF-8"?>
    <toplink:object-persistence version="Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)" xmlns:opm="http://xmlns.oracle.com/ias/xsds/opm" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:toplink="http://xmlns.oracle.com/ias/xsds/toplink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <opm:name>PROJ</opm:name>
    <opm:class-mapping-descriptors>
    <opm:class-mapping-descriptor xsi:type="toplink:relational-class-mapping-descriptor">
    <?xml version="1.0" encoding="UTF-8"?>
    <toplink-sessions version="4.5" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <session xsi:type="server-session">
    <name>PROJSession</name>
    <event-listener-classes/>
    <logging xsi:type="toplink-log">
    <log-level>finer</log-level>
    </logging>
    <primary-project xsi:type="xml">PROJ.xml</primary-project>
    <login xsi:type="database-login">
    <platform-class>oracle.toplink.platform.database.oracle.OraclePlatform</platform-class>
    <user-name></user-name>
    any help/idea appreciated...
    Exception [TOPLINK-9005] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.exceptions.SessionLoaderException
    Exception Description: An exception was thrown while loading the <project-xml> file [PROJ.xml].
    Internal Exception: Exception [TOPLINK-25004] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.exceptions.XMLMarshalException
    Exception Description: An error occurred unmarshalling the document
    Internal Exception: Exception [TOPLINK-27101] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.platform.xml.XMLPlatformException
    Exception Description: An error occurred while parsing the document.
    Internal Exception: oracle.xml.parser.v2.XMLParseException: xsi:type "toplink:changed-field-locking-policy" not resolved to a type definition
    at oracle.toplink.exceptions.SessionLoaderException.failedToLoadProjectXml(SessionLoaderException.java:74)
    at oracle.toplink.tools.sessionconfiguration.TopLinkSessionsFactory.loadProjectConfig(TopLinkSessionsFactory.java:316)
    at oracle.toplink.tools.sessionconfiguration.TopLinkSessionsFactory.createSession(TopLinkSessionsFactory.java:241)
    at oracle.toplink.tools.sessionconfiguration.TopLinkSessionsFactory.buildServerSessionConfig(TopLinkSessionsFactory.java:215)
    at oracle.toplink.tools.sessionconfiguration.TopLinkSessionsFactory.buildSession(TopLinkSessionsFactory.java:168)
    at oracle.toplink.tools.sessionconfiguration.TopLinkSessionsFactory.buildTopLinkSessions(TopLinkSessionsFactory.java:124)
    at oracle.toplink.tools.sessionconfiguration.XMLSessionConfigLoader.load(XMLSessionConfigLoader.java:103)
    at oracle.toplink.tools.sessionmanagement.SessionManager.getSession(SessionManager.java:367)
    at oracle.toplink.tools.sessionmanagement.SessionManager.getSession(SessionManager.java:334)
    at myProjectPackage.common.data.toplink.ToplinkDataManagerPeer.<init>(ToplinkDataManagerPeer.java:41)
    at myProjectPackage.common.data.DataManagerFactory.getDataManagerInstance(DataManagerFactory.java:40)
    at myProjectPackage.common.servlet.NYSDOTFilter.getDataManager(NYSDOTFilter.java:964)
    at myProjectPackage.common.servlet.NYSDOTFilter.doFilter(NYSDOTFilter.java:144)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
    at myProjectPackage.caf.servlet.NYSDOTCAFFilter.doFilter(NYSDOTCAFFilter.java:90)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
    at myProjectPackage.common.servlet.NYSDOTLoginFilter.doFilter(NYSDOTLoginFilter.java:95)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:669)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:340)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:228)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
    at java.lang.Thread.run(Thread.java:570)

    first thanks for your reply,
    i already figured that out and deployed it using 10.1.3.1 jars
    my question
    1) if it is a bug , how come it works fine with jdeveloper (
    i would appreciate if you could provide any info about it.
    2) i dont want to sound sarcastic , but 10.1.3.1 has of optimistic locking and the recommended solution i found was to use descriptor.getQueryManager().setUpdateCallCacheSize(0);
    looks like 10.1.3.1 fixed one bug and introduced other one which was working fine earlier...
    is there any other way of fixing optimistic locking issue other than using the
    descriptor.getQueryManager().setUpdateCallCacheSize(0);
    where i can find the latest/greatest (up to date patched version of toplink)
    thanks again for your help

  • Exception while trying to deploy to portal

    Dear all,
    I have a serious deploy problem with the SAPNWCE71TrialSP1Preview_DevStudio in combination with SAP WAS...
    This is the error message
    Reason: Clusterwide exception: server ID 23000550:com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Application local/Calendar cannot be started. Reason: it has hard reference to resource tc~wd~api with type application, which is not active on the server.
    I can not find the resource tcwdapi in my file system... do I need an additional external jar file! I added the com.sap.security.api.jar as external lib
    as info: before, I worked with the NWDS 7.0.9 and had no time a deploy problem!?
    I have already looked throw related problems, but nor workaround solved my problem...
    may be my application-j2ee-engine.xml file is not configured in the right way;
    I hope someone can fix my problem
    enclosed please find the entire error message:
    1.10.2007 08:32:07 /userOut/daView_category (eclipse.UserOutLocation) [Thread[Deploy Thread,5,main]] INFO:
    [001]Additional log information about the deployment
    <!--LOGHEADER[START]/-->
    <!--HELP[Manual modification of the header may cause parsing problem!]/-->
    <!--LOGGINGVERSION[1.5.3.7185 - 630]/-->
    <!--NAME[D:usrsapJ4SJC02SDMprogramlogsdmcl20071031073143.log]/-->
    <!--PATTERN[sdmcl20071031073143.log]/-->
    <!--FORMATTER[com.sap.tc.logging.TraceFormatter(%24d %s: %m)]/-->
    <!--ENCODING[Cp1252]/-->
    <!--LOGHEADER[END]/-->
    Oct 31, 2007 8:31:44 AM  Info: -------------------------- Starting deployment ------------------------
    Oct 31, 2007 8:31:44 AM  Info: Error handling strategy: OnErrorStop
    Oct 31, 2007 8:31:44 AM  Info: Prerequisite error handling strategy: OnPrerequisiteErrorStop
    Oct 31, 2007 8:31:44 AM  Info: Update strategy: UpdateAllVersions
    Oct 31, 2007 8:31:44 AM  Info: Starting deployment prerequisites:
    Oct 31, 2007 8:31:46 AM  Info: Loading selected archives...
    Oct 31, 2007 8:31:46 AM  Info: Loading archive 'D:usrsapJ4SJC02SDMprogramtemptemp16414Calendar.ear'
    Oct 31, 2007 8:31:49 AM  Info: Selected archives successfully loaded.
    Oct 31, 2007 8:31:49 AM  Info: Actions per selected component:
    Oct 31, 2007 8:31:49 AM  Info: Update: Selected development component 'Calendar'/'local'/'LOKAL'/'0.2007.10.31.08.31.30'/'0' updates currently deployed development component 'Calendar'/'local'/'LOKAL'/'0.2007.10.30.18.27.26'/'0'.
    Oct 31, 2007 8:31:50 AM  Info: Ending deployment prerequisites. All items are correct.
    Oct 31, 2007 8:31:50 AM  Info: Saved current Engine state.
    Oct 31, 2007 8:31:50 AM  Info: Starting: Update: Selected development component 'Calendar'/'local'/'LOKAL'/'0.2007.10.31.08.31.30'/'0' updates currently deployed development component 'Calendar'/'local'/'LOKAL'/'0.2007.10.30.18.27.26'/'0'.
    Oct 31, 2007 8:31:50 AM  Info: SDA to be deployed: D:usrsapJ4SJC02SDMrootoriginlocalCalendarLOKAL00.2007.10.31.08.31.30temp16414Calendar.ear
    Oct 31, 2007 8:31:50 AM  Info: Software type of SDA: J2EE
    Oct 31, 2007 8:31:50 AM  Info: ***** Begin of SAP J2EE Engine Deployment (J2EE Application) *****
    Oct 31, 2007 8:32:02 AM  Info: Begin of log messages of the target system:
    07/10/31 08:31:50 -  ***********************************************************
    07/10/31 08:31:54 -  Start updating EAR file...
    07/10/31 08:31:54 -  start-up mode is lazy
    07/10/31 08:31:54 -  EAR file updated successfully for 453ms.
    07/10/31 08:31:54 -  Start updating...
    07/10/31 08:31:55 -  EAR file uploaded to server for 500ms.
    07/10/31 08:32:01 -  Successfully updated. Update took 5813ms.
    07/10/31 08:32:01 -  Deploy Service status:
    07/10/31 08:32:01 -    Application : local/Calendar
    07/10/31 08:32:01 -   
    07/10/31 08:32:01 -    webdynpro/resources/local/Calendar  - WEB
    07/10/31 08:32:01 -  ***********************************************************
    Oct 31, 2007 8:32:02 AM  Info: End of log messages of the target system.
    Oct 31, 2007 8:32:02 AM  Info: ***** End of SAP J2EE Engine Deployment (J2EE Application) *****
    Oct 31, 2007 8:32:02 AM  Warning: Finished with warnings: development component 'Calendar'/'local'/'LOKAL'/'0.2007.10.31.08.31.30'/'0':
    Caught exception during application startup from SAP J2EE Engine's deploy service:
    java.rmi.RemoteException: Error occurred while starting application local/Calendar and wait.
    Reason: Clusterwide exception: server ID 23000550:com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Application local/Calendar cannot be started. Reason: it has hard reference to resource tc~wd~api with type application, which is not active on the server.
         at com.sap.engine.services.deploy.server.ReferenceResolver.processReferenceToApplication(ReferenceResolver.java:597)
         at com.sap.engine.services.deploy.server.ReferenceResolver.processMakeReference(ReferenceResolver.java:399)
         at com.sap.engine.services.deploy.server.ReferenceResolver.beforeStartingApplication(ReferenceResolver.java:328)
         at com.sap.engine.services.deploy.server.application.StartTransaction.beginCommon(StartTransaction.java:162)
         at com.sap.engine.services.deploy.server.application.StartTransaction.begin(StartTransaction.java:136)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:292)
         at com.sap.engine.services.deploy.server.application.ParallelAdapter.makeAllPhasesImpl(ParallelAdapter.java:342)
         at com.sap.engine.services.deploy.server.application.ParallelAdapter.runInTheSameThread(ParallelAdapter.java:126)
         at com.sap.engine.services.deploy.server.application.ParallelAdapter.makeAllPhasesAndWait(ParallelAdapter.java:245)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:4761)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:4666)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:4639)
         at com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:1163)
         at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:320)
         at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:198)
         at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:129)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Caused by: com.sap.engine.services.deploy.container.DeploymentException: <--Localization failed: ResourceBundle='com.sap.engine.services.deploy.DeployResourceBundle', ID='Exception while starting: sap.com/tc~wd~api', Arguments: []--> : Can't find resource for bundle java.util.PropertyResourceBundle, key Exception while starting: sap.com/tc~wd~api
         at com.sap.portal.prt.sapj2ee.PortalRuntimeContainer.prepareStart(PortalRuntimeContainer.java:527)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationLocalAndWait(DeployServiceImpl.java:4415)
         at com.sap.engine.services.deploy.server.ReferenceResolver.processReferenceToApplication(ReferenceResolver.java:589)
         ... 21 more
    Caused by: com.sap.engine.services.deploy.container.DeploymentException: <--Localization failed: ResourceBundle='com.sap.engine.services.deploy.DeployResourceBundle', ID='Exception while starting: SAPJ2EE::local/NEW', Arguments: []--> : Can't find resource for bundle java.util.PropertyResourceBundle, key Exception while starting: SAPJ2EE::local/NEW
         at com.sap.portal.prt.sapj2ee.SAPJ2EEPortalRuntime.getAndStartSAPJ2EEApplicationItem(SAPJ2EEPortalRuntime.java:886)
         at com.sap.portal.prt.sapj2ee.PortalRuntimeContainer.prepareStart(PortalRuntimeContainer.java:511)
         ... 23 more
    Caused by: com.sapportals.portal.prt.runtime.PortalRuntimeException: [ExternalApplicationItem.prepare]: SAPJ2EE::local/NEW
         at com.sapportals.portal.prt.core.broker.ExternalApplicationItem.prepare(ExternalApplicationItem.java:188)
         at com.sapportals.portal.prt.core.broker.SAPJ2EEApplicationItem.prepare(SAPJ2EEApplicationItem.java:232)
         at com.sapportals.portal.prt.core.broker.SAPJ2EEApplicationItem.start(SAPJ2EEApplicationItem.java:192)
         at com.sapportals.portal.prt.service.sapj2ee.Mediator.getAndStartExternalApplication(Mediator.java:132)
         at com.sap.portal.prt.sapj2ee.StartPortalApplication.coreRun(StartPortalApplication.java:59)
         at com.sap.portal.prt.sapj2ee.SAPJ2EEPortalRuntime.getAndStartSAPJ2EEApplicationItem(SAPJ2EEPortalRuntime.java:882)
         ... 24 more
    Caused by: com.sapportals.portal.prt.core.broker.PortalApplicationNotFoundException: Could not find portal application tc~wd~api
         at com.sapportals.portal.prt.core.broker.PortalApplicationItem.prepare(PortalApplicationItem.java:415)
         at com.sapportals.portal.prt.core.broker.ExternalApplicationItem.prepare(ExternalApplicationItem.java:180)
         ... 29 more
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)
    Oct 31, 2007 8:32:02 AM  Info: Starting to save the repository
    Oct 31, 2007 8:32:04 AM  Info: Finished saving the repository
    Oct 31, 2007 8:32:04 AM  Info: J2EE Engine is in same state (online/offline) as it has been before this deployment process.
    Oct 31, 2007 8:32:04 AM  Warning: ------ At least one of the Deployments finished with warning(s) -------

    Hi,
    May be of use
    1. Open the visual admin at <installdrive>:\usr\sap\J2E\JC00\j2ee\admin\go.bat
    2. Login is Administrator + admin-password you defined during installation.
    3. Under the Server 0... node select Services->Deploy
    4. Select the "Application" radio button at the bottom.
    5. Check if there exists an application sap.com/tcwdtools
    And the following applications are running
    sap.com/tcwdcorecomp
    sap.com/tcwddispwda
    sap.com/tcwdtools.
    Last thing was their any errors in the installation.
    Regards
    Ayyapparaj

  • ERROR : Exception while configing SSO DAD :oracle.ons.SubscriptionException

    hi centos 4.4, 10g as 10.1.2.0.2 installation...
    the sso config fails...with the following error...
    can anybody help ?
    thanks
    -a
    Fri Jan 19 20:13:07 EST 2007
    Parameters received by ssoca : param0:config param1:/oracle/as/infra param2:"cn=orcladmin" param3:***** param4:"AMERICAN_AMERICA.WE8ISO8859P1" param5:http param6:lisa.localdomain param7:7777 param8:en Content of ssoca config file is :
    -- listing properties --
    config_sso_oid=true
    config_lang=true
    config_sso_seed=true
    config_targets_xml=true
    config_ssoupg=true
    config_dad=true
    config_em_integ=trueSSO seed is already configured in the database.pre-existing entry ldap_host = lisa.localdomain
    pre-existing entry ldap_port = 636
    pre-existing entry app_dn = orclApplicationCommonName=ORASSO_SSOSERVER,cn=SSO,cn=Products,cn=OracleContext
    pre-existing entry app_pwd = *****
    NLS_LANG character set = AL32UTF8
    NLS_LANG param = AMERICAN_AMERICA.AL32UTF8ERROR : Exception while configing SSO DAD :
    oracle.ons.SubscriptionException: Subscription request timed out after 120000 millseconds. Possible causes: OPMN may not be running, you may have an OPMN running in an alternate ORACLE_HOME using duplicate port values, or OPMN may be misconfigured.
         at oracle.ons.SubscriptionNotification.waitForReply(SubscriptionNotification.java:82)
         at oracle.ons.ONS.addSubscriber(ONS.java:336)
         at oracle.ons.Subscriber.realStartup(Subscriber.java:92)
         at oracle.ons.Subscriber.<init>(Subscriber.java:80)
         at oracle.ons.ONS.createNewSubscriber(ONS.java:690)
         at oracle.ias.sysmgmt.task.TaskMaster.sysInit(Unknown Source)
         at oracle.ias.sysmgmt.task.TaskMaster.sysInit(Unknown Source)
         at oracle.ias.sysmgmt.task.InstanceManager.sysInit(Unknown Source)
         at oracle.ias.sysmgmt.task.InstanceManager.init(Unknown Source)
         at oracle.ias.sysmgmt.EntryPoint.init(Unknown Source)
         at oracle.webdb.config.smi.GeneralConfig.<init>(Unknown Source)
         at oracle.webdb.config.smi.GeneralDADConfig.<init>(Unknown Source)
         at oracle.webdb.config.smi.DADConfig904Imp.<init>(Unknown Source)
         at oracle.webdb.config.smi.ConfigFactory.getGeneralDADConfig(Unknown Source)
         at oracle.webdb.config.smi.ConfigFactory.getDADConfig904(Unknown Source)
         at oracle.webdb.config.smi.ConfigFactory.getDADConfigLatest(Unknown Source)
         at oracle.webdb.config.smi.ConfigFactory.getDADConfigLatest(Unknown Source)
         at oracle.security.sso.SSOConfigAssistant.configDAD(SSOConfigAssistant.java:1493)
         at oracle.security.sso.SSOConfigAssistant.ssoConfig(SSOConfigAssistant.java:1270)
         at oracle.security.sso.SSOConfigAssistant.main(SSOConfigAssistant.java:217)
    Please fix the error reported in the stack trace above and re-run SSO Config Tool./oracle/as/infra/jdk/bin/java
    -cp
    /oracle/as/infra/lib/xmlparserv2.jar:/oracle/as/infra/sysman/webapps/emd/WEB-INF/lib/emd.jar:/oracle/as/infra/sysman/webapps/emd/WEB-INF/lib/log4j-core.jar:/oracle/as/infra/lib/emSDK.jar
    -DORACLE_HOME=/oracle/as/infra
    oracle.sysman.emSDK.conf.TargetInstaller
    deletetarget
    oracle_sso_server
    infra.lisa.localdomain_Single Sign-On:orassoSetting the AS product version value in targets.xml to be "10.1.2.0.2".
    Calling method getASTargetInfo.
    getASTargetInfo: oracleHome = "/oracle/as/infra".
    getASTargetInfo: iasName = "infra.lisa.localdomain".
    getASTargetInfo: iAS Target Type = "oracle_ias".getASTargetInfo: StatusURL value = "http://lisa.localdomain:7777".
    Retrieved SSO protocol, host, and port info from targets.xml.
    The values are: "http://lisa.localdomain:7777".
    The following values will be used to configure the sso_server target entry in targets.xml.
    Protocol: "http".
    Hostname: "lisa.localdomain".
    Port: "7777".
    /oracle/as/infra/jdk/bin/java
    -cp
    /oracle/as/infra/lib/xmlparserv2.jar:/oracle/as/infra/sysman/webapps/emd/WEB-INF/lib/emd.jar:/oracle/as/infra/sysman/webapps/emd/WEB-INF/lib/log4j-core.jar:/oracle/as/infra/lib/emSDK.jar
    -DORACLE_HOME=/oracle/as/infra
    oracle.sysman.emSDK.conf.TargetInstaller
    addtarget
    /oracle/as/infra/sso/sso_server_target2add.xmlConfiguring SSO languages with the following language code:
    us Language us is already installed.
    About to execute java call using emConfigInstall.jar.
    Here are the arguments:
    /oracle/as/infra/jdk/bin/java
    -DORACLE_HOME=/oracle/as/infra
    -jar
    /oracle/as/infra/jlib/emConfigInstall.jar
    consolesn
    /oracle/as/infra/sso/conf/consoleConfigSNSegment.xml
    Finished executing the call.Child Process has exited.
    SSO Configuration Assistant failed.
    Configuration assistant "Single Sign-On Configuration Assistant" failed

    i had /etc/hosts as
    ip address myservername.mydomain alias1
    i had to add
    127.0.0.1 localhost.localdomain localhost
    to the file and that seemed to have carried the infra install through...will check further and update

  • Weblogic: Exception while Validating SSOToken

    Hi
    we are installing LC 9.0.0 on Weblogic 10.3 and Oracle 10g (both on Solaris). The ConfigurationManager runs like expected until the point it imports the LC components (DSC) into the databaase. We get the same result if we configure Weblogic manually (according to the installation guide) or let ConfigurationManager do it automatically. The following components can be deployed but not started:
    - adobe-tasknotification-dsc.jar
    - adobe-tasksharing-dsc.jar
    - adobe-queuesharing-dsc.jar
    - adobe-guides-dsc.jar
    Furthermore if we login to the adminui (with administrator user account) we are able to see the home screen and one level below but if we try to go any deeper (e.g. user management) we get redirected to the home screen.
    In both cases we get the following log output:
    com.adobe.idp.um.api.UMException| [com.adobe.idp.um.api.impl.AuthenticationManagerImpl] errorCode:16386 errorCodeHEX:0x4002 message:nullcom.adobe.idp.common.errors.exception.IDPException| [com.adobe.idp.um.businesslogic.authentication.AuthenticationManagerBean] errorCode:16386 errorCodeHEX:0x4002 message:nullcom.adobe.idp.common.errors.exception.IDPLoggedException| [com.adobe.idp.um.businesslogic.authentication.AuthenticationManagerBean] errorCode:12803 errorCodeHEX:0x3203 message:Exception while Validating SSOToken chainedException:org.opensaml.InvalidCryptoException: SAMLSignedObject.verify() can't verify unsigned objectchainedExceptionMessage:SAMLSignedObject.verify() can't verify unsigned object chainedException trace:org.opensaml.InvalidCryptoException: SAMLSignedObject.verify() can't verify unsigned object
            at org.opensaml.SAMLSignedObject.verify(Unknown Source)
            at com.adobe.idp.um.util.SAMLHelper.verifySignature(SAMLHelper.java:330)
            at com.adobe.idp.um.util.SAMLHelper.verifySAMLResponse(SAMLHelper.java:292)
            at com.adobe.idp.um.businesslogic.authentication.AuthenticationManagerBean.validateSSOToken( AuthenticationManagerBean.java:969)
            at com.adobe.idp.um.businesslogic.authentication.AuthenticationManagerBean.authenticate(Auth enticationManagerBean.java:261)
            at com.adobe.idp.um.businesslogic.authentication.AuthenticationManagerBean.authenticate(Auth enticationManagerBean.java:232)
            at com.adobe.idp.um.businesslogic.authentication.AuthenticationManagerBean.authenticate(Auth enticationManagerBean.java:954)
            at com.adobe.idp.um.businesslogic.authentication.AuthenticationManagerBean_sjvdcw_ELOImpl.au thenticate(AuthenticationManagerBean_sjvdcw_ELOImpl.java:635)
            at com.adobe.idp.um.api.impl.AuthenticationManagerImpl.authenticate(AuthenticationManagerImp l.java:120)
            at com.adobe.idp.um.auth.sso.SSOServlet.doPost(SSOServlet.java:214)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
            at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper. java:227)
            at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
            at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
            at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
            at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletC ontext.java:3495)
            at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
            at weblogic.security.service.SecurityManager.runAs(Unknown Source)
            at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2 180)
            at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
            at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
            at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
            at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
            at com.adobe.idp.um.api.impl.ManagerImpl.handleException(ManagerImpl.java:251)
            at com.adobe.idp.um.api.impl.ManagerImpl.handleException(ManagerImpl.java:194)
            at com.adobe.idp.um.api.impl.AuthenticationManagerImpl.authenticate(AuthenticationManagerImp l.java:122)
            at com.adobe.idp.um.auth.sso.SSOServlet.doPost(SSOServlet.java:214)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
            at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper. java:227)
            at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
            at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
            at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
            at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletC ontext.java:3495)
            at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
            at weblogic.security.service.SecurityManager.runAs(Unknown Source)
            at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2 180)
            at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
            at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
            at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
            at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Many thanks for your help!
    Regards,
    Daniel

    Hi Chetan
    Many thanks for your hint. In fact the XML parser was the problem. We added the additional JVM argument to the startup script and now LiveCycle is working on the Solaris/Weblogic platform:
    -Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBuilderFactoryIm pl
    Regards,
    Daniel

  • JDBC SQL Exception while updating an SQL database

    Hi Experts,
    Recently i have encountered a JDBC SQL exception while updating aSQL database as below,
    com.sap.aii.af.ra.ms.api.DeliveryException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'SAP_UPLOAD' (structure 'Statement'): java.sql.SQLException: No more data to read from socket
    the above system error didn't occur for all messages (so far happened twice), but i need to find an fix to overcome this system error.
    did anybody came across the above system error, please help me to resolve.
    Thanks

    Hi bandana,
    From SAP Note --> 831162
    17. Receiver: java.sql.SQLException During First Message Processing
    Q: When sending a message to a JDBC receiver channel for the first time after an extended inactivity period, I am observing a java.sql.SQLException in the adapter's processing, which refers to a closed connection or a timeout? What is causing this and how do I work around this problem?
    A: The database server has apparently closed the adapter's JDBC connection from the server side. Nevertheless, the message should be processed successfully during the next retry. If you want to completely eliminate the symptoms, enable the setting "Advanced Mode" -> "Disconnect from database after each message processing". Note that this might have a negative performance impact for high-volume processing.
    I would recommend you to go through the complete note !!! Very Informative .
    Regards,

  • Deployment exception while running a .jspx page in Jdev 11g 11.1.1.1.0

    I have a .jspx page that renders taskflows as dynamic regions. When I execute this exception is what I get.
    WARNING: [ComponentRule]{faces-config/component} Merge(oracle.adf.Table)
    <Aug 13, 2009 11:39:47 AM IST> <Warning> <HTTP> <BEA-101162> <User defined listener com.sun.faces.config.ConfigureListener failed: java.lang.IllegalAccessError: tried to access method oracle.adf.controller.v2.lifecycle.Lifecycle$Phase.<init>(Ljava/lang/String;)V from class oracle.adfinternal.controller.faces.lifecycle.JSFLifecycle$JSFPhase.
    java.lang.IllegalAccessError: tried to access method oracle.adf.controller.v2.lifecycle.Lifecycle$Phase.<init>(Ljava/lang/String;)V from class oracle.adfinternal.controller.faces.lifecycle.JSFLifecycle$JSFPhase
         at oracle.adfinternal.controller.faces.lifecycle.JSFLifecycle$JSFPhase.<init>(JSFLifecycle.java:22)
         at oracle.adfinternal.controller.faces.lifecycle.JSFLifecycle.<clinit>(JSFLifecycle.java:40)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.<init>(ADFPhaseListener.java:241)
         at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.<init>(ADFLifecyclePhaseListener.java:26)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         Truncated. see log file for complete stacktrace
    >
    <Aug 13, 2009 11:39:47 AM IST> <Warning> <HTTP> <BEA-101162> <User defined listener oracle.adf.mbean.share.config.ADFConfigLifeCycleCallBack failed: java.lang.NullPointerException.
    java.lang.NullPointerException
         at oracle.adf.mbean.share.config.ADFConfigLifeCycleCallBack.contextDestroyed(ADFConfigLifeCycleCallBack.java:122)
         at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:482)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.EventsManager.notifyContextDestroyedEvent(EventsManager.java:200)
         Truncated. see log file for complete stacktrace
    >
    Aug 13, 2009 11:39:47 AM oracle.mds.internal.lcm.logging.MDSLCMLogger log
    INFO: MBean: oracle.mds.lcm:name=MDSAppRuntime,type=MDSAppRuntime,Application=UI deregistered
    Aug 13, 2009 11:39:47 AM oracle.adf.share.weblogic.listeners.ADFApplicationLifecycleListener postStop
    INFO: ADFApplicationLifecycleListener.postStop
    Aug 13, 2009 11:39:47 AM oracle.adf.share.config.ADFConfigFactory cleanUpApplicationState
    INFO: Cleaning up application state
    <Aug 13, 2009 11:39:47 AM IST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1250143764562' for task '2'. Error is: 'weblogic.application.ModuleException: '
    weblogic.application.ModuleException:
         at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1376)
         at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:452)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
         Truncated. see log file for complete stacktrace
    java.lang.IllegalAccessError: tried to access method oracle.adf.controller.v2.lifecycle.Lifecycle$Phase.<init>(Ljava/lang/String;)V from class oracle.adfinternal.controller.faces.lifecycle.JSFLifecycle$JSFPhase
         at oracle.adfinternal.controller.faces.lifecycle.JSFLifecycle$JSFPhase.<init>(JSFLifecycle.java:22)
         at oracle.adfinternal.controller.faces.lifecycle.JSFLifecycle.<clinit>(JSFLifecycle.java:40)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.<init>(ADFPhaseListener.java:241)
         at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.<init>(ADFLifecyclePhaseListener.java:26)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         Truncated. see log file for complete stacktrace
    >
    <Aug 13, 2009 11:39:47 AM IST> <Error> <Deployer> <BEA-149202> <Encountered an exception while attempting to commit the 1 task for the application 'UI'.>
    <Aug 13, 2009 11:39:47 AM IST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'UI'.>
    <Aug 13, 2009 11:39:47 AM IST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    weblogic.application.ModuleException:
         at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1376)
         at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:452)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
         Truncated. see log file for complete stacktrace
    java.lang.IllegalAccessError: tried to access method oracle.adf.controller.v2.lifecycle.Lifecycle$Phase.<init>(Ljava/lang/String;)V from class oracle.adfinternal.controller.faces.lifecycle.JSFLifecycle$JSFPhase
         at oracle.adfinternal.controller.faces.lifecycle.JSFLifecycle$JSFPhase.<init>(JSFLifecycle.java:22)
         at oracle.adfinternal.controller.faces.lifecycle.JSFLifecycle.<clinit>(JSFLifecycle.java:40)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.<init>(ADFPhaseListener.java:241)
         at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.<init>(ADFLifecyclePhaseListener.java:26)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         Truncated. see log file for complete stacktrace
    >
    [11:39:47 AM] Weblogic Server Exception: weblogic.application.ModuleException:
    [11:39:47 AM] Caused by: java.lang.IllegalAccessError: tried to access method oracle.adf.controller.v2.lifecycle.Lifecycle$Phase.<init>(Ljava/lang/String;)V from class oracle.adfinternal.controller.faces.lifecycle.JSFLifecycle$JSFPhase
    [11:39:47 AM] See server logs or server console for more details.
    oracle.jdeveloper.deploy.DeployException: oracle.jdeveloper.deploy.DeployException: oracle.jdeveloper.deploy.DeployException: Deployment Failed
    oracle.jdeveloper.deploy.DeployException: oracle.jdeveloper.deploy.DeployException: oracle.jdeveloper.deploy.DeployException: Deployment Failed[11:39:47 AM] #### Deployment incomplete. ####
         at oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer.doDeploymentAction(Jsr88RemoteDeployer.java:341)
         at oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer.deployImpl(Jsr88RemoteDeployer.java:235)
         at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
         at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)
         at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
         at oracle.jdeveloper.deploy.common.BatchDeployer.deployImpl(BatchDeployer.java:82)
         at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
         at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)
         at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
         at oracle.jdevimpl.deploy.fwk.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:442)
         at oracle.jdeveloper.deploy.DeploymentManager.deploy(DeploymentManager.java:209)
         at oracle.jdevimpl.runner.adrs.AdrsStarter$6$1.run(AdrsStarter.java:1469)
    Caused by: oracle.jdeveloper.deploy.DeployException: oracle.jdeveloper.deploy.DeployException: Deployment Failed
         at oracle.jdevimpl.deploy.common.Jsr88DeploymentHelper.redeployApplications(Jsr88DeploymentHelper.java:627)
         at oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer.doDeploymentAction(Jsr88RemoteDeployer.java:315)
         ... 11 more
    Caused by: oracle.jdeveloper.deploy.DeployException: Deployment Failed
         at oracle.jdevimpl.deploy.common.Jsr88DeploymentHelper.redeployApplications(Jsr88DeploymentHelper.java:608)
         ... 12 more
    #### Cannot run application UI due to error deploying to DefaultServer.
    [Application UI stopped and undeployed from Server Instance DefaultServer]

    I was facing a similar error, the problem was because of adf-controller.jar. My error was :
    java.lang.IllegalAccessError: tried to access method oracle.adf.controller.v2.lifecycle.Lifecycle$Phase.<init>(Ljava/lang/String;)V from class oracle.adfinternal.controller.faces.lifecycle.JSFLifecycle$JSFPhase
    The jar's 10g edition has  (1st part)oracle.adf.controller.v2.lifecycle.Lifecycle$Phase and 11g edition has (2nd part) oracle.adfinternal.controller.faces.lifecycle.JSFLifecycle$JSFPhase. So I created my own jar extracting both jars at one place using the following command
    jar -cf adf-controller.jar .
    This solved my problem.
    Hope you get the idea. The best way to face these type of errors is opening the archive and checking for the files for which the compiler is complaining.

  • Error while deploying module with iasdeploy : Exception while createXmlDocument() : connection refused

    Hi to you all,
    I work with iAS 6.0 sp2 on Solaris.
    For 1 day, I get that exception when trying to deploy or remove my modules (servlets + JSP) with the iasdeploy tool :
    Exception while createXmlDocument()
    java.net.ConnectException: Connection refused
    at java.net.PlainSocketImpl.socketConnect(Native method)
    at com.netscape.server.deployment.WebbAppReg.run(compiled code)
    at com.netscape.server.deployment.WebbAppReg.main(Unknown source)
    The war archive is put in the JAR directory, unpacked in the APPS/modules directory, but the servlets of the module have the null GUID in the registry ({000000 000000 000000}. And so, I have the GX error when trying to invoke them.
    What appends ? Is it a iAS process which is unable ?
    Please help !
    Paul-Emile

    I think you have not put the xml files in the war file.
    You need to put them under WEB-INF/ directory. Manually generate the guids using kguidgen script and try to deploy the war module. It should work fine. If it doesnot work please send me the file. So that I can further investigate and find out where exactly the problem is.Other wise you can use the deploytool.
    Please let me know if this works fine.
    Thanks for visiting our web forum.

  • HR: Need to Send the Paysilp as a PDF file through Mail to Employees

    Dear All ,
           Need to Send the Paysilp as a PDF file through Mail to Employees.
           can anyone please suggest any Standard Function Modules which takes the Payslip Form as input and convert it into PDF and can send it through mail to the concern employees.
          Can anyone please explain the procedure in detail.
    Thanks in Advance,
    Regards.

    venu,
    below is code which helps to generate pdf ,,,,hope u know how to use the mail sending function
    data:
    fm_name TYPE RS38L_FNAM, "Smart Forms: FM Name
    sf_name TYPE TDSFNAME
    value 'YOUR_FORM_NAME', "Smart Forms: Form Name
    P_OUTPUT_OPTIONS TYPE SSFCOMPOP,
    P_JOB_OUTPUT_INFO TYPE SSFCRESCL,
    P_CONTROL_PARAMETERS TYPE SSFCTRLOP,
    P_LANGUAGE TYPE SFLANGU value 'E',
    P_E_DEVTYPE TYPE RSPOPTYPE.
    data:
    P_BIN_FILESIZE TYPE I,
    P_BIN_FILE TYPE XSTRING,
    P_OTF type table of ITCOO,
    P_DOCS type table of DOCS,
    P_LINES type table of TLINE,
    name type string,
    path type string,
    fullpath type string,
    filter type string,
    guiobj type ref to cl_gui_frontend_services,
    uact type i,
    filename(128).
    GET SMARTFORM FUNCTION MODULE NAME ---
    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
    EXPORTING
    FORMNAME = sf_name
    IMPORTING
    FM_NAME = fm_name
    EXCEPTIONS
    NO_FORM = 1
    NO_FUNCTION_MODULE = 2
    OTHERS = 3
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CALL FUNCTION 'SSF_GET_DEVICE_TYPE'
    EXPORTING
    I_LANGUAGE = P_LANGUAGE
    I_APPLICATION = 'SAPDEFAULT'
    IMPORTING
    E_DEVTYPE = P_E_DEVTYPE.
    P_OUTPUT_OPTIONS-XSFCMODE = 'X'.
    P_OUTPUT_OPTIONS-XSF = SPACE.
    P_OUTPUT_OPTIONS-XDFCMODE = 'X'.
    P_OUTPUT_OPTIONS-XDF = SPACE.
    P_OUTPUT_OPTIONS-TDPRINTER = P_E_DEVTYPE.
    P_CONTROL_PARAMETERS-NO_DIALOG = 'X'.
    P_CONTROL_PARAMETERS-GETOTF = 'X'.
    ****...................................PRINTING.........................
    CALL FUNCTION fm_name
    EXPORTING
    CONTROL_PARAMETERS = P_CONTROL_PARAMETERS
    OUTPUT_OPTIONS = P_OUTPUT_OPTIONS
    (....) <--- your form import parameters
    IMPORTING
    JOB_OUTPUT_INFO = P_JOB_OUTPUT_INFO.
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    P_OTF[] = P_JOB_OUTPUT_INFO-OTFDATA.
    ****...................................CONVERT TO PDF...............
    CALL FUNCTION 'CONVERT_OTF_2_PDF'
    IMPORTING
    BIN_FILESIZE = P_BIN_FILESIZE
    TABLES
    OTF = P_OTF
    DOCTAB_ARCHIVE = P_DOCS
    LINES = P_LINES
    EXCEPTIONS
    ERR_CONV_NOT_POSSIBLE = 1
    ERR_OTF_MC_NOENDMARKER = 2
    OTHERS = 3.
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    now you can mail the pdf.
    Reward points if helpful
    Regards,
    jinesh

  • Error in opening PDF generated through HAP_DOCUMENT(ESS/MSS)

    Hi Experts,
    User is getting an error while opening the PDF generated through "Print" functionality of appraisal document(HAP_Document).
    There is a problem i'am facing in this BSP's,when i click on PRINT after creating Appraisal,it will ask me to either open or save in pdf.
    But when i open or save it and open it is giving me this message in Adobe
    "Acrobat could not open u2018webforms.pdfu2019 because it is either not a supported file type or because the file has been corrupted (for example, it was sent as an email attachment and wasnu2019t correctly decoded).
    To create an Adobe PDF document, go to the source application. Then print the document to Adobe PDF."
    Any body please guide me with a solution.
    With Regards,
    Surender Dahiya

    Hello Surender,
    there may have been connection problems to your content repository when you tried to view this file. I would also recommend that you apply the latest version of the Acrobat Reader. I would recommend that you run a
    trace on the RFC destination to your archive and see what errors are reported when this error occurs again.
    Best Regards,
    Deepak..

Maybe you are looking for

  • PO Approval through email set up documets

    Hi, I want set up documents once we try approve the Requisition and PO documents for approval not through notifications, but through email. So the approvers will open the relevant information in their email and approve the document through email. The

  • Help connecting macbookpro to tv monitor

    hello im trying to connect my macbook pro to my tv video and do far everything so good, only thing is there is no sound, and today i went to the apple store and purchased stereo cable just for that reason and still no sound is coming out of the monit

  • Override message M7022 in MIGO by purchase value key

    HI Experts,    I have maintain a purchase value key in which i have set the over tolerence delivery 5 % for that material , But while receiving material against the PO for that material , the system is giving error that the Quantity recive is more th

  • HANA equivalent of oracle's sql%rowcount to get affected rows.

    I want to get the number of rows affected from an insert or update statement inside a stored procedure. Is there any equivalent to oracle's sql%rowcount that can be called after the query. For example: create procedure procedure_name begin      decla

  • Manadatory SP stack and which kernel version for source Release 4.6c

    Hello! I have the following questions: - Which support package stack and which kernel version are mandatory for Source Release 4.6? - Has the SAP Business connector still any supports? And some additional question regardind connection Lotus Notes wit