5.1.3 Java Collaboration Debug issues...

Hi All,
JCAPS Newbie here.
I've setup debugging for Java Collaboration's deployed on a logical host.
It seems to work as I can step through the code, except it's just not behaving as I expected with regards to hitting breakpoints & stepping over some methods.
In a nutshell ...
1) It doesn't stop on the breakpoints I set.
2) It always stops in method log( LOG_LEVEL_DEBUG, "xxx" ); when I click "GO" or StepOver???
Has anyone else seen this behaviour?
Any ideas about how to get it working correctly???
Thanks,
Ken

FYI...
This is a known issue with eDesigner,
I have E-mailed you a Hotfix to apply to your environment which is doing the debugging.
I have also included a ReadMe which explains how to install the ESR
Sun Java CAPS Support.

Similar Messages

  • Web Service exposing Java Collaborations vs designing with eInsight

    Hello
    I have relatively little experience in designing and implementing web services. We are now looking at implementing some minor services with JCAPS.
    I would like to have some input on above subject. what are the pros and cons using either of the strategies. Today we do not use eInsight.
    I have understood that you do not have access to the SOAP message when exposing a java collaboration as a web service. I can also understand some of the drawbacks if you develop a ws consumer and you want to manipulate the SOAP message. But if you develop a server service implementation, when do you need access to the SOAP message?
    Other issues that might arise:
    Security
    Distributed transactions
    Any references to best practice resources, biased towards JCAPS would be highly appreciated.
    TIA

    Hi again
    We are also interested in in using attachments in the SOAP message. I have googled a bit and from what I have found it seams that it is "not supported out of the box"
    Can anyone enlighten me in this area?
    A general comment, I find it very hard to get information from the documentation of JCAPS, maybe I have missed something so please direct me to the right source if you find my ?? to much "newbie like". Things like, specification of packages, classes, methods, parameters with data types, Exceptions etc where can I find it in JCAPS?
    As an example, The SAAJ package throws an exception in the log in 5.1.3, so it must be there. Where can I find information about that implementation in JCASP?
    TIA and Br,

  • Java Collaboration Suite API - Common Problems......and Solutions!

    , Hi all,
    I'd just like to share some of the issues I've come across in my first try at using the Java Collaboration Suite API (including the Accelerator Kit).
    In short,
    The Good: I've succeeded in getting a working application, and the code doesn't look half bad.
    The Bad: Man was it a pain to get to this point.
    Here are a few notes about what I've found, what can be improved by oracle, and hopefully it will help others.
    1. The initial setup went smoothly. I included the Jar's from the web kit, and was able to successfully connect using OCDConnectionFactory.CreateConnection. This first attempt didn't use the Accelerator Kit, as at the time I didn't even know it existed. As soon as I started to try any examples from Oracle, code snippets wouldn't even compile (usually due to FDKUtils and FDKSession) and I couldn't find out why. After exhaustive research, I found that the Accelerator Kit here (http://www.oracle.com/technology/products/cs/developer/contentservicesdev/contenservicesdevkit.html), but it is not a library in the lib. After even further research, I found a very interesting thing. If you click on the link I've shown, you will see 2 versions of the Accelerator Kit: The recent link just includes the kit as a bunch of classes. I found it kind of ugly to include those in my project. However, if you click on the older link you will find a jar called "content-ws-helper.jar". This is actually the Accelerator Kit in a JAR (yet without any documentation anywhere on this).
    2. When using the accelerator toolkit, the connection string you use to connect changes. It no longer should have "ws" at the end. Don't believe this is documented anywhere! So if your connection string is http://server:8888/content/ws it should be changed to http://server:8888/content/
    <strong>
    </strong>3. Most of the examples given are appreciated, but they are also impossible to read. Methods should not be hundreds of lines of code long! Here is a handy method that I seem to be using quite often (at least in my use cases).
    private Item getFolder(String path) throws OCSServiceException {
    try {
    FileManager fm = Managers.getFileManager(fdkSession);
    Item workspace = fm.resolvePath(path, null);
    CommonManager commonM = Managers.getCommonManager(fdkSession);
    workspace = commonM.getItem(workspace.getId(), attributeRequest);
    return workspace;
    } catch (Exception e) {
    LOGGER.error(e.getMessage(), e);
    throw new OCSServiceException("Exception getting folder");
    The key is the attributeRequest class variable. This is the object that changes depending on what properties I want to retreive regarding that folder. A commonly used one for getting categories is:
    attributeRequest = FdkUtils.newAttributeRequestArray(Attributes.CATEGORY_CONFIGURATION,
    FdkUtils.newAttributeRequestArray(Attributes.ATTRIBUTE_OVERRIDES,
    new AttributeRequest[]{
    FdkUtils.newAttributeRequest(Attributes.ATTRIBUTE_OVERRIDE_ATTRIBUTE),
    FdkUtils.newAttributeRequest(Attributes.ATTRIBUTE_OVERRIDE_DEFAULT),
    FdkUtils.newAttributeRequest(Attributes.ATTRIBUTE_OVERRIDE_CATEGORY_CLASS)
    By seperating this out, It gets rid of a ton of the speghetti like code that you see in most of the examples and on the forums.
    For example, this thread helped me in category updates for folders http://kr.forums.oracle.com/forums/thread.jspa?threadID=495959
    , but as the post at the bottom states, this should not be the difficult. My method, which performs a similar method, is as follows:
    public void updateFolderCategory(String path, String categoryName, String categoryAttributeName, Object value ) throws OCSServiceException {
    try {
    CategoryService cs = new CategoryServiceImpl();
    long categoryId = cs.getCustomCategory(categoryName).getId();
    long attributeId = cs.getCustomAttribute(categoryName, categoryAttributeName).getId();
    NamedValue[] attOverride = new NamedValue[]{
    new NamedValue(Attributes.ATTRIBUTE_OVERRIDE_ATTRIBUTE, new Long(attributeId)),
    new NamedValue(Attributes.ATTRIBUTE_OVERRIDE_CATEGORY_CLASS, new Long(categoryId)),
    new NamedValue(Attributes.ATTRIBUTE_OVERRIDE_DEFAULT, value),
    new NamedValue(Attributes.ATTRIBUTE_OVERRIDE_REQUIRED, DEFAULT_REQUIRED),
    new NamedValue(Attributes.ATTRIBUTE_OVERRIDE_SETTABLE, DEFAULT_SETTABLE),
    new NamedValue(Attributes.ATTRIBUTE_OVERRIDE_PROMPT, DEFAULT_PROMPT),
    NamedValue[] categoryConfigurationAttributes = new NamedValue[]{
    new NamedValue(Attributes.ATTRIBUTE_OVERRIDE, attOverride)
    connect();
    Item folder = getFolder(path);
    Managers.getCategoryManager(fdkSession).setCategoryConfiguration(folder.getId(), categoryConfigurationAttributes);
    LOGGER.info("Updated folder category definition");
    } catch (Exception e) {
    LOGGER.error(e.getMessage(), e);
    throw new OCSServiceException("Exception updating category");
    } finally {
    disconnect();
    I hope this information helps someone, and I'd appreciate if anyone can also add input or critique my approach. I also hope that there is someone else out there who is still using the API and hasn't given up yet!

    I was also looking for something like this..I did not get any response.
    Did you tried to add bpel:exec ? you can call OCS api in the java blockc within BPEL. I am using this and creating folder from BPEL.

  • JCAPS 5.1.1 Java Collaborations in eInsight Business Process

    We currently use JCAPS version 5.1.1. We use Java Collaborations (jcd) services embedded on eInsight Business process(bp) to complete a business process.
    Question:
    Java Exception from a collaboration (jcd) is received by business process (bp) only if I have an output specified for that collaboration. Please let me know if this is a bug or a feature.

    Consider that we have a JCD with input and output defined. When we drag this JCD service to eInsight business process canvas, bp creates 3 business attributes (ie 1-input, 2-output and 3-JavaException). We can use a named exception handler and use 3-JavaException attribute to handle exceptions from JCD Service.
    Consider that we have a JCD with input (Like a One-Way service) defined. When we drag this JCD service to eInsight business process canvas, bp creates only 1 business attribute (ie 1- input). JCD service is capable of throwing an exception. How do we catch/handle this exception?
    Thanks,
    Siva

  • Reg ::Java Plug in issue in linux 5.7

    Folks,
    I am facing jave plug in issue and cant open the form as itis geting error java plug in need
    FYI,
    [root@apps12 ns7]# uname -a
    Linux apps12.com 2.6.32-200.13.1.el5uek #1 SMP Wed Jul 27 20:
    **11 i686 i686 i386 GNU/Linux**
    <!-- JDK plugins -->
    <sun_plugin_ver oa_var="s_sun_plugin_ver">1.5.0_10</sun_plugin_ver>
    <sun_plugin_type oa_var="s_sun_plugin_type">jdk</sun_plugin_type>
    /usr/java/jre1.5.0_10/plugin/i386/ns7
    [root@apps12 ns7]# ls -ltr
    total 112
    -rwxr-xr-x 1 root root 102464 Nov 10 2006 libjavaplugin_oji.so
    [root@apps12 firefox-3.6]# cd plug*
    [root@apps12 plugins]# ls -ltr
    total 4
    lrwxrwxrwx 1 root root 58 Mar 31 05:53 libjavaplugin_oji.so -> /usr/java/jre1.5.0_10/plugin/i386/ns7/libjavaplugin_oji.so
    [root@apps12 plugins]# cd /usr/lib/mozilla/plugins
    total 4
    lrwxrwxrwx 1 root root 58 Mar 31 06:00 libjavaplugin_oji.so -> /usr/java/jre1.5.0_10/plugin/i386/ns7/libjavaplugin_oji.so
    pls advise for the same
    Thanks
    Edited by: JuniorDBA on Mar 30, 2012 3:13 PM

    I am facing jave plug in issue and cant open the form as itis geting error java plug in needAre you trying to run the application from a Linux client? If yes, please note it is not certified -- https://forums.oracle.com/forums/search.jspa?threadID=&q=Linux+AND+client&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    If you are trying to do something else, please post the details of the application release, database version and OS along with what you are trying to achieve.
    Thanks,
    Hussein

  • Accesing database from static method on java collaboration

    Hi *,
    I want cache data from a oracle database in a java collaboratioon when java collaboration is enabled by emanager.
    My java collaboration has a oracleOTD
    I did an static method on java collaboration, but I can't access database from static method.
    Thanks
    Hector

    hi hector,
    this wont work!
    regards chris

  • Java collaboration initialization method- exists on javacaps 5.1.1?

    Hi everyone
    I have javacaps version 5.1.1
    I want cache properties on a Map in a Java collaboration definition.
    Has a Java collaboration definition an initialization method? or how can implement it?
    Any help will we appreciated

    I do not think in such method exists. If you need to implement the cache at begining of the collaboration- Have a static method in side that method limplement your load properties code. This will gurantee the cache available as long as your JVM life i.e until restart the Integration Server instance.
    Cheers
    Raghu

  • Debugging issue on establishing connection

    Hi,
    after reading all the comments on debugging issues using sql developer i am no step further. It seems i have a different problem.
    I'm using sql developer 1.5.1 on a windows client.
    <ul><li>connection to server is establihed via basic configuration (server, port, sid)</li>
    <li>the code is comiled for debug</li>
    <li>i do no remote debugging</li>
    </ul>
    When the debugging is startet i get the following log:
    connecting to the database XXX.
    Executing PL/SQL: ALTER SESSION SET PLSQL_DEBUG=TRUE
    Executing PL/SQL: ALTER SESSION SET PLSQL_COMPILER_FLAGS=INTERPRETED
    Executing PL/SQL: CALL DBMS_DEBUG_JDWP.CONNECT_TCP( 'xxx.xxx.xxx.xxx', '4283' )
    ORA-30683: Fehler beim Herstellen von Verbindung zu Debugger
    ORA-12570: TNS: Fehler beim Paket-Leser
    ORA-06512: in "SYS.DBMS_DEBUG_JDWP", Zeile 68
    ORA-06512: in Zeile 1
    Process exited.
    Disconnecting from the database XXX.
    (its german, sorry)
    The point is, there is a debug service listening at the named port. If i start al telnet session at the ip and port i get the response: JDWP-Handshake
    It seems the debugging process is not able to reach the db on the server? But why - since the client does?
    Any help is welcome!
    Thanx,
    Cmder

    The way debugging works is that the database session which is running your code, connects back to the debugger running within sqldeveloper. So for debugging to work, the database server needs to be able to connect to your PC.
    Is the IP address in the error message the IP address of you PC? I assume so, since you can telnet to it. If not, try checking the preference "Prompt for debugger host for database debugging" in Tools | Preferences| Debugger.
    If you have access to the database server can you connect back to your PC using telnet?

  • Thread safety in Java Collaborations

    Is it necessary to write Java Collaborations in a thread safe manner? If so, under what scenario can a JCD become multithreaded?

    The implementation is a bit more complex then this. When you create a JCD that implements an existing web service (ie a JCD that is started by a connector), eDesigner will create a message driven bean that is triggered by the connector and a stateless session bean that will be called from the message driven bean. This stateless session bean will call your JCD web service method, the receive or the start method.
    Because your JCD is hosted in a stateless session bean it will receive all the benefits of the J2EE thread and instance management. If there are multiple JMS messages to process, the application server can create multiple instances of the stateless session bean that hosts your JCd and thereby multiple instances of your JCD class will be created. If these are no longer needed, the application server can destroy them. As stateless session beans are thread safe, you do not need to code your JCD's in a thread safe manner. Of course if you want to access static resources or use singletons then you will need to access these in a threda safe manner from the JCD.
    When you JCD's are started by a JMS message (this is when your JCD's implement the JMS receive web service), you can configure in the connectivity map how many instances of your JCD can be started concurrently by the application server. When double clicking the configuration block on the JMS inbound connection you can specify two options:
    - Connection Consumer or Serial mode: multiple instances can be started when multiple messages are available or not.
    - Server session pool size: how many instances can be created.

  • JSP precompilation and my .java files compilation issues /  building WAR file using ANT

    Hello.
    I am new to working with WAR files and the whole process of it. A little
    background on what we are using. We are using, WLS 6.1 SP3. I am using the
    ant.bat that is supplied in the bin directory of the WLS install.
    I am trying to work with ANT and getting it to build the file. I am making
    progress, but at a point where I am having trouble getting my java code
    files to compile using ant. I am having one issue and looking to do one
    other item.
    1) I would like to precompile the JSPs if possible prior to putting into the
    WAR file. Not sure if this is done or not, but there was a utility when I
    was working with ibm's app server that gave us the ability to do a batch
    complile. Was thinking that maybe a similair concept is possibly here.
    2) Having issue getting ant to compile code properly. In the compile
    section of the build.xml file for ant, I tell it where the source files are,
    and the destionation folder for the compiled class files. I then try to set
    the classpath so that it finds the .jar files that are necessary for my
    source files to complile. But, it won't find them. And not sure how come.
    I may be going about this all wrong, but dont know. Here is the compile
    section of the build.xml I am using:
    <target name="compile" depends="prepare">
    <javac srcdir="classes" destdir="${deploy.home}/WEB-INF/classes"
    classpath="$(lib.home)"
    debug="on" optimize="on" deprecation="off"/>
    </target>
    One note, I've tried many different items in the classpath line, which
    don't work. if I do *.jar it fails at complie time, invalid argument. As
    well as if I use *.* and so on. if I list the explicit file names, it still
    doesn't seem to find them.
    I was wondering if anyone could help, if you need anymore information let me
    know, I can send the entire build.xml if necessary. I may be missing
    items, seeing that this is my first try at using ANT.
    Any help is appreciated and thanks in advance. Hopefully not sounding too
    off the wall. Hopefully get some clarification and understanding.
    Thank you.
    Kevin.

    Kevin Price wrote:
    Hello.
    I am new to working with WAR files and the whole process of it. A little
    background on what we are using. We are using, WLS 6.1 SP3. I am using the
    ant.bat that is supplied in the bin directory of the WLS install.
    I am trying to work with ANT and getting it to build the file. I am making
    progress, but at a point where I am having trouble getting my java code
    files to compile using ant. I am having one issue and looking to do one
    other item.
    1) I would like to precompile the JSPs if possible prior to putting into the
    WAR file. Not sure if this is done or not, but there was a utility when I
    was working with ibm's app server that gave us the ability to do a batch
    complile. Was thinking that maybe a similair concept is possibly here.you can use weblogic.jspc
    http://e-docs.bea.com/wls/docs70/jsp/reference.html#57794
    or just set the precompile flag in weblogic.xml
    You can configure WebLogic Server to precompile your JSPs when a Web
    Application is deployed or re-deployed or when WebLogic Server starts up
    by setting the precompile parameter to true in the <jsp-descriptor>
    element of the weblogic.xml deployment descriptor.
    >
    2) Having issue getting ant to compile code properly. In the compile
    section of the build.xml file for ant, I tell it where the source files are,
    and the destionation folder for the compiled class files. I then try to set
    the classpath so that it finds the .jar files that are necessary for my
    source files to complile. But, it won't find them. And not sure how come.
    I may be going about this all wrong, but dont know. Here is the compile
    section of the build.xml I am using:
    <target name="compile" depends="prepare">
    <javac srcdir="classes" destdir="${deploy.home}/WEB-INF/classes"
    classpath="$(lib.home)"
    debug="on" optimize="on" deprecation="off"/>
    </target>
    maybe because you are not using curly braces there on lib.home??
    if you do it the way above, you would have to list all your jars
    classpath="$(lib.home)\lib1.jar:$(lib.home)\lib2.jar"
    or you can nest
    <javac srcdir="classes" destdir="${deploy.home}/WEB-INF/classes"
    debug="on" optimize="on" deprecation="off">
         <classpath>
              <fileset dir="${lib.home}" includes="*.jar" />
         </classpath>
    </javac>
    One note, I've tried many different items in the classpath line, which
    don't work. if I do *.jar it fails at complie time, invalid argument. As
    well as if I use *.* and so on. if I list the explicit file names, it still
    doesn't seem to find them.
    I was wondering if anyone could help, if you need anymore information let me
    know, I can send the entire build.xml if necessary. I may be missing
    items, seeing that this is my first try at using ANT.
    Any help is appreciated and thanks in advance. Hopefully not sounding too
    off the wall. Hopefully get some clarification and understanding.
    Thank you.
    Kevin.

  • Post Processing Error - how to debug issue?

    I copied a vanilla report and slightly modified it. the data definition is a vanilla oracle object that is un-changed.
    i copied the data to my desktop and the report runs fine (from the Desktop). However the report fails to produce output when run from the application. I get the following in the log file
    Beginning post-processing of request 15980025 on node RADON17 at 22-MAY-2008 09:07:49.
    Post-processing of request 15980025 failed at 22-MAY-2008 09:07:49 with the error message:
    One or more post-processing actions failed. Consult the OPP service log for details.
    The OPP log does not provide any details.
    [5/22/08 9:07:49 AM] [24053:RT15980025] Executing post-processing actions for request 15980025.
    [5/22/08 9:07:49 AM] [24053:RT15980025] Starting XML Publisher post-processing action.
    [5/22/08 9:07:49 AM] [24053:RT15980025]
    Template code: XXEAMWOREPORT
    Template app: XX
    Language: en
    Territory: US
    Output type: RTF
    [5/22/08 9:07:49 AM] [UNEXPECTED] [24053:RT15980025] java.lang.reflect.InvocationTargetException
         at sun.reflect.GeneratedMethodAccessor33.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at oracle.apps.xdo.common.xml.XSLT10gR1.invokeProcessXSL(XSLT10gR1.java:624)
         at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:421)
         at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:233)
         at oracle.apps.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:177)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1044)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:997)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:212)
         at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1659)
         at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:969)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5916)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3452)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3541)
         at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:244)
         at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:172)
    Caused by: java.lang.NullPointerException
         at oracle.xdo.parser.v2.PagedNodeList.readPage(PagedNodeList.java:324)
         at oracle.xdo.parser.v2.PagedNodeList.start(PagedNodeList.java:312)
         at oracle.xdo.parser.v2.XPathFunctionCall.evaluate(XPathFunctionCall.java:540)
         at oracle.xdo.parser.v2.PathExpr.evaluate(XSLNodeSetExpr.java:851)
         at oracle.xdo.parser.v2.XSLForEach.processAction(XSLForEach.java:113)
         at oracle.xdo.parser.v2.XSLNode.processChildren(XSLNode.java:417)
         at oracle.xdo.parser.v2.XSLResultElement.processAction(XSLResultElement.java:180)
         at oracle.xdo.parser.v2.XSLNode.processChildren(XSLNode.java:417)
         at oracle.xdo.parser.v2.XSLForEachGroup.processLazy(XSLForEachGroup.java:622)
         at oracle.xdo.parser.v2.XSLForEachGroup.processAction(XSLForEachGroup.java:97)
         at oracle.xdo.parser.v2.XSLNode.processChildren(XSLNode.java:417)
         at oracle.xdo.parser.v2.XSLResultElement.processAction(XSLResultElement.java:180)
         at oracle.xdo.parser.v2.XSLNode.processChildren(XSLNode.java:417)
         at oracle.xdo.parser.v2.XSLResultElement.processAction(XSLResultElement.java:180)
         at oracle.xdo.parser.v2.XSLNode.processChildren(XSLNode.java:417)
         at oracle.xdo.parser.v2.XSLForEach.processAction(XSLForEach.java:147)
         at oracle.xdo.parser.v2.XSLNode.processChildren(XSLNode.java:417)
         at oracle.xdo.parser.v2.XSLResultElement.processAction(XSLResultElement.java:180)
         at oracle.xdo.parser.v2.XSLNode.processChildren(XSLNode.java:417)
         at oracle.xdo.parser.v2.XSLResultElement.processAction(XSLResultElement.java:180)
         at oracle.xdo.parser.v2.XSLNode.processChildren(XSLNode.java:417)
         at oracle.xdo.parser.v2.XSLResultElement.processAction(XSLResultElement.java:180)
         at oracle.xdo.parser.v2.XSLNode.processChildren(XSLNode.java:417)
         at oracle.xdo.parser.v2.XSLResultElement.processAction(XSLResultElement.java:180)
         at oracle.xdo.parser.v2.XSLNode.processChildren(XSLNode.java:417)
         at oracle.xdo.parser.v2.XSLTemplate.processAction(XSLTemplate.java:191)
         at oracle.xdo.parser.v2.XSLStylesheet.execute(XSLStylesheet.java:512)
         at oracle.xdo.parser.v2.XSLStylesheet.execute(XSLStylesheet.java:489)
         at oracle.xdo.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:271)
         at oracle.xdo.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:155)
         at oracle.xdo.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:192)
         ... 17 more
    [5/22/08 9:07:49 AM] [24053:RT15980025] Completed post-processing actions for request 15980025.
    Any other tools I can use to debug the error??? I'm stuck

    1. Is it possible to get more debug information from the Crystal Engine to help determine which fields/formulae are causing the issue?
    Unfortunately that is it as far as errors.
    2. Does anyone have any initial ideas as to why this might be failing?
    a) Apply the latest Service pack:
    https://smpdl.sap-ag.de/~sapidp/012002523100009038092009E/cr2008win_sp2.exe
    b) In the CR designer, enable Verify on First Refresh and Verify Stored procedures on First Refresh
    c) If the above does not help, as a test create a new win app. All you should need is just the one line of code, no db code. Let the report prompt for the db logon. If the win app works, it's probably a permission issue.
    Ludek

  • WD Java Remote Debug problem: Release Process from debugging

    Hi Community,
    when I used to debug Web Dynpro Java from the SAP Developer Studio (eclipse) to a remote host (Portal AS NW Java), it works fine for the first run. After disconnecting the remote debug session (server0), I changed the coding and try to debug again with the effect that the old coding is still used from the server process (server0) even though the parameter "Create and Deploy archive" is set (enabled) in the debug configuration. Furthermore the funktionality of "Relase process from debugging" option in the J2EE Engine dosn't react / work.
    I think that the debug session is still running and the Developer Studio is not able to send any "Kill" statement to the server process for ending this session.
    I tried following:
    A. Rebuild Project and Deploy the archive on the "normal" way
    B. Reopen the Developer Studio itself
    C. Start the Project in debugmode again and chose the option "Terminate All"
    ...all without any success.
    The only way is to restart the whole server process server0 again with the same trouble after the first debug.
    Did any of you have a clue or experience to clear or kill the debugsession from the process so that next debugsessions can be started, please reply.
    Thanks
    Used Basic Manuell
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/849170e3-0601-0010-d59e-ddfce735fac5

    So, I'm having the same issue, but it's like I'm chasing down a port. The first time I got these error messages
    Connecting to the database DEV.
    Executing PL/SQL: ALTER SESSION SET PLSQL_DEBUG=TRUE
    Executing PL/SQL: CALL DBMS_DEBUG_JDWP.CONNECT_TCP( '555.12.18.288', '5950' )
    ORA-30683: failure establishing connection to debugger
    ORA-12535: TNS:operation timed out
    ORA-06512: at "SYS.DBMS_DEBUG_JDWP", line 68
    ORA-06512: at line 1
    Process exited.
    Disconnecting from the database DEV.Our network staff found a bunch of other denials in the firewall logs
    /5185
    /5200
    /5236
    /5815
    /5950 Now that they've those allowed, I tried to start debug again, and this time I got
    Connecting to the database DEV.
    Executing PL/SQL: ALTER SESSION SET PLSQL_DEBUG=TRUE
    Executing PL/SQL: CALL DBMS_DEBUG_JDWP.CONNECT_TCP('555.12.18.288', '6266' )
    ORA-30683: failure establishing connection to debugger
    ORA-12535: TNS:operation timed out
    ORA-06512: at "SYS.DBMS_DEBUG_JDWP", line 68
    ORA-06512: at line 1
    Process exited.
    Disconnecting from the database DEV.What gives? Do I just keep trying until I get all of the ports allowed?
    Thanks,
    ---=Chuck

  • EJB/RMI collaboration & design issue

    Hi there,
    I am in the process of migrating a JSP/servlet application to EJB. In
    the current version of the application, I have a Log class which is used
    to output trace & debugging information. One instance of this class is
    instanciated at the application startup and stored in a singleton which
    is referenced all over the application.
    Because I want my application to be distributed and fail-over ready,
    I've decided to move this Log class and a couple of other technical
    services to RMI. When the application starts-up, I instanciate the RMI
    Log class and everytime I use an EJB, I want to pass him the RMI Log
    class interface. But this does not seem to work, I receive a Marshall
    exception.
    What are the different design patterns to make my EJBs aware of my RMI
    classes ?
    Thanks,
    Stephane

    Thanks Joe,
    When I insert the JNDI Log lookup in the EJB instanciation code, it works but
    I want to avoid every EJB instanciation to lookup for the Log service in
    order to make the code faster. That's why I want to look it up only once when
    the application is starting, and after that, to pass the reference of the
    interface to every EJB that I am instanciating. I tried to create a proxy
    class around my Log RMI service, but I still get a Marshal Error when I pass
    the Log interface as a parameter to my EJB:
    java.rmi.MarshalException: CORBA MARSHAL 0[Could not cast logInterface of
    class test.LogServiceProxy to org.omg.CORBA.Object]
    at test._PO_Stub.setLog(_PO_Stub.java:1100)
    at test.CApplication.test(CApplication.java:443)
    at test.CApplication.initApplication(CApplication.java:88)
    at test.InitApp.doGet(InitApp.java:39)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:715)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:840)
    at com.sun.web.core.ServletWrapper.handleRequest(ServletWrapper.java:155)
    at com.sun.web.core.InvokerServlet.service(InvokerServlet.java:168)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:840)
    at com.sun.web.core.ServletWrapper.handleRequest(ServletWrapper.java:155)
    at com.sun.web.core.Context.handleRequest(Context.java:414)
    at com.sun.web.server.ConnectionHandler.run(ConnectionHandler.java:139)
    Is it impossible to pass an interface as a parameter through RMI ? Is it a
    serialization issue ?
    Joe Weder wrote:
    Stephane,
    I added a service like yours to our WL Server. I use a Startup class to
    instantiate the RMI instance and then add it to the JNDI environment. Now
    your beans can lookup the service.
    context.bind(ClientServicesFactory.JNDI_REGNAME, new
    ClientServicesFactoryImpl());
    In doing so I discovered that I had to use java's rmi compiler and
    weblogic's rmi compiler to make the RMI objects accessible to my bean
    instances from within the running server. Maybe this will solve the
    marshalling problem (it sounds familiar).
    rmic -v1.2 -verbose
    com.icsaward.award.common.clientservices.ClientServicesFactoryImpl
    java weblogic.rmic
    com.icsaward.award.common.clientservices.ClientServicesFactoryImpl
    Hope that helps.
    Stephane Louet wrote in message <[email protected]>...
    Hi there,
    I am in the process of migrating a JSP/servlet application to EJB. In
    the current version of the application, I have a Log class which is used
    to output trace & debugging information. One instance of this class is
    instanciated at the application startup and stored in a singleton which
    is referenced all over the application.
    Because I want my application to be distributed and fail-over ready,
    I've decided to move this Log class and a couple of other technical
    services to RMI. When the application starts-up, I instanciate the RMI
    Log class and everytime I use an EJB, I want to pass him the RMI Log
    class interface. But this does not seem to work, I receive a Marshall
    exception.
    What are the different design patterns to make my EJBs aware of my RMI
    classes ?
    Thanks,
    Stephane

  • JDeveloper debug issues

    Hi Gurus,
    I gotta problem here with Jdev(Java 1.4, Struts, OC4J), I'm trying to debug a java 'trans' class, and when the process enters to the class, the console dont show the println and doesnt concat the strings and also, dont execute the vo query well, I have program many other classes and they run and debug without any problem or issue, what can be the issue here ?
    heres my action method:
    public class RepVisitasAction extends DispatchAction {
    public RepVisitasAction() {
    public ActionForward generarReporte (ActionMapping mapping, ActionForm form,
    HttpServletRequest request,
    HttpServletResponse response) throws IOException,
    ServletException {
    AccessControlMgr ac = new AccessControlMgr();
    if (ac.isValidSession(request) == false) {
    return mapping.findForward("accessControl");
    RepVisitasForm repForm = null;
    String fwd="reporteVisitas";
    repForm = (RepVisitasForm)form;
    String zona = repForm.getZonaSelected();
    String crs = getTiendasPorZona(zona);
    XxtaReporteVisitasTransactionsAlter trans = null;
    DateFormat format;
    Date ini;
    Date fin;
    SimpleDateFormat sdf = new SimpleDateFormat("dd/MM/yyyy");
    try{   
    trans = new XxtaReporteVisitasTransactionsAlter();
    format = new SimpleDateFormat("yyyy-MM-dd");
    ini = (Date)format.parse(repForm.getFechaInicialSelected());
    fin = (Date)format.parse(repForm.getFechaFinalSelected());
    String periodo = "'" + sdf.format(ini) + "' AND '" + sdf.format(fin) + "'";
    request.getSession().setAttribute("periodo", periodo);
    ArrayList nivel1 = new ArrayList();
    nivel1 = trans.getReporte1(crs,periodo);
    repForm.setNivel1(nivel1);
    repForm.setLevel("2");
    catch(Exception ex){
    ex.printStackTrace();
    finally{
    trans.releaseConnection();
    return mapping.findForward(fwd);
    private String getTiendasPorZona(String zona){
    XxtaReporteVisitasTransactionsAlter trans = null;
    String crs = null;
    try{
    trans = new XxtaReporteVisitasTransactionsAlter();
    crs = trans.getTiendasPorZona(zona);
    }catch(Exception ex){
    ex.printStackTrace();
    }finally{
    trans.releaseConnection();
    return crs;
    heres my trans code:
    public class XxtaReporteVisitasTransactionsAlter extends XxtaBaseTransactions {
    private static final String queryZonas1 = "select * from (SELECT p.zona, (SELECT COUNT(pv.cr_tienda) FROM cnt_tiendas_x_plaza_v pv INNER JOIN xxta_zonas zo ON (zo.nombre_zona = pv.zona) WHERE pv.zona = p.zona) AS total_tiendas, COUNT(DISTINCT v.cr_tienda) AS tiendas_encuestadas, round((COUNT(DISTINCT v.cr_tienda) * 100 / GREATEST((SELECT COUNT(pv.cr_tienda) FROM cnt_tiendas_x_plaza_v pv INNER JOIN xxta_zonas zo ON (zo.nombre_zona = pv.zona) WHERE pv.zona = p.zona), 1)),2) AS porcentaje_tiendas_encues, COUNT(DISTINCT a.enc_id) AS encuestas_realizadas FROM xxta_control_visitas v INNER JOIN xxta_control_enc_answers a ON (v.doc_id = a.doc_id) RIGHT JOIN cnt_tiendas_x_plaza_v tp ON (v.cr_tienda = tp.cr_tienda) INNER JOIN cnt_distritos_x_plaza_v p ON (p.plaza = v.cr_plaza) ";
    private static final String queryZonas2 = " GROUP BY p.zona )";
    private static final String queryPlazas1 = "SELECT tp.plaza, (SELECT COUNT(p.cr_tienda) FROM cnt_tiendas_x_plaza_v p) AS total_tiendas, COUNT(DISTINCT v.cr_tienda) AS tiendas_encuestadas, round((COUNT(DISTINCT v.cr_tienda) * 100 / GREATEST((SELECT COUNT(p.cr_tienda) FROM cnt_tiendas_x_plaza_v p),1)),2) AS porcentaje_tiendas_encues, COUNT(DISTINCT a.enc_id) AS encuestas_realizadas FROM xxta_control_visitas v INNER JOIN xxta_control_enc_answers a ON (v.doc_id = a.doc_id) RIGHT JOIN cnt_tiendas_x_plaza_v tp ON (v.cr_tienda = tp.cr_tienda) ";
    private static final String queryPlazas2 = " GROUP BY tp.plaza";
    private static final String queryDtos1 = "SELECT p.distrito, p.id_distrito, (SELECT COUNT(pv.cr_tienda) FROM cnt_tiendas_x_plaza_v pv WHERE pv.distrito = p.distrito) AS total_tiendas, COUNT(DISTINCT v.cr_tienda) AS tiendas_encuestadas, round((COUNT(DISTINCT v.cr_tienda) * 100 / GREATEST((SELECT COUNT(pv.cr_tienda) FROM cnt_tiendas_x_plaza_v pv WHERE pv.distrito = p.distrito), 1)),2) AS porcentaje_tiendas_encues, COUNT(DISTINCT a.enc_id) AS encuestas_realizadas FROM xxta_control_visitas v INNER JOIN xxta_control_enc_answers a ON (v.doc_id = a.doc_id) RIGHT JOIN cnt_tiendas_x_plaza_v tp ON (v.cr_tienda = tp.cr_tienda) INNER JOIN cnt_distritos_x_plaza_v p ON (p.plaza = v.cr_plaza) ";
    private static final String queryDtos2 = " GROUP BY p.distrito, p.id_distrito";
    public XxtaReporteVisitasTransactionsAlter() {
    public String getTiendasPorZona(String zona){
    XxtaTiendaPorZonaViewImpl vo = null;
    String cadena = "";
    try{
    vo = (XxtaTiendaPorZonaViewImpl)XxtaModule.findViewObject("XxtaTiendaPorZonaView");
    vo.clearCache();
    vo.setRangeSize(-1);
    if(!zona.equalsIgnoreCase("todos")){
    vo.setWhereClause("zona = '" + zona + "' ");
    vo.executeQuery();
    Row[] row = vo.getAllRowsInRange();
    for(int i = 0; i < row.length; i++){
    XxtaTiendaPorZonaViewRowImpl vor = (XxtaTiendaPorZonaViewRowImpl)row;
    if(!cadena.equalsIgnoreCase("")){
    cadena += ",'" + vor.getCrTienda() + "'";
    }else{
    cadena += "'" + vor.getCrTienda() + "'";
    }catch(Exception ex){
    ex.printStackTrace();
    }finally{
    if(vo != null){
    vo.closeRowSet();
    return cadena;
    public ArrayList getReporte1(String crs, String periodo){
    XxtaRepVisitasZonaViewImpl vo = null;
    ArrayList list = null;
    StringBuffer query = new StringBuffer();
    int totalTiendas = 0;
    int tiendasEnc = 0;
    int por1 = 0;
    int tiendasSin = 0;
    int totalInv = 0;
    int totalEnc = 0;
    int encInv = 0;
    try{
    if(!crs.equalsIgnoreCase("")){
    query.append(queryZonas1).append(" WHERE v.cr_tienda IN (").append(crs).append(") AND a.tienda_end_date BETWEEN ").append(periodo).append(queryZonas2);
    //query = queryZonas1 + " WHERE v.cr_tienda IN (" + crs + ") AND a.tienda_end_date BETWEEN " + periodo + queryZonas2;
    }else{
    query.append(queryZonas1).append(" WHERE a.tienda_end_date BETWEEN ").append(periodo).append(queryZonas2);
    //query = queryZonas1 + " WHERE a.tienda_end_date BETWEEN " + periodo + queryZonas2;
    vo = (XxtaRepVisitasZonaViewImpl)XxtaModule.findViewObject("XxtaRepVisitasZonaView");
    vo.clearCache();
    vo.setRangeSize(-1);
    //System.out.println("Query: " + query.toString());
    vo.setQuery(query.toString());
    System.out.println(vo.getQuery());
    vo.executeQuery();
    Row[] row = vo.getAllRowsInRange();
    list = new ArrayList();
    for(int i = 0; i < row.length; i++){
    XxtaRepVisitasZonaViewRowImpl vor = (XxtaRepVisitasZonaViewRowImpl)row[i];
    ReporteVisitasBean bean = new ReporteVisitasBean();
    bean.setZona(vor.getZona());
    bean.setTotalTiendas(vor.getTotalTiendas().toString());
    bean.setTiendasEncuestadas(vor.getTiendasEncuestadas().toString());
    int ti = Integer.parseInt(vor.getTotalTiendas().toString()) - Integer.parseInt(vor.getTiendasEncuestadas().toString());
    int por = (Integer.parseInt(vor.getTiendasEncuestadas().toString()) / Integer.parseInt(vor.getTotalTiendas().toString())) * 100;
    bean.setPorcentajeTiendas("%" + String.valueOf(por));
    bean.setTiendasSinEncuestas(String.valueOf(ti));
    bean.setPorcentajeTiendasSin("%" + String.valueOf(100-por));
    String invRea = getInventariosRealizados("(" + crs + ")");
    bean.setInventariosRealizados(invRea);
    bean.setEncuestasRealizadas(vor.getEncuestasRealizadas().toString());
    int per = (Integer.parseInt(vor.getEncuestasRealizadas().toString())/Integer.parseInt(invRea));
    bean.setEncuestasPorInventarios("%" + String.valueOf(per));
    list.add(bean);
    totalTiendas += Integer.parseInt(vor.getTotalTiendas().toString());
    tiendasEnc += Integer.parseInt(vor.getTiendasEncuestadas().toString());
    por1 += por;
    tiendasSin += ti;
    totalInv += Integer.parseInt(invRea);
    totalEnc += Integer.parseInt(vor.getEncuestasRealizadas().toString());
    encInv += per;
    if(list.size() > 0){
    ReporteVisitasBean bean = new ReporteVisitasBean();
    bean.setZona("TOTAL TIENDAS");
    bean.setTotalTiendas(String.valueOf(totalTiendas));
    bean.setTiendasEncuestadas(String.valueOf(tiendasEnc));
    bean.setPorcentajeTiendas(String.valueOf(por1/list.size()));
    bean.setTiendasSinEncuestas(String.valueOf(tiendasSin));
    bean.setPorcentajeTiendasSin(String.valueOf(String.valueOf(100 - Integer.parseInt(bean.getPorcentajeTiendas()))));
    bean.setEncuestasRealizadas(String.valueOf(totalEnc));
    bean.setInventariosRealizados(String.valueOf(totalInv));
    bean.setEncuestasPorInventarios(String.valueOf(String.valueOf(encInv/list.size())));
    list.add(bean);
    }catch(Exception ex){
    ex.printStackTrace();
    System.out.println(ex.getMessage());
    }finally{
    if(vo != null){
    vo.closeRowSet();
    return list;
    I hope you can help with these problems, I checked the code and doesn't look wrong, I think it might be some malfunction of the IDE (Jdev)
    Best Regards,
    Mentor

    Halim,
    Instead of deleting some cash, you could just give it to me ;)
    Sorry, couldn't resist...
    When you say "tons of modules," what do you mean? Are you talking about design-time or run-time performance? Does stopping the embedded OC4J help?
    John

  • Debugging Issue

    Hello Friends,
    I am a functional consultant and have some issues with sales order.
    When I am creating a sales order and enter data like customer, material , quantiy etc and press enter ..... I get a error with the error message ZZ000.
    I am trying to debug the sales order to understand how this error is occuring and on what conditions it is occuring.
    So before pressing enter ...... I put /h and enter and goes in debugging mode ......
    Here I am not able to understand how do I put break point at the error messages.
    In menumbar there is a menu for break point followed by statements ... Can some one tell me how to put the breakpoint at the error message so that I can exactly go in the code where this message is set and on what conditions its appearing.
    Many thanks
    Screams

    Hi,
    Once you select the Break Points at Satement a Pop up Box will be displayed there write the statement MESSAGE and press Enter or Tick mark in that screen and it will stop at all messages which will be displayed while creating the Sales Order. Try to concentrate on the statement MESSAGE ZZ(000) while debugging the code it will definetly stop there I guess this might be coming from the user exits MV45AFZZ or MV45FZB. Once you find this take the program name displayed in the top of the Debugging Screen (Source Code of) along with the line number in the right side.
    And now go to transaction SE38 give this program name and go to line number and have a look at the logic or else ask any ABAPer to look at it why this meaage is being triggered.
    Let me know in case of any.
    Regards
    SRinivas

Maybe you are looking for

  • Satellite A300D-15B - Screen turns between on and off

    Hi, I've been having some problems with my laptop's screen; it's an on-off thing, however during these past few days it has become worse. Whenever I tilt my laptop screen past a certain point, it turns black. However if you shine a bright lamp at the

  • Can't able to release transport request which has process chain information

    Hi Experts, Can any one come accross the similar issue? . If so I am eager to know the fix for it. I have collected my process chain in a transport request and when I am trying to release the same for import to another system, I get the following err

  • How to determine the Cluster name ?

    Grid version : 11.2.0.3 on Solaris 10 When we start installing Grid Infrastructure, we specify a Cluster Name. Question1. How can I determine the cluster name of a 11.2 RAC Cluster ? We maintain a DB inventory. For each cluster , we want to specify t

  • Check Printing - Commented Pages FIRST LAST  & still  NEXT prints as 2nd pg

    hi, I have copied F110_PRENUM_CHCK script into ZCHECKPRINT.   My requirement is only one page printout including the payment advice and Check. For the same, I have commented all contents except the elements on first two pages and have put all informa

  • Why can't I add artwork for wav files

    I have a few music in my iTunes that are in WAV audio format, in the get info I am not able to add missing artwork like I can do all the others audio format and yes I have tried the get album artwork from iTunes but it says could not be found.  What