Asset metatadata information in a java process step

We need to write a java process in a process step of a workflow. We need to do certain actions based on the asset being referred in the workflow.
I am not able to fetch the metadata of the asset(example image). Please share the code for fetching the
metadata for an asset.
Thanks,
Sachin

Hi Sham,
I have tried using ResourceResolverFactory also, but it has not resolved the issue.
When ever I am trying to take the ResourceResolver object from ResourceResolverFactory, I am getting NullPointerException.
Below is the code I am using, Please suggest if I am making any mistake.
@Component(metatype = true, immediate = true)
@Service
@Properties({
@Property(name = Constants.SERVICE_DESCRIPTION, value = "ForTestingProcesses"),
@Property(name = Constants.SERVICE_VENDOR, value = "abc"),
@Property(name = "process.label", value = "TestProcess")})
public class TestCode  implements WorkflowProcess
          private static final Logger log = LoggerFactory.getLogger(TestCreateAssetWorkflow.class);
          @Reference(policy = ReferencePolicy.STATIC)
           private ResourceResolverFactory ResolverFactory;
          ResourceResolver resourceResolver = null;
          public void execute(WorkItem item, WorkflowSession arg1, MetaDataMap arg2)
                              throws WorkflowException {
          try{
                    String path=item.getWorkflowData().getPayload().toString();
                    log.info("TestCode Path::"+path);
                    resourceResolver = ResolverFactory.getAdministrativeResourceResolver(arg2);
                    log.info("Path2::"+path);
                    Resource res=resourceResolver.getResource(path);
                    log.info("Path3::"+path);
                    Asset damAsset = DamUtil.resolveToAsset(res);
                    log.info("damasset::"+damAsset);
  }catch(Exception e){
                              log.info("Stack Trace::"+e);
if I include the line  @Reference(policy = ReferencePolicy.STATIC), It is giving error that the process is not found. If I am excluding the mentioned line, I am getting NullPointer exception.
Please suggest.
Thanks,
Sachin

Similar Messages

  • Own workflow process step (java) not listed in the generic Process step component

    Based on the description Extending Workflow Funtionality I have used this sample to create a bundle with the CRXDE Development Environment. Almost just copying the code from the page (had to make some adjustments to correct program errors in this sample) an then build bundle. According to Note 2 this program should be seen in the list supplied by Process step Component when editing a workflow. But it is not there.
    @Component
    @Service
    public class MyWorkflowProcess implements WorkflowProcess {
        @Property(value = "An example workflow process implementation.")
        static final String DESCRIPTION = Constants.SERVICE_DESCRIPTION;
        @Property(value = "Adobe")
        static final String VENDOR = Constants.SERVICE_VENDOR;
        @Property(value = "My Sample Workflow Process")
        static final String LABEL="process.label";
    What do I need to do else?
    Thanks,
    Ulrich

    Ulrich,
    CRXDE does not support the Java annotations which are listed in the documentations. When you want to leverage CRXDE (which is for development ... discouraged), you need to migrate to JavaDoc style annotations.
    For documentation how you can setup a development workflow based on a Java IDE and maven please see [0].
    kind regards,
    Jörg
    [0] http://dev.day.com/docs/en/cq/aem-how-tos/development/how-to-build-aem-projects-using-apac he-maven.html

  • Process step for Investment Management

    Hi SAP Gurus
    Our client is into BOT projects - Build, operate adn transfer projects.
    Till the time of transfer the asset is the property of our client. So the client builds an assets, maintains & operates and transfers the rights only after certain years.
    For this I am suggesting using Investment Management module but I am not very clear on the process steps right from creation to Investment order for project - build & for operation.
    Request you to suggest me the process steps.
    Thanks,
    Srikanth

    Hi,
    For more information about Investment Management, click the below link.
    http://help.sap.com/saphelp_47x200/helpdata/en/2a/f9f273493111d182b70000e829fbfe/frameset.htm
    regards,
    Venkatesan Anandan

  • Could not stop SDM server. Cannot execute Java process for stopSDM with parameters 50018

    dear SAP
    i have a system Solman 7.1
    i'm upgrading Solman from SP04 to SP13 using SUM (SP12 patch 10) on windows 2012
    and i faced  error  during  Excution phase 5.6  in JAVA Stack.
    phase : Excution - Actual Update
    Error : An error has occurred during the execution of the Deploy software components step.
    Could not stop SDM server. Cannot execute Java process for stopSDM with parameters 50018. Return code condition success evaluated to false for process java.exe for action ACTION_STOP
    You can find more information in the files D:\usr\sap\SOL\SUM\sdt\log\SUM\DEPLOY-COMPONENTS_22.LOG and ProcessOverview.html.
    To troubleshoot the problem use the provided information. An SAP Note may provide a solution to this problem. Search for SAP Notes with the following keywords:
    SUM??execute??component-deploy-700??deploy-components??com.sap.sdt.j2ee.services.servicesimpl.SDMService??class com.sap.sdt.j2ee.tools.sdmmanagement.OperateSdmException
    i try to restart server and killed sapstartsrv..  but the problem is not solved. 
    please let me know what i check more?
    D:\usr\sap\SOL\SUM\sdt\log\SUM\DEPLOY-COMPONENTS_22.LOG
    <!--LOGHEADER[START]/-->
    <!--HELP[Manual modification of the header may cause parsing problem!]/-->
    <!--LOGGINGVERSION[2.0.7.1006]/-->
    <!--NAME[D:\usr\sap\SOL\SUM\sdt\log\SUM\DEPLOY-COMPONENTS_22.LOG]/-->
    <!--PATTERN[DEPLOY-COMPONENTS_22.LOG]/-->
    <!--FORMATTER[com.sap.tc.logging.TraceFormatter(%d [%6s]: %m)]/-->
    <!--ENCODING[UTF8]/-->
    <!--LOGHEADER[END]/-->
    Apr 19, 2015 3:59:00 AM [Info  ]: Stopping SDM server...
    Apr 19, 2015 3:59:00 AM [Info  ]: AS Java process ID 11 has been started.
    Apr 19, 2015 3:59:00 AM [Info  ]:   Command line: D:\usr\sap\SOL\DVEBMGS00\exe\sapjvm_4\bin\java.exe -Xmx900M -Djava.ext.dir=d:/usr/sap/SOL/DVEBMGS00/SDM/program/lib;D:/usr/sap/SOL/DVEBMGS00/exe/sapjvm_4/jre/lib/ext -cp . -jar d:\usr\sap\SOL\DVEBMGS00\SDM\program\bin\SDM.jar shutdown Sdmguiport=50018 sdmHome=d:/usr/sap/SOL/DVEBMGS00/SDM/program logfile=D:\usr\sap\SOL\SUM\sdt\log\SUM\OperateSDM_60.LOG
    Apr 19, 2015 3:59:00 AM [Info  ]:   Standard out: D:\usr\sap\SOL\SUM\sdt\log\SUM\OPERATESDM_44.OUT
    Apr 19, 2015 3:59:00 AM [Info  ]: Process ID 11 has been started.
    Apr 19, 2015 3:59:00 AM [Info  ]: Waiting for process ID 11, name java.exe to finish.
    Apr 19, 2015 3:59:02 AM [Info  ]: Process ID 11, name java.exe has been finished, exit code 16.
    Apr 19, 2015 3:59:02 AM [Info  ]: Process ID 11, name java.exe has been terminated.
    Apr 19, 2015 3:59:02 AM [Error ]: The following problem has occurred during step execution: com.sap.sdt.j2ee.tools.sdmmanagement.OperateSdmException: Could not stop SDM server.
    Cannot execute Java process for stopSDM with parameters 50018.
    Return code condition success evaluated to false for process java.exe for action ACTION_STOP.
    Best regards..

    Could not stop SDM server. Cannot execute Java process for stopSDM with parameters 50018. Return code condition success evaluated to false for process java.exe for action ACTION_STOP
    Please follow the solution mentioned in the below link.
    Error During Deployment - Java Support Package Manager (OBSOLETE) - SAP Library
    regards,
    pavan

  • Long time to start on  Java process dispatcher

    Hi ,
    I am trying to Install Solution Manager. When I attempt to start my sap system, the Java process dispatcher of instance/stage SM1 (solution manager) takes too much time and finally doesn't start showing this intallation error.
    ERROR 2008-09-24 11:01:11.314
    CJS-30151  Java process dispatcher of instance SM1/DVEBMGS00 [ABAP: ACTIVE, Java: (dispatcher: UNKNOWN, server0: RUNNING)] did not start after 2:00 minutes. Giving up.
    ERROR 2008-09-24 11:01:11.502
    FCO-00011  The step startJava with step key |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CI_Instance|ind|ind|ind|ind|11|0|NW_CI_Instance_StartJava|ind|ind|ind|ind|5|0|startJava was executed with status ERROR .
    Can anyone please let me know what is missing in this procedure? Any idea?
    tkanks in advance.

    Hi Matias,
    What are the parameters you set for your dispatcher?
    Regards
    Val

  • All Java Processes crash on RH Linux 7.3 / 6.3 without any comment

    We have the following Problem on two Machines. We installed j2sdk1.4.0 first, then jdk-1.3.1_04 (Because of other Problems with 1.4.0).
    Now all running java Processes crash after up to two hours without any comment, any error file. Looks like they were killed by the 'kill' Command. The running java Processes are different Programs, that do very different things.
    The OS on the two machines are RH Linux 7.3 and 6.3 - normal installation without any essential changes.
    I would be very happy, if someone have an idea, how to solve this Problem. If you need additional Information, ask for.
    Holger

    ... if someone have an idea, how to solve this Problem.Seems like I remember seeing a problem like that.
    It turned out that indeed it was the 'kill' command. Another process was running, looking for the app, and killing it when it found it.
    We spend quite a bit of time trying to figure out why our app was 'crashing' before deciding to look elsewhere (when we discovered the other process.)

  • Java process - high CPU usage

    Hi,
    I'm describing a high CPU scenario which gets triggered randomly ( I'm not able to replicate it on my lab setup).
    There are around 120 threads which are running in my java process. The jvm is running on a high traffic (through put) site, where there are a lot of async events coming to the java process.( around 220 events per 60 seconds ). The java process works fine in this scenario, the normal CPU consumption hovers around 1.5 % to 2.0 %.
    But, at times, I've seen CPU to be as high as 43 %, and it stays at that value for hours altogther. In those situations, I usually do a failover to standby java process. I tried debugging the issue to see which java thread could be causing the issue, but, I could not come to a conclusion or replicate the situation in lab environment.
    Here are the details of the execution environment
    java -version
    java version "1.4.2_11"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_11-b06)
    Java HotSpot(TM) Client VM (build 1.4.2_11-b06, mixed mode)
    prstat during high CPU
    PID USERNAME THR PRI NICE SIZE RES STATE TIME CPU COMMAND
    10485 root 120 10 0 570M 381M cpu1 268:10 43.64% java
    prstat -Lm -p output
    PID USERNAME USR SYS TRP TFL DFL LCK SLP LAT VCX ICX SCL SIG PROCESS/LWPID
    10485 root 53 0.5 0.2 0.0 0.0 30 0.2 16 69 1K 118 0 java/2
    10485 root 31 0.0 0.1 0.0 0.0 53 0.2 16 23 778 93 0 java/26
    10485 root 0.4 0.0 0.0 0.0 0.0 99 0.0 0.1 10 16 106 0 java/12
    10485 root 0.1 0.0 0.0 0.0 0.0 100 0.0 0.0 3 2 7 0 java/15
    10485 root 0.1 0.0 0.0 0.0 0.0 97 0.0 2.4 120 3 128 0 java/41
    10485 root 0.1 0.0 0.0 0.0 0.0 97 0.0 2.5 120 4 131 0 java/410
    Some more points about the last prstat -Lm output.
    java/2 is "VM Thread" ( responsible for GC). "VM Thread" is having a NORMAL priority ( 5 )
    java/26 is a "Worker" thread, with priority MINIMUM ( 1 ).
    Could you suggest what could be issue, and what other information I could collect to find out the issue. Its difficult to profile the process because the problem scenario is difficult to ascertain and the process is running on a production setup.
    Any help is appreciated.
    Thanks
    Sanjay

    Hi,
    Thanks for your response. Both, the production setup and lab setup have have 2 physical CPUs.
    Actually, there are two java threads ( machine is solaris 10) one is "VM Thread" and other is my applications worker thread. (there are 10 of them with priority 1). If you look at the top two lwps in the prstat -Lm , both are showing high value of ICX.
    I'm still not able to drill down to my code level. (Worker thread is waiting on a queue to de-queue server request). Could you give some hint to move foward?
    rgds
    Sanjay

  • How to use a servlet in a Workflow process step.

    Hi
    I need am upgrading existing code from cq 5.4 to CQ 5.5.
    The exsiting code uses a servlet with an injected @MailService reference to send emails. It is currently used as a process step service.
    However, with CQ 5.5 I see that I need to implement the WorkFlowProcess interface, to see this class listed as in the Process step drop down list.
    The issue I have is if I keep the class as a Servlet extension , it does not show up in the drop down list of the process step.
    Is there a way to update the code to list this servlet as a process step?
    Or is there a way to inject the MailService reference into a class which only implements the "WorkflowProcess" interface and is not a servlet ?
    advice appreciated.
    thanks
    Ven

    The implementation of WorkflowProcess is to be deployed as an OSGi service, so you can @Reference the MailService in that class.
    http://dev.day.com/docs/en/cq/current/workflows/wf-extending.html#Defining a Process Step with a Java Class
    scott

  • JConsole not picking up local Java processes

    Hi,
    Using JDK 1.5.0_06 JConsole is not picking up my local Java processes. I have set the -Dcom.sun.management.jmxremote as an arg to the JVM startup. My Windows username does not have an underscore in it and my default temporary directory is on NTFS. When I run the jps command I see my java processes but I get process information unavailable for each one except the jps command.
    Anybody have any ideas as to what else I should look at.

    Found the answer I was looking for - What a pain - http://forum.java.sun.com/thread.jspa?threadID=730397&messageID=4308804

  • SunOS 5.10 spawns multiple PID's for same java process

    On SunOS 5.10 I see same java process having multiple PID's. ps -ef lists out the same java process running from same path with multiple PID's. What can be the reason for this?
    Please let me know if you need some more information.....
    Edited by: sayanb on Jan 5, 2010 9:29 AM

    Hi Chris,
    Thank you for this update.
    Again this seems to be a known issue on SunOS 10.Also I will try to take the stack strace for the specific java process.
    http://forums.sun.com/thread.jspa?forumID=546&threadID=5297465
    http://groups.google.com/group/bojug/browse_thread/thread/19d722275c4384b8
    Basically the issue seems to be with one of the fork system calls which confuses with active and actual threads running.The above link speaks about the same , faced by similar users.
    Any updates will be appreciated.Meanwhile will try to get the stack trace.
    Regards
    Sayan

  • Handling unit process step by step

    Dear All,
    We intend to use handling unit functionality.
    Our FG let's say FG001 gets packed in container.
    I have mapped this as following.
    I have created 'Container' as code with material type VERP- Packaging Material. Maintained the required data in Sales org. tab page.
    I have created packing instruction in POP1 with container as packing material & FG001 as material.
    I have maintained the determination record in POF1 (Frankly I didn't understand the relevance of this step, but did cos has been suggested in several threads.)
    Now I have to perform the packing process of FG001 in HU02.
    But system is throwing me an error as 'No packing instruction could be found for material FG001', message no. VHUPD002.
    I have stuck up there. Kind request you to help me in this, regarding any configuration & processing step, if I am missing.
    Also I am few questions to get clear.
    1. How to maintain the batch no. of packing material 'Container' while creating/ generating HU as my packing material is batch managed, and need to have information in which HU the batch of packing material is utilized.
    2. What happens to the stock statement  (MMBE)of both the materials i.e. FG001 & Container when those are get packed i.e. HU created/ generated.
    Please respond urgently.
    Timely answers will be rewarded.
    Mimiri

    VS,
    Thanks once again.
    You got it right. I was confused as I was unable to understand why packing material is not moving along with the FG material.
    Moreover our packing material is container. Once it is packed container moves from plant to plant & then to final destination.
    As we have to track the movement of the container, it was necessary for us to the have stock statement.
    I am still surprised why standard SAP doesn't support the movement of the packing material along with the contents i.e. FG?
    Now to tackle this, we have thought of a way out.
    We have maintained two material codes for container. one is dummy container and second is main container for which we have to track the goods movement. Both will be having same material type as VERP but only difference is later won't be having packing material type in sales view. So it will act as normal material.
    While creating HU with HU02, both the materials with quantities will be entered in pack material section. Dummy packing material serve as packing material. Here my question is what is HU creation & HU generation? Because system is throwing me an error while generation as 'no packing instruction are there for the material although I have defined determination source in POF1 but when I save the HU with out generating it, system doesn't throw this error
    The HU is getting created but I am unable to enter that HU number in VL01N while creating the delivery. How to do that?
    MImiri

  • Post Processing Steps after Support Package Stack Application

    I'm curious if anyone has any guidelines for post processing steps (or pre-processing) when applying Support Package Stacks to their Development Infrastructure (Developmend Workplace and the Central NWDI Server).  We have just upgraded a couple of developers local engines and developer studio to SP stack 19 from SP stack 14 and are experiencing some problems.  We also applied the J2EE stack and appropriate SCA files to the NWDI server.
    After the support packs it looks like our DTR files are gone (when reimporting configuration via Developer Studio the SC's are there but there are no DC's inside of them).  Additionally, it looks like we have to manually reimport the newest versions of SAP_BUILDT, SAP_JTECHS, and SAP-JEE.  Another thing is that old Local Web Dynpro DC's are now complaining about class path problems and different versions of files.  We followed the documentation for applying SP19 exactly as the documentation says for a Java Development Usage type.  Is there a checklist or something that anyone has for steps to perform after the application of the support packs?

    I think I'm missing something.  Now I see the code and DC's inside the DTR.  However, when I try to import into NWDS no DC's come in (the software components exist, but no DC's in them).  Additionally, the CBS web ui reports that my software components do not contain any DC's even though I see them in the DTR.  What things can I look at to determine what I'm missing here?
    Thought I'd add some more info..after applying the support packs, we imported the new SAPBUILD, SAP_JTECH, and SAP_jee SCA'S into our track as we required some functionality from the newer build SCA.  We also reimported our old archives back into the system by manually checking them in assuming this would fix the problem with us not seeing the source in the NWDS or the DTR.  After the import, the CBS no longer sees our custom DC's, but the DTR does (both in active and inactive ws).  When importing the dev configuration into the NWDS our custom DC's no longer appear, but SAP's standard SCA's do.
    Message was edited by:
            Eric Vota

  • JDK 1.6 on Solaris. Multiple java processes and thread freezes

    Hi, we've come across a really weird behavior on the Solaris JVM, reported by a customer of ours.
    Our server application consists of multiple threads. Normally we see them all running within a single Java process, and all is fine.
    At some point in time, and only on Solaris 10, it seems that the main Java process starts a second Java process. This is not our code trying to execute some other application/command. It's the JVM itself forking a new copy of itself. I assumed this was because of some JVM behaviour on Solaris that uses multiple processes if the number of threads is > 128. However at the time of spawn there are less than 90 threads running.
    In any case, once this second process starts, some of the threads of the application (incidentally, they're the first threads created by the application at startup, in the first threadgroup) stop working. Our application dumps a list of all threads in the system every ten minutes, and even when they're not working, the threads are still there. Our logs also show that when the second process starts, these threads were not in the running state. They had just completed their operations and were sleeping in their thread pool, in a wait() call. Once the second process starts, jobs for these threads just queue up, and the wait() does not return, even after another thread has done a notify() to inform them of the new jobs.
    Even more interesting, when the customer manually kills -9 the second process, without doing anything in our application, all threads that were 'frozen' start working again, immediately. This (and the fact that this never happens on other OSes) makes us think that this is some sort of problem (or misconfiguration) specific to the Solaris JVM, and not our application.
    The customer initially reported this with JDK 1.5.0_12 , we told them to upgrade to the latest JDK 1.6 update 6, but the problem remains. There are no special JVM switches (apart from -Xms32m -Xmx256m) used. We're really at a dead end here in diagnosing this problem, as it clearly seems to be outside our app. Any suggestion?

    Actually, we've discovered that that's not really what was going on. I still believe there's a bug in the JVM, but the fork was happening because our Java code tries to exec a command line tool once a minute. After hours of this, we get a rogue child process with this stack (which is where we are forking this command line tool once a minute):
    JVM version is 1.5.0_08-b03
    Thread t@38: (state = IN_NATIVE)
    - java.lang.UNIXProcess.forkAndExec(byte[], byte[], int, byte[], int, byte[], boolean, java.io.FileDescriptor, java.io.FileDescriptor, java.io.FileDescriptor) @bci=168980456 (Interpreted frame)
    - java.lang.UNIXProcess.forkAndExec(byte[], byte[], int, byte[], int, byte[], boolean, java.io.FileDescriptor, java.io.FileDescriptor, java.io.FileDescriptor) @bci=0 (Interpreted frame)
    - java.lang.UNIXProcess.<init>(byte[], byte[], int, byte[], int, byte[], boolean) @bci=62, line=53 (Interpreted frame)
    - java.lang.ProcessImpl.start(java.lang.String[], java.util.Map, java.lang.String, boolean) @bci=182, line=65 (Interpreted frame)
    - java.lang.ProcessBuilder.start() @bci=112, line=451 (Interpreted frame)
    - java.lang.Runtime.exec(java.lang.String[], java.lang.String[], java.io.File) @bci=16, line=591 (Interpreted frame)
    - java.lang.Runtime.exec(java.lang.String, java.lang.String[], java.io.File) @bci=69, line=429 (Interpreted frame)
    - java.lang.Runtime.exec(java.lang.String) @bci=4, line=326 (Interpreted frame)
    - java.lang.Thread.run() @bci=11, line=595 (Interpreted frame)There are also several dozen other threads all with the same stack:
    Thread t@32: (state = BLOCKED)
    Error occurred during stack walking:
    sun.jvm.hotspot.debugger.DebuggerException: can't map thread id to thread handle!
         at sun.jvm.hotspot.debugger.proc.ProcDebuggerLocal.getThreadIntegerRegisterSet0(Native Method)
         at sun.jvm.hotspot.debugger.proc.ProcDebuggerLocal.getThreadIntegerRegisterSet(ProcDebuggerLocal.java:364)
         at sun.jvm.hotspot.debugger.proc.sparc.ProcSPARCThread.getContext(ProcSPARCThread.java:35)
         at sun.jvm.hotspot.runtime.solaris_sparc.SolarisSPARCJavaThreadPDAccess.getCurrentFrameGuess(SolarisSPARCJavaThreadPDAccess.java:108)
         at sun.jvm.hotspot.runtime.JavaThread.getCurrentFrameGuess(JavaThread.java:252)
         at sun.jvm.hotspot.runtime.JavaThread.getLastJavaVFrameDbg(JavaThread.java:211)
         at sun.jvm.hotspot.tools.StackTrace.run(StackTrace.java:50)
         at sun.jvm.hotspot.tools.JStack.run(JStack.java:41)
         at sun.jvm.hotspot.tools.Tool.start(Tool.java:204)
         at sun.jvm.hotspot.tools.JStack.main(JStack.java:58)I'm pretty sure this is because the fork part of the UnixProcess.forkAndExec is using the Solaris fork1 system call, and thus all the Java context thinks all those threads exist, whereas the actual threads don't exist in that process.
    It seems to me that something is broken in UnixProcess.forkAndExec in native code; it did the fork, but not the exec, and this exec thread just sits there forever. And of course, it's still holding all the file descriptors of the original process, which means that if we decide to restart our process, we can't reopen our sockets for listening or whatever else we want to do.
    There is another possibility, which I can't completely rule out: this child process just happened to be the one that was fork'd when the parent process called Runtime.halt(), which is how the Java process exits. We decided to exit halfway through a Runtime.exec(), and got this child process stuck. But I don't think that's what happens... from what I understand that we collected, we see this same child process created at some point in time, and it doesn't go away.
    Yes, I realize that my JVM is very old, but I cannot find any bug fixes in the release notes that claim to fix something like this. And since this only happens once every day or two, I'm reluctant to just throw a new JVM at this--although I'm sure I will shortly.
    Has anyone else seen anything like this?

  • CJS-30151  Java process server0 of instance RP8/DVEBMGS01 [ABAP: ACTIVE, Ja

    Dear Experts
    There are two server nodes with physical hostname as
    dbpocvm and cipocvm and virtual hostame as dbRP8 and ciRP8 respectively.
    We have successfully installed the SCS00 on ciRP8 and DB on dbRP8.
    Now we are running CI installation on ciRP8 where 26 out of 29 steps
    are completed and stuck on 27th step(Prepare to install minimal
    configuration).
    CJS-30151  Java process server0 of instance RP8/DVEBMGS01 [ABAP: ACTIVE, Java: (dispatcher: RUNNING, server0: UNKNOWN)] did not start after 1:00 minutes. Giving up.
    ERROR      2012-01-05 15:50:09.815 [sixxcstepexecute.cpp:977]
    FCO-00011  The step startJava with step key |NW_Doublestack_CI|ind|ind|ind|ind|0|0|SAP_Software_Features_Configuration|ind|ind|ind|ind|17|0|NW_Call_Offline_CTC|ind|ind|ind|ind|7|0|startJava was executed with status ERROR ( Last error reported by the step :Java process server0 of instance RP8/DVEBMGS01 [ABAP: ACTIVE, Java: (dispatcher: RUNNING, server0: UNKNOWN)] did not start after 1:00 minutes. Giving up.).
    WARNING    2012-01-05 15:50:09.846 [iaxxejshlp.cpp:150]
    Could not get property IDs of the JavaScript object.
    ERROR      2012-01-05 15:50:09.846 [iaxxejsctl.cpp:492]
    FJS-00010  Could not get value for property .
    few logs -
    dev_jcontrol ,dev_server0 same logs found in both. No errors only warning
    trc file: "/usr/sap/RP8/DVEBMGS01/work/dev_jcontrol", trc level: 1, release: "700"
    node name   : jcontrol
    pid         : 25393
    system name : RP8
    system nr.  : 01
    started at  : Thu Jan  5 15:49:10 2012
    arguments         :
              arg[00] : jcontrol
              arg[01] : pf=/usr/sap/RP8/SYS/profile/RP8_DVEBMGS01_ciRP8
              arg[02] : -DSAPSTART=1
              arg[03] : -DCONNECT_PORT=65000
              arg[04] : -DSAPSYSTEM=01
              arg[05] : -DSAPSYSTEMNAME=RP8
              arg[06] : -DSAPMYNAME=ciRP8_RP8_01
              arg[07] : -DSAPPROFILE=/usr/sap/RP8/SYS/profile/RP8_DVEBMGS01_ciRP8
              arg[08] : -DFRFC_FALLBACK=ON
              arg[09] : -DFRFC_FALLBACK_HOST=localhost
    [Thr 47042096819792] Thu Jan  5 15:49:10 2012
    [Thr 47042096819792] *** WARNING => INFO: Unknown property [instance.box.number=RP8DVEBMGS01cirp8] [jstartxx_mt. 841]
    [Thr 47042096819792] *** WARNING => INFO: Unknown property [instance.en.host=ciRP8] [jstartxx_mt. 841]
    [Thr 47042096819792] *** WARNING => INFO: Unknown property [instance.en.port=3200] [jstartxx_mt. 841]
    [Thr 47042096819792] *** WARNING => INFO: Unknown property [instance.system.id=1] [jstartxx_mt. 841]
    [Thr 47042096819792] *** WARNING => Maximum Java heap size specified twice (through maxHeapSize and in javaParameters) - using -Xmx512m [jstartxx_mt. 2604]
    [Thr 47042096819792] [Node: server0] java home is set by profile parameter
            Java Home: /usr/sapjvm_4
    sapinst.log
    WARNING 2012-01-05 15:48:22.138
         80 Host name has been overridden. Using host name 'ciRP8' which might not be the real host name.
    WARNING 2012-01-05 15:48:28.874
        116 Connect to message server (ciRP8/3900) failed: NIECONN_REFUSED.
    INFO 2012-01-05 15:49:07.066
        189 Starting instance RP8/DVEBMGS01...
        190
        191 WARNING 2012-01-05 15:49:07.107
        192 Connect to message server (ciRP8/3901) failed: NIECONN_REFUSED.
        193331 ERROR 2012-01-05 15:50:09.756
        332 CJS-30151  Java process server0 of instance RP8/DVEBMGS01 [ABAP: ACTIVE, Java: (dispatcher: RUNNING, server0: UNKNOWN        )] did not start after 1:00 minutes. Giving up.
    more /etc/hosts
    127.0.0.1       localhost.localdomain localhost loopback
    10.10.6.92      ciRP8   cirp8
    10.10.6.91      dbRP8   dbrp8
    10.10.6.95      cipocvm
    10.10.6.94      dbpocvm
    10.10.6.73      poc-node1
    10.10.6.82      poc-node2
    ::1             localhost6.localdomain6 localhost6
    10.10.5.50      dsview3.dsview3.itc.com    dsview3
    I may please be guided
    Kindest Regards

    Hi Sunny,
    You are correct,but we have a different strategy.
    We will have CI as SPOF and no CI with DI as non SPOF on two nodes.
    CI will be a part of cluster in compensation to the CI and DI as non-clustered on seperate nodes.
    I am yet stuck on 27 th phase of CI installation.
    I do not think that can be a cause of the error as we have gone through the phase of installing /confguring Java Engine and installing S/WUnits prior to this 27 th phasei.e  "Prepeare to install minimal configuration"  .
    Anyways CI can always be a part of cluster as and HA option too.
    Thanks for your reply.
    Any futher suggestions is appreciated.
    Thanks

  • CJS-30151 Java process ERROR

    Hi Everyone,
    I was trying to install NW 2004's(ABAP+JAVA,BI,EP,EP Core),getting following error,eventhough VM settings changed  to 1024(total 4GB).
    Error is :
    CJS-30150  Java processes of instance ECC/DVEBMGS04 [ABAP: ACTIVE, Java: UNKNOWN] did not reach state PARTRUNNING after 20:00 minutes. Giving up.
    FCO-00011  The step startJava with step key |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CI_Instance|ind|ind|ind|ind|11|0|NW_CI_Instance_StartJava|ind|ind|ind|ind|5|0|startJava was executed with status ERROR .
    Please do needful.
    Thanks,
    Naren

    My Solution:
    OS: Win2003 Std Edition
    DB: Oracle 10g
    SAP: SolMgr 4 SR3
    1. Set VM to 4096.
    2. In Services, make sure Oracle listener starts automatically
    3. Stop the installation and SAP instances.
    4. Restart the server
    5. Check that oracle listener is running
    6. Start SAP from the SAPmmc Console and wait till all processes are green. Java process will take a while to complete. I waited about 4-5 mins for it to turn from yellow to green
    7. Rerun the installation
    From the above steps, I managed to resolve this problem.

Maybe you are looking for

  • MacBook Keys not working even after KeyBoard Firmware update

    My friend's sister bought me a MacBook from the US last October. Fortunately, Apple announced the release of Leopard also on the same month and I got a free upgrade to leopard. I installed leopard about 3 months back. My keyboard was working fine whe

  • Photoshop edited image not appearing back in Aperture!!

    I'm a Lightroom user but thought I'd try out Aperture 3 for a new project to see if I prefer it. I scanned in an old family photo album and imported them into Aperture. Some of the photos got torn as I removed them from the pages (they were glued!!)

  • Low speed at AirPort extreeme

    Hello! Just bought new AirPort extreme, and faced with some troubles such as low wi-fi speed. I have a strong internet connection 100 mbs/s by ethernet cable. If I connect my PC by ethernet I have speed around 100 mb/s, when I connect it by wi-fi it

  • QAGGRUSED column in RSDDSTAT

    Hi folks, I have created a aggregate for a query and after every time the workbook associated with the query is executed, I see the "used" column in the aggregate definition increasing by 1. So which means the aggregate is being used by the query. Bu

  • JTableHeader and Mac L&F

    I want to change the background color of my header on my JTables running on a Mac. I've tried table.getHeader().setBackground(myColor) but that doesn't work. So I thought it might be a L&F thing. I tried the following: UIManager.getDefaults().put("Ta