JCAPS 6 commandlinecodegen problem

I'm trying to get a build going with commandlinecodegen.
I've successfully built an EAR, but on deployment I get a stack trace, complaining:
Caused by: java.lang.ClassNotFoundException: com.stc.jmsjca.sunone.RASunOneResourceAdapter
at com.sun.enterprise.loader.EJBClassLoader.findClassData(EJBClassLoader.java:741)
at com.sun.enterprise.loader.EJBClassLoader.findClass(EJBClassLoader.java:631)
This appears to be because com.stc.jmsjca.core.jar, com.stc.jmsjca.rasunone.jar, com.stc.jmsmx.core.jar and com.stc.jmsmx.sjsmq.jar aren't included in the EAR file generated by commandlinecodegen for my project, but are included when I build through the IDE.
Is this a known bug? Is there something I'm doing wrong with c-l-c-g to make this happen? c-l-c-g doesn't report any errors when building, the build appears to be entirely successful, it's just that there's not enough libraries included with the EAR file.

No, it doesn't. Sun is investing into its own open-source IDE, Netbeans, which is tightly integrated with JavaCAPS and OpenESB. Sun then offers enterprise level commercial support for all of the mentioned open-source products. Supporting also Eclipse would just be a very expensive effort.

Similar Messages

  • JCAPS UDDI - Problem Using the Web Service Management Application

    Hi everyone, this is my problem:
    1.) I installed the JCAPS UDDI Server in a Solaris. <-- Ok
    2.) In the eManager I installed the Web Services Access Manager. <-- Ok
    3.) I started the UDDI server. <-- Ok
    4.) I check that the process is running (in Solaris). <-- Ok
    5.) I'm trying to load the Web Service Management Application Login Page, but it doesn't show the page so I can't login and in consequence I can't publish, remove, view, and search WSDLs by using the Web Service Management Application.
    I appreciate some help about this.
    Regards

    Yes, I am connecting to the same system where we have data..
    Anirban

  • PreparedStatement problem in Oracle OTD(JCAPS 5.1.3)

    Hi,
    I encountered a problem with Oracle-eway-generated PreparedStatements when trying to build a project in enterprise designer . I know that without using any prepraredstatement, my project builds fine. Below is the text on the error pop-up window:
    java.lang.NullPointerException
    at com.stc.codegen.OTDImpl.model.OTDCodeletFactory$ArtifactKey.hashCode(OTDCodeletFactory.java:136)
    at java.util.HashMap.hash(HashMap.java:261)
    at java.util.HashMap.containsKey(HashMap.java:339)
    at com.stc.codegen.OTDImpl.model.OTDCodeletFactory.getOtdFromBuisnessProcess(OTDCodeletFactory.java:207)
    at com.stc.codegen.OTDImpl.model.OTDCodeletFactory.createCodelets(OTDCodeletFactory.java:285)
    at com.stc.codegen.frameworkImpl.model.DeploymentVisitorImpl.process(DeploymentVisitorImpl.java:382)
    at com.stc.codegen.frameworkImpl.model.DeploymentVisitorImpl.process(DeploymentVisitorImpl.java:308)
    at com.stc.codegen.frameworkImpl.model.DeploymentVisitorImpl.traverseDeployment(DeploymentVisitorImpl.java:268)
    at com.stc.codegen.driver.module.DeploymentBuildAction.loadCodeGen(DeploymentBuildAction.java:923)
    at com.stc.codegen.driver.module.DeploymentBuildAction.access$1000(DeploymentBuildAction.java:174)
    at com.stc.codegen.driver.module.DeploymentBuildAction$1.run(DeploymentBuildAction.java:599)
    at org.openide.util.Task.run(Task.java:136)
    [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:599)In order to isolate the problem, I have created a simplified project which just reads a text message and writes the message into the Oracle database with the help of a PreparedStatement. I had an error as well;
    "Oracle eway code generation error(ERROR_CODEGEN_BPEL_CODELET_GENERAL)"
    Caused by: com.stc.codegen.framwork.model.CodeGenException: Error when generating OTD code ...Exception: Invalid parameter type: Class: [TEST] Object: [Param1] Param Type: [VARCHAR].(ERROR_CODEGEN_DB)(ERROR_CREATE_OTD)I think that there is a conflict between the parameters in Oracle and the parameters in the code. Somehow, Oracle eway cannot get the parameter type from database correctly.
    Is there a solution for this? I couldn't find any patches/updates for Enterprise designer or eway. Can you point me to right direction if there is any.
    Thanks in advance,
    Mete

    Hi there,
    (I think) I have found the solution. When designing OTD, I have mapped VARCHAR2 column as CHAR. Somehow, JCAPS throws a code generation exception if the field is not mapped as a CHAR for a VARCHAR2 database column.

  • Problem while deploying ear into integration server of JCAPS 5.1.1

    hi all,
    when i'm trying to deployinag an ear file into JCAPS 5.1.1 integration server i'm getting the follwing error and i am not able to deploy the project.
    javax.servlet.ServletException: Cannot find message resources under key org.apache.struts.action.MESSAGE
    org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:872)
    org.apache.jasper.runtime.PageContextImpl.access$1100(PageContextImpl.java:114)
    org.apache.jasper.runtime.PageContextImpl$12.run(PageContextImpl.java:792)
    java.security.AccessController.doPrivileged(Native Method)
    org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:790)
    SeeBeyondISDeployer.pages.ManageApplications_jsp._jspService(ManageApplications_jsp.java:1155)
    org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:141)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:861)
    sun.reflect.GeneratedMethodAccessor103.invoke(Unknown Source)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    java.lang.reflect.Method.invoke(Method.java:585)
    org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:289)
    java.security.AccessController.doPrivileged(Native Method)
    javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
    org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:318)
    org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:205)
    java.security.AccessController.doPrivileged(Native Method)
    edu.yale.its.tp.cas.client.filter.CASFilter.doFilter(CASFilter.java:635)
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    java.lang.reflect.Method.invoke(Method.java:585)
    org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:289)
    java.security.AccessController.doPrivileged(Native Method)
    javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
    org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:318)
    org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:261)
    root cause
    can any body help me out to resolve this problem.
    Thanks In Advance

    First check is Java stack is running ?
    make sure J2EE_ADMIN user not locked.
    Ans please check password in secure area. check password in secure store should be correct.
    may be you can try with restart of SAP and DB.
    All the best
    regards
    nag

  • Integration Sap PI - JCAPS through JMS queue problem

    Hi to all,
    we have to send data through Sap PI 7.1 to an application server Sun Seebeyond JCAPS via JNDI JMS.
    We created a Simple Java Test Class that sends data to Jcaps Queues using stcms libraries suggested from Sun.
    I already tested this code on Eclipse, and it works fine. (Jcaps receive correctly messages sent from Java Class)
    Using JMS Communication Channel on Sap PI with same settings used on Java Class (Queue Connection Factory, Initial Context Factory, URL, Queue Name) and deployed the same stcms libraries on PI,
    Jcaps doesn't receive any message. In ABAP Monitor and Communication Channel Monitor we don't check any error: infact in CC Monitor a "Succesfully Connected to Queue" is displayed.
    During our tests on Java Class, we tried to change CreateQueueSession istruction ( qsession = qcon.createQueueSession( false, javax.jms.Session.CLIENT_ACKNOWLEDGE ));
    we checked that any other setting (changing parameters required from Java Method), different from setting just exposed,
    messages are not received from Jcaps and we don't have any error during sending operation (like happens in Sap PI).
    So correct setting to send message to JCAPS are:
    Transacted = False;
    acknowledgeMode = CLIENT_ACKNOWLEDGE;
    How we can set this parameter in JMS Communication Channel on Sap PI?
    If the CC configuration is correct, where we can find the problem and what kind of issue could be? On client side (Sap PI) or on Server side (JCAPS)?
    Thanks

    In order to set Transacted = false, uncheck "Transactional JMS Session" in the Processing Tab of JMS adapter. Keep in mind that the message delivery is NOT guaranteed in such a scenario. It is recommended to use transactional sessions in JMS scenarios.
    The JMS sessions created by JMS adapter are of type "AUTO_ACKNOWLEDGE".
    Regards,
    TK
    Edited by: Sameej T.K. on Oct 20, 2010 10:47 PM

  • WLM and EVision problem in JCAPS 5.1.2

    Hello everyone,
    There is a big problem in the JCAPS version 5.1.2, in that version is not posibble to configure the WLM and EVision in the environment profile because i got:
    Annotation: Exception occurred in Request Processor
    java.lang.NoSuchMethodError: com.stc.configeditor.view.ConfigEditorAction.setConfig(Lcom/stc/model/common/Configurable;[Ljava/lang/String;Z)V
            at com.stc.bpms.wlm.ee.PropertiesAction.performAction(PropertiesAction.java:80)
            at org.openide.util.actions.NodeAction.actionPerformed(NodeAction.java:170)
            at org.netbeans.core.ModuleActions$1.run(Unknown Source)
            at org.openide.util.Task.run(Task.java:136)
    [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:599)what can i do?

    Can u try to remove fetchsize and see if your issue is resoved?
    Subhash

  • Problem in importinf RFC from SAP in JCAPS

    HI,
    I am getting an error when i am Deploying my project in JCAPS. The error is
    Cannot access property: rFC_IDOC_INBOUND_ASYNCHRONOUS.IDOC_INBOUND_ASYNCHRONOUSReceiveResponse.bytesToMarshal; java.lang.reflect.InvocationTargetException
    Also when I import an RFC (IDOC_INBOUND_ASYNCHRONOUS) then I get different different sub items everytime i download it.
    Are the two problems related to each other?
    If any one has any suggestions plese advise.
    Regds
    Abhishek

    I see two problem with the code:
    - You don't set a Connection nor ConnectionString to your new proxy "objProxy". This is likely the reason for the exception.
    - It seems that you want to have two rows in your "YfS_EMP_CLAIMTable1". Note that you need to create two instances of the struct you want to add. Reusing the variable "Claim_struct" will have pointers in YfS_EMP_CLAIMTable1 pointing to exactly the same structure instance. This is not likely what you want.
    After the first
    YfS_EMP_CLAIMTable1.Add(Claim_struct)
    add a line
    Claim_struct = New SAPProxy1.YFS_EMP_CLAIM()

  • JCAPS 5.1.3 WS-Security problem

    Hi.
    I'm having trouble calling a web service that requires a User Name Token. We know this worked fine in 5.1.2, but have not gotten it working since upgrading to 5.1.3. When I enable "SOAP Message Securiy" and set the username + password in the Web Service External System the following error appears in the log:
    [#|2007-12-06T09:51:05.946+0100|WARNING|IS5.1.3|javax.enterprise.system.stream.err|_ThreadID=17; ThreadName=Worker: 4;|ERROR:  'NAMESPACE_ERR: An attempt is made to create or change an object in a way which is incorrect with regard to namespaces.'|#]
    [#|2007-12-06T09:51:05.974+0100|SEVERE|IS5.1.3|javax.xml.messaging.saaj.soap|_ThreadID=17; ThreadName=Worker: 4;|SAAJ0511: Unable to create envelope from given source|#]
    [#|2007-12-06T09:51:06.022+0100|WARNING|IS5.1.3|com.stc.wsclient.runtime.ejb.impl.WSClientService|_ThreadID=17; ThreadName=Worker: 4;|Generating CMFault: <?xml version="1.0" encoding="UTF-8"?><Fault xmlns="http://seebeyond/com/xsddefined/FaultMessages"><faultcode xmlns="">CLIENT_ERROR</faultcode><faultstring xmlns="">java.rmi.RemoteException: response handler error: ; nested exception is:
    javax.xml.rpc.JAXRPCException: Error processing SOAP header inside the handleResponse of the message handler: Unable to create envelope from given source: </faultstring><faultactor xmlns="">wsclient</faultactor><detail xmlns="">java.rmi.RemoteException: response handler error: ; nested exception is:
    javax.xml.rpc.JAXRPCException: Error processing SOAP header inside the handleResponse of the message handler: Unable to create envelope from given source: and the associated fault container is not available</detail></Fault>|#]
    I find this very strange, since it worked fine in 5.1.2. Also the service we are calling has not changed its contract because calls using SoapUI with the same configuration as always works fine.
    Thanks in advance for any feedback,
    -Mario

    Hi Experts,
    I'm trying to protect a web service deployed in jcaps 5.1.1, using SAML assertions against an Access Manager 7/7.1, the web services clients are both, web and standalone applications, I also have read netbeans tutorials, that expose how to implement identity webservices using AppServer 9.1 + AccessManager 7.1 using the SAML Holder of key and other security mechanisms, but this implementation requiere modifications to the server.policy file to add support to SOAP message security providers and HttpServlet message security providers, the addition of a library called amwebservicesprovider.jar to the classpath suffix (this library implements the jsr-196 java Authentication Service Provider Interface for Containers) and aditional configuration required in the AM side that is not detailed in the tutorials.
    Could someone guide me on how to protect the acces to a web services deployed in the jcaps logicalhost based on AM roles assigned to users?
    Any help is aprecciated
    Juan

  • DB2 Connect OTD problem in JCAPS 6

    Hi,
    I am getting the error "could not locate jdbc driver com.ibm.db2.jcc.db2driver" Where do i need to place the DB2 jar files??
    Regards,
    Munaf

    I've used the DB2Connect 3rd party library installer that shipped with JCAPS 6. That didn't work at all (console reported that it moved 3 files to a certain directory, navigate to that directory and only 1 file is there.)
    Here is the stacktrace from messages.log:
    INFO [com.stc.otd.forest.provider.OtdRepositoryContext]: LookUpOtd: XMLDB2/otdSQLServLookup from Repository.......
    WARNING [com.stc.bpms.common.model.wsdl.visitor.SAXParseVisitor]: Parent Project Element must be specified in order for imports to function correctly.
    INFO [com.stc.otd.forest.provider.OtdRepositoryContext]: LookUpOtd: XMLDB2/otdSQLServLookup from Repository.......
    WARNING [org.openide.util.IconManager]: Initial slashes in Utilities.loadImage deprecated (cf. #20072): /com/stc/deployment/module/resources/deployment.png
    INFO [com.stc.otd.forest.provider.OtdRepositoryContext]: LookUpOtd: XMLDB2/KFC/OTD/otdKFCToDB2 from Repository.......
    WARNING [com.stc.bpms.common.model.wsdl.visitor.SAXParseVisitor]: Parent Project Element must be specified in order for imports to function correctly.
    Warning: use of system property netbeans.home in com.stc.db2connect.wizard.ConnectionVisualPanel has been obsoleted in favor of InstalledFileLocator
    java.lang.ClassNotFoundException: COM.ibm.db2.jdbc.app.DB2Driver
         at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
         at org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:244)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:164)
         at com.stc.db2connect.builder.DBMetaData.connectDB(DBMetaData.java:324)
         at com.stc.db2connect.wizard.ConnectionPanel.canConnectToDb(ConnectionPanel.java:278)
         at com.stc.db2connect.wizard.DbIterator.nextPanel(DbIterator.java:520)
         at org.openide.WizardDescriptor$Listener$1.run(WizardDescriptor.java:1857)
         at org.openide.WizardDescriptor.lazyValidate(WizardDescriptor.java:1316)
         at org.openide.WizardDescriptor.access$1200(WizardDescriptor.java:119)
         at org.openide.WizardDescriptor$Listener.actionPerformed(WizardDescriptor.java:1880)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.openide.util.WeakListenerImpl$ProxyListener.invoke(WeakListenerImpl.java:449)
         at $Proxy21.actionPerformed(Unknown Source)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
         at javax.swing.AbstractButton.doClick(AbstractButton.java:302)
         at javax.swing.plaf.basic.BasicRootPaneUI$Actions.actionPerformed(BasicRootPaneUI.java:190)
         at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1571)
         at javax.swing.JComponent.processKeyBinding(JComponent.java:2772)
         at javax.swing.KeyboardManager.fireBinding(KeyboardManager.java:255)
         at javax.swing.KeyboardManager.fireKeyboardAction(KeyboardManager.java:204)
         at javax.swing.JComponent.processKeyBindingsForAllComponents(JComponent.java:2849)
         at javax.swing.JComponent.processKeyBindings(JComponent.java:2841)
         at javax.swing.JComponent.processKeyEvent(JComponent.java:2735)
         at java.awt.Component.processEvent(Component.java:5294)
         at java.awt.Container.processEvent(Container.java:1966)
         at java.awt.Component.dispatchEventImpl(Component.java:3984)
         at java.awt.Container.dispatchEventImpl(Container.java:2024)
         at java.awt.Component.dispatchEvent(Component.java:3819)
         at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1826)
         at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:681)
         at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:938)
         at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:810)
         at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:645)
         at java.awt.Component.dispatchEventImpl(Component.java:3857)
         at java.awt.Container.dispatchEventImpl(Container.java:2024)
         at java.awt.Window.dispatchEventImpl(Window.java:1791)
         at java.awt.Component.dispatchEvent(Component.java:3819)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
         at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:104)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:153)
         at java.awt.Dialog$1.run(Dialog.java:535)
         at java.awt.Dialog$2.run(Dialog.java:565)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.awt.Dialog.show(Dialog.java:563)
         at org.netbeans.core.windows.services.NbPresenter.superShow(NbPresenter.java:835)
         at org.netbeans.core.windows.services.NbPresenter.doShow(NbPresenter.java:869)
         at org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:857)
         at org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:108)
         at org.openide.util.Mutex.doEventAccess(Mutex.java:1355)
         at org.openide.util.Mutex.readAccess(Mutex.java:268)
         at org.netbeans.core.windows.services.NbPresenter.show(NbPresenter.java:842)
         at com.stc.db2connect.wizard.Db2ConnectDatabaseOtdEditAction.performAction(Db2ConnectDatabaseOtdEditAction.java:132)
         at org.openide.util.actions.NodeAction$DelegateAction$1.run(NodeAction.java:581)
         at org.netbeans.modules.openide.util.ActionsBridge.doPerformAction(ActionsBridge.java:77)
         at org.openide.util.actions.NodeAction$DelegateAction.actionPerformed(NodeAction.java:577)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
         at javax.swing.AbstractButton.doClick(AbstractButton.java:302)
         at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1051)
         at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1092)
         at java.awt.Component.processMouseEvent(Component.java:5517)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
         at java.awt.Component.processEvent(Component.java:5282)
         at java.awt.Container.processEvent(Container.java:1966)
         at java.awt.Component.dispatchEventImpl(Component.java:3984)
         at java.awt.Container.dispatchEventImpl(Container.java:2024)
         at java.awt.Component.dispatchEvent(Component.java:3819)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
         at java.awt.Container.dispatchEventImpl(Container.java:2010)
         at java.awt.Window.dispatchEventImpl(Window.java:1791)
         at java.awt.Component.dispatchEvent(Component.java:3819)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
         at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:104)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

  • Problem with System.getProperty( "com.stc.application.dataroot" ) in JCAPS6

    Hello everybody,
    I'm using JCAPS 6 but I have to follow a guideline of projects implemented with JCAPS 5.1.3.
    The project for example, has written for the logs-directory in method user initialize this code:
    // JCAPS uses JVM version 1.5
    logger.info( "--- BEGIN ------ JCAPS userInitialize" );
    String currRoot = System.getProperty( "com.stc.application.dataroot" );
    String log4j_props = currRoot + "/../../NameDirectory/" + collabContext.getProjectPath() + "/" +
    collabContext.getCollaborationName() + "_log4j.properties";
    With JCAPS 6 I don't know how to substitute "System.getProperty( "com.stc.application.dataroot" );" because with it don't function.
    Somebody can help me?
    Thanx!
    Fabrizio

    This is the correct code:
    // JCAPS uses JVM version 1.5
    logger.info( "--- BEGIN ------ JCAPS userInitialize" );
    String currRoot = System.getProperty( "com.stc.application.dataroot" );
    String log4j_props = currRoot + "/../../NoemaLife/" + collabContext.getProjectPath() + "/" + collabContext.getCollaborationName() + "_log4j.properties";
    but I have the same problem...

  • No Connection btw JCAPS 5.1.2 and SAP ECC 6.0 whle creatining SAP/Bapi OTD

    Hello.
    We have the following problem trying to build SAP BAPI/RFC OTD.
    1) JCAPS 5.1.2. SAP ECC 6.0. Jco version 2.1.7 (also tried 2.1.8, 2.0.12 with the same result). All steps were done according to SAP BAPI/ALE eWays user guides and readmes
    2) SAP client already installed and worked ok on the same host as the JCAPS
    3) It looks like the problem is in JCo. It seems like doesn't react when we trying to connect to SAP during creation of BAPI/RFC OTDs at design time.
    Error message: partner not reached
    ERRNO 10060
    All ports are open and no restrictions imposed on JCAPS server. There are no connection log entries on SAP router host.
    4)We tried to run sample Project which goes with eway, and the following entries in logical host log file were found:
    [#|2007-06-12T11:35:13.171+0600|WARNING|IS5.1.2|STC.eWay.SAP.BAPI.com.stc.connector.sapbapiadapter.sapbapi.SAPConnector|_ThreadID=17; ThreadName=Worker: 5;|SAPConnector.isConnect(): JCO Client is null|#]
    [#|2007-06-12T11:35:13.296+0600|INFO|IS5.1.2|STC.eWay.framework.management.com.stc.connector.management.util.Alerter|_ThreadID=17; ThreadName=Worker: 5;|sendAlert(), connection info: ConnectionInfo [ collaboration: cmBAPIOutbound_jcdFlightGetList, project: prjBAPIOutbound, component: eaSAPBAPI, deployment: dpBAPIOutbound, environment: envTest, logicalhost: LogicalHost1, integration server: IntegrationSvr1 ], monitor: ObjectReference [ name: SeeBeyond:GUID={70010000-D247521E130100-AC14015A-01},Name=prjBAPIOutbounddpBAPIOutbound|prjBAPIOutbound|dpBAPIOutbound|cmBAPIOutbound_jcdFlightGetList_eaSAPBAPI ], alert message: No connection established to SAP R/3 for user $$$$$$ on host $$$$$.|#]
    [#|2007-06-12T11:35:13.312+0600|WARNING|IS5.1.2|STC.eWay.SAP.BAPI.com.stc.connector.sapbapiadapter.sapbapi.SAPConnector|_ThreadID=17; ThreadName=Worker: 5;|SAPConnector.isConnect(): JCO Client is not connected.|#]
    [#|2007-06-12T11:35:34.781+0600|INFO|IS5.1.2|STC.eWay.framework.management.com.stc.connector.management.util.Alerter|_ThreadID=17; ThreadName=Worker: 5;|sendAlert(), connection info: ConnectionInfo [ collaboration: cmBAPIOutbound_jcdFlightGetList, project: prjBAPIOutbound, component: eaSAPBAPI, deployment: dpBAPIOutbound, environment: envTest, logicalhost: LogicalHost1, integration server: IntegrationSvr1 ], monitor: ObjectReference [ name: SeeBeyond:GUID={70010000-D247521E130100-AC14015A-01},Name=prjBAPIOutbounddpBAPIOutbound|prjBAPIOutbound|dpBAPIOutbound|cmBAPIOutbound_jcdFlightGetList_eaSAPBAPI ], alert message: Connection to SAP R/3 failed for user $$$$$$ on host $$$$$$.|#]
    [#|2007-06-12T11:35:34.781+0600|SEVERE|IS5.1.2|STC.eWay.SAP.BAPI.com.stc.connector.sapbapiadapter.sapbapi.SAPConnector|_ThreadID=17; ThreadName=Worker: 5;|Unable to initialize SAP R/3 Client Connection|#]
    Any help is appreciated

    Hi Yermek.
    I guess you are placed and set all jars relates to bapi/rfc.
    You need to pass atleast one parameter from jcd which will initiates the BAPI connection.
    i.e atleast from jcd you need to send a request.
    Hope it will work...
    Thanks,
    M.P.Rao.

  • Problem in establishing connection with mysql 5.0

    Hi,
    I am using JCAPS 5.1. I tried to insert data to mysql database table.
    But i got following error
    java.sql.SQLException: Error in allocating a connection. Cause:
    Physical Connection doesn't exist.
    My intention is to read file in which data are comma seperated and to
    populate those values to a mysql 5.0 database table.
    Sample DATA in file [test.txt]
    111,gg,23,MFG
    112,hh,24,MFG
    113,ii,25,RETAIL
    114,jj,26,IT
    Database table: employee
    eno,ename,eage,edept
    While creating JDBC OTD there is no problem in establishing connection with database. But after deploying i got above error.
    I have used Mysql 5.0 Connector/J JDBC driver. Added JDBC driver jar files to following directories as required.
    1) C:\JavaCAPS51\logicalhost\is\lib
    2)C:\JavaCAPS51\logicalhost\is\domains\test\lib
    Steps i have followed as per JDBC-ODBC -eway user guide doc.
    1) Created USerDefined OTD and added necessary fields
    2) Created JDBC OTD.
    3) Created JAVA collaboration and do business process for inserting
    4) Mapped all components by creating in Connectivity MAp
    5) created necessary external systems in envrionment explorer.[JDBC External System and File External System]
    6)Created Deployment profile
    5) Deployed it.
    After deploying it gives error as
    java.sql.SQLException: Error in allocating a connection. Cause: Physical Connection doesn't exist
    Please let me know the solution for problem.
    Message was edited by:
    VenkateshSampoornam

    In the environment definition,
    -> External Application JDBC
    -> Properties
    -> Outbound JDBC Connection
    You have the database URL in the "DriverProperties" field
    Valid URL would be : jdbc:mysql://localhost:3306/caps
    !! The doc says that this field is optional !! Seems to be an error in the doc:
    Hope this helps
    Seb

  • GENERIC_CODELET_GENERAL getting in jcaps 6 while building oracle otd

    getting the following error while oralce otd building. in jcaps 6..any inputs please...
    com.stc.codegen.framework.model.CodeGenException: Generic Oracle eway code generation error(ERROR_CODEGEN_GENERIC_CODELET_GENERAL)
         at com.stc.oracle.codegen.OracleEWayCodeletFactory$OracleEWayCodelet.generateFiles(OracleEWayCodeletFactory.java:1964)
         at com.stc.codegen.frameworkImpl.model.CodeGenFrameworkImpl.processCodelets(CodeGenFrameworkImpl.java:655)
         at com.stc.codegen.frameworkImpl.model.CodeGenFrameworkImpl.process(CodeGenFrameworkImpl.java:1608)
         at com.stc.codegen.frameworkImpl.model.DeploymentVisitorImpl.process(DeploymentVisitorImpl.java:409)
         at com.stc.codegen.frameworkImpl.model.DeploymentVisitorImpl.process(DeploymentVisitorImpl.java:312)
         at com.stc.codegen.frameworkImpl.model.DeploymentVisitorImpl.traverseDeployment(DeploymentVisitorImpl.java:272)
         at com.stc.codegen.driver.module.DeploymentBuildAction.loadCodeGen(DeploymentBuildAction.java:954)
         at com.stc.codegen.driver.module.DeploymentBuildAction.access$1100(DeploymentBuildAction.java:176)
         at com.stc.codegen.driver.module.DeploymentBuildAction$2.run(DeploymentBuildAction.java:630)
         at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:561)
         at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:986)
    Caused by: com.stc.codegen.framework.model.CodeGenException: Exception when generating OTD code ...Exception: C:\DOCUME~1\KAKKIR~1\LOCALS~1\Temp\builds\dpINT65_Dev_Test\125269491597899\200909111448350978\Insert_Access_InfoPSInsertPSRequest.java:24720: code too large
    public void restore(DataInputStream dis) throws Exception {
    ^
    Note: Some input files use or override a deprecated API.
    Note: Recompile with -Xlint:deprecation for details.
    Note: Some input files use unchecked or unsafe operations.
    Note: Recompile with -Xlint:unchecked for details.
    1 error
    (ERROR_CREATE_OTD)
         at com.stc.oracle.codegen.OracleEWayCodeletFactory$OracleEWayCodelet.generateOtdJarFile(OracleEWayCodeletFactory.java:2152)
         at com.stc.oracle.codegen.OracleEWayCodeletFactory$OracleEWayCodelet.generateFiles(OracleEWayCodeletFactory.java:1854)
         ... 10 more

    hi...
    i too getting same problem..how did u reslove this...
    please help me out...
    thanks in advance
    KK

  • Need assistance invoking a Web Service from JCaps 5.1.2.

    Hello,
    I am working with web services for the first time ever, and am having some trouble invoking one from with JCaps 5.1.2. Basically, the business process is validating fine, and will run up to the Invoke procedure, at which time it throws a log file error:
    HTTP Status-Code 404: Not Found - /wsTestInvoke and the associated fault container is not available.
    However, I have already tested this same wsdl in SoapUI, from the same server which is running the domain. SoapUI runs this wsdl without any errors.
    As stated, this is the first time I have ever tried to use web services. I�m at a loss right now as to what steps to take to even try to debug this. My guess is that something in the JCaps setup needs updated, but I�m not sure what, or where to begin looking.
    FYI, I have created a web service that I am hosting, and it can be invoked fine from SoapUI. My SoapHTTP Client and Server are both configured the same right now, and I know at least the Server is working, since I can host a WS. I just can't seem to invoke one.
    Has anyone seen this error when working with Web Services in JCaps 5.1.2, and any ideas of where to look to start debugging this?
    Any info is appreciated.
    Thanks,
    Alan

    I figured this out myself, and just want to post the resolution in case anyone else runs into this.
    This issue was that I was setting the port and server in the HTTP Client External System config, to be the JCaps domain server and HTTP port. I found that you need to leave the external system properties blank in the HTTP Client, and when you build the code, the environment items then get auto-populated from the wsdl.
    Problem solved.

  • Problems with the creation of a new domain using JCAPS6

    Hello again,
    I created a new domain, in addition to default domain1, with JCaps 6, following the steps in this link:
    http://blogs.sun.com/polyblog/entry/creating_a_new_caps_6
    I arrived to the step 4 of the procedure "install runtime installation" and I adapted install.xml file also (not only the install.properties), with the correct values concerning domainName and port.
    When I run the ant-command then, I always get the following error:
    C:\JavaCAPS6\appserver\bin>asant -f C:\JavaCAPS6\appserver\addons\caps\install.xml
    Buildfile: C:\JavaCAPS6\appserver\addons\caps\install.xml
    install:
    install:
    [sun-appserv-admin] Executing: list-lifecycle-modules port 19048 host localhost passwordfile "C:\JavaCAPS6\appserver\addons\caps\install.properties"  user admin server
    BUILD FAILED
    C:\JavaCAPS6\appserver\addons\caps\install.xml:86: The following error occurred while executing this line:
    C:\JavaCAPS6\appserver\addons\caps\applicationVerifier\server-init.xml:41: An exception occurred while running the command. The exception message is: CLI137 Command list-lifecycle-modules failed..
    Total time: 1 seconds
    How can i do to solve this problem?
    Thanx
    Edited by: fabrigas84 on Sep 3, 2009 8:36 AM

    Hai!
    Raise a message in sap support portal.
    Regards,
    Thanga Raj.K

Maybe you are looking for

  • Duvida - subcontratação invertida

    Senhores, A empresa com as seguintes características precisa automatizar sua principal cadeia de processos: 1.Não é ainda um cliente SAP (implementaremos MM, SD, FI e CO) 2.É um prestador de serviços  localizado no porto que descarrega grãos de camin

  • Trying to get Essbase Client 11.1.2.3 for Linux 32bit, please need help

    Hello, I am running a RedHat Enterprise Linux 6.4 64-bit system and have an application that requires the 32-bit Essbase Client 11.1.2.X libraries in order to connect to an Essbase 11.1.2 server instance. From reading through the forum posts for the

  • Goods return field in BSET or any other FI Table

    Dear Expert, I need to make a report for Purchase Return and Subsequent Debit or Credit for a period. I am not finding any field in BSET or BKPF to filter the document. Can anyone suggest how to get this data if not from the above table also fine. MS

  • How to turn off document expired

    Locking as duplicate, please continue with [/questions/964298] ~J99 I still need to know how to stop the 'document expired' message coming up when I reload certain pages. <sub>(A Further comment addressed to cor-el hidden by a forum moderator)</sub>

  • Connecting Visual Foxpro Tables and CR2008..

    Hi.. I have a VFP ver 9 applicaiton that has multiple users. I set up a path using the following statements CrRptpath = sys(2003)  whcih give me the following .. c:\docume1\jpower(user's Login ID)/locals1\temp -this directory contains the tables for