Skip to Content
author's profile photo Former Member
Former Member

Custom Jar file

hi,

Please let us know the procedure for deploying custom jar file to E-Sourcing -5.1 syatem.

Thanks in advance,

Venkat

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Dec 11, 2009 at 05:08 AM

    Hi Venkat,

    Follow the steps to deploy custom jar file in ESO

    1) Goto ESO home directory --> bin --> configure.exe

    2) Select Custom JAR file and Update WAR and EAR file in configure task

    3) Select Custom JAR files when Asked

    3) Click on Next (Wait till WAR and EAR file is genrated)

    4) Open Visual Admin

    5) Remove fcsourcing from deploy

    6) Deploy and Start Fcsourcing newly genrated EAR file.

    Regards

    ~Ankush

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Ankush,

      Sourcing version used is 5.1.08.

      Error while we click "Deploy and Start" button on visual Admin and select the newly created fcsourcing.ear file is as below:

      com.sap.engine.services.servlets_jsp.server.exceptions.WebIOException: Incorrect War file.

      at com.sap.engine.services.servlets_jsp.descriptor.jar.WebWar.getWebDescriptor(WebWar.java:130)

      at com.sap.engine.services.servlets_jsp.descriptor.jar.WebWar.getWebDescriptor(WebWar.java:170)

      at com.sap.engine.deploy.tool.deployer.ExtendedEarReader.loadDescriptorFromFile(ExtendedEarReader.java:238)

      at com.sap.engine.deploy.tool.deployer.ExtendedEarReader.getFullEarDescriptor(ExtendedEarReader.java:123)

      at com.sap.engine.services.deploy.gui.runtime.EarLoader.loadEar(EarLoader.java:137)

      at com.sap.engine.services.deploy.gui.runtime.MainDeployPanelLogical.loadEarAction(MainDeployPanelLogical.java:169)

      at com.sap.engine.services.deploy.gui.runtime.EarDialog.setEar(EarDialog.java:79)

      at com.sap.engine.services.deploy.gui.DeployDialogLogical.okButtonAction(DeployDialogLogical.java:294)

      at com.sap.engine.services.deploy.gui.DeployDialogLogical.actionPerformed(DeployDialogLogical.java:71)

      at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)

      at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839)

      at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)

      at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)

      at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245)

      at java.awt.Component.processMouseEvent(Component.java:5115)

      at java.awt.Component.processEvent(Component.java:4912)

      at java.awt.Container.processEvent(Container.java:1569)

      at java.awt.Component.dispatchEventImpl(Component.java:3630)

      at java.awt.Container.dispatchEventImpl(Container.java:1627)

      at java.awt.Component.dispatchEvent(Component.java:3477)

      at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)

      at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)

      at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)

      at java.awt.Container.dispatchEventImpl(Container.java:1613)

      at java.awt.Window.dispatchEventImpl(Window.java:1606)

      at java.awt.Component.dispatchEvent(Component.java:3477)

      at java.awt.EventQueue.dispatchEvent(EventQueue.java:480)

      at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)

      at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)

      at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:141)

      at java.awt.Dialog$1.run(Dialog.java:542)

      at java.awt.Dialog$3.run(Dialog.java:569)

      at java.security.AccessController.doPrivileged(Native Method)

      at java.awt.Dialog.show(Dialog.java:567)

      at java.awt.Component.show(Component.java:1133)

      at java.awt.Component.setVisible(Component.java:1088)

      at com.sap.engine.services.deploy.gui.DeployDialogLogical.showDialog(DeployDialogLogical.java:378)

      at com.sap.engine.services.deploy.gui.ApplicationsPanel.deployAction(ApplicationsPanel.java:413)

      at com.sap.engine.services.deploy.gui.ApplicationsPanel.actionPerformed(ApplicationsPanel.java:357)

      at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)

      at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839)

      at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)

      at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)

      at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245)

      at java.awt.Component.processMouseEvent(Component.java:5115)

      at java.awt.Component.processEvent(Component.java:4912)

      at java.awt.Container.processEvent(Container.java:1569)

      at java.awt.Component.dispatchEventImpl(Component.java:3630)

      at java.awt.Container.dispatchEventImpl(Container.java:1627)

      at java.awt.Component.dispatchEvent(Component.java:3477)

      at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)

      at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)

      at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)

      at java.awt.Container.dispatchEventImpl(Container.java:1613)

      at java.awt.Window.dispatchEventImpl(Window.java:1606)

      at java.awt.Component.dispatchEvent(Component.java:3477)

      at java.awt.EventQueue.dispatchEvent(EventQueue.java:480)

      at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)

      at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)

      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)

      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)

      at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)

      Caused by: com.sap.engine.services.servlets_jsp.server.exceptions.WebContainerSAXException: Cannot parse web.xml.

      at com.sap.engine.services.servlets_jsp.descriptor.jar.WebWar.getConvertedWebDescriptor(WebWar.java:368)

      at com.sap.engine.services.servlets_jsp.descriptor.jar.WebWar.getWebDescriptor(WebWar.java:84)

      ... 61 more

      Caused by: com.sap.engine.services.servlets_jsp.server.exceptions.WebWrongDescriptorException: Incorrect value [$SESSION_TIMEOUT$] for tag [session-timeout].

      at com.sap.engine.services.servlets_jsp.descriptor.xml.WebDescriptorDocument.initTimeOut(WebDescriptorDocument.java:465)

      at com.sap.engine.services.servlets_jsp.descriptor.xml.WebDescriptorDocument.loadDescriptorFromElement(WebDescriptorDocument.java:182)

      at com.sap.engine.services.servlets_jsp.descriptor.xml.WebDescriptorDocument.loadDescriptorFromDocument(WebDescriptorDocument.java:134)

      at com.sap.engine.services.servlets_jsp.descriptor.jar.WebWar.getConvertedWebDescriptor(WebWar.java:366)

      ... 62 more

      Caused by: java.lang.NumberFormatException: For input string: "$SESSION_TIMEOUT$"

      at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)

      at java.lang.Integer.parseInt(Integer.java:468)

      at java.lang.Integer.<init>(Integer.java:609)

      at com.sap.engine.services.servlets_jsp.descriptor.xml.WebDescriptorDocument.initTimeOut(WebDescriptorDocument.java:463)

      ... 65 more

      While developing code in Eclipse, there are no compilation errors but when I try to run code, I am getting "Session" Object as nulll.

      Please let me know if we need to set Session object. And how to resolve this issue.

      Thanks,

      Saloni

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.