Error in starting new process in GP
Hi All
I am facing a problem is starting a new GP process dynamically.
On the following step I get a GP InvocationException
IGPUserContext userContext =GPContextFactory.getContextManager()
.createUserContext(processUser);.
Message:
ERROR_ALREADY_STOPPED
com.sap.caf.eu.gp.base.exception.InvocationException: ERROR_ALREADY_STOPPED
at com.sap.caf.eu.gp.base.caching.MemoryCache.checkActive(MemoryCache.java:231)
at com.sap.caf.eu.gp.base.caching.MemoryCache.getEntry(MemoryCache.java:282)
at com.sap.caf.eu.gp.model.context.impl.UserContextFactory.getUserContext(UserContextFactory.java:195)
at com.sap.caf.eu.gp.model.context.impl.UserContextFactory.getUserContext(UserContextFactory.java:181)
at com.sap.caf.eu.gp.context.impl.GPUserContext.<init>(GPUserContext.java:85)
I tried to restart the Server, even that does not help.
Please help
Deepu
hi deepu
check this
http://help.sap.com/saphelp_nw04s/helpdata/en/44/7a056cdb0b6573e10000000a11466f/frameset.htm
http://help.sap.com/saphelp_nw04s/helpdata/en/43/fcdf77fc6510b3e10000000a11466f/frameset.htm
Can't start GP process by GP API
let me know u need any further info
bvr
Similar Messages
-
Error during start of process in Inegration Process
Hi,
My scenario is file to integration process and back.
Message is not entering my integration process. In sxmb_moni it shows a green falg at the queue and when you click on 'PE', we are taken to the inbound queue with 'SYSFAIL'.
The error description at the trace is 'Error during start of process'.
There are no errors in sxi_cache for the particular integration process. The return code is '0'. I have tried re-activation too and tested again. But to no avail.
There are no entries in swwl, since the message has not even entered integration process.
Kindly help me to correct the error.
Thanks,
JohnHi,
Yes the the 'Start Process' is checked.
Steps in BPM.
Receive step, transformation step to a multiline element, a block for sending each line in the multiline, a container operation for appending (also inside the block) and finally another transforamtion and send step.
But since the message has not even entered the send step, it is not of much use to know all steps
Thanks,
John -
Error during start of process of type
Hi All,
One of my BPM scenario was strucked every weekend in the queue (SMQ2) and say the error called " Error during start of process of type WS91000041"
I observed the Queue messages, due to the error from database system for particular record,
In my BPM there is Exception Branch in the block step in case of Database connection error, Why it was strucked in the queue in case of error in the Database?
Why it doesn't the goes to exception branch?
Kindly suggest me how i can approach here.
Thank you very much.
Regards,
SateeshHello All,
Again,
Could you please suggest me above my problem.I am looking forward from you.
Thank you.
Kindest Regards,
Sateesh
Edited by: sateesh kumar .N on Oct 11, 2011 10:39 AM -
Hi everyone,
I am using NetWeaver 7.0 SP13, and I am trying to start a process that was created previously, however I get the following exception:
com.sap.caf.eu.gp.exception.api.GPEngineException: Error filling role role.administrator of role type 3 during instantiation at
com.sap.caf.eu.gp.process.rt.impl.GPRuntimeManager.checkRoleList(GPRuntimeManager.java:307) at
com.sap.caf.eu.gp.process.rt.impl.GPRuntimeManager.startProcess(GPRuntimeManager.java:125) at
com.sap.test.process.StartProcess.startProcess(StartProcess.java:311) at
com.sap.test.process.wdp.InternalStartProcess.startProcess(InternalStartProcess.java:153) at
com.sap.test.process.view.StartProcessView.onActionstartProcess(StartProcessView.java:145) at
com.sap.test.process.view.wdp.InternalStartProcessView.wdInvokeEventHandler(InternalStartProcessView.java:140)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87) at om.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:67) at
com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doHandleActionEvent(WindowPhaseModel.java:420) at
com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:132) at
Here is the code I´m using, the line that rises the exception is this:
rtm.startProcess(process,
"API test by me", "This process has been started by me... :p",
user, roles, params, user);
The error reported above is " role role.administrator of role type 3" which I do not understand or found information
about it on help.sap.com.
IWDClientUser wdUser = WDClientUser.getCurrentUser();
user = wdUser.getSAPUser();
IGPUserContext userContext2 = GPContextFactory.getContextManager().createUserContext(user);
IGPProcess process =GPProcessFactory.getDesigntimeManager().getActiveTemplate( processId, userContext2 );
IGPRuntimeManager rtm = GPProcessFactory.getRuntimeManager();
IGPProcessRoleInstanceList roles = rtm.createProcessRoleInstanceList();
int rolenum = process.getRoleInfoCount();
for (int i = 0; i < rolenum; i++) {
IGPProcessRoleInstance roleInstance = roles. createProcessRoleInstance(process.getRoleInfo(i).getRoleName());
roleInstance.addUser(user);
roles.addProcessRoleInstance(roleInstance);
params = GPStructureFactory.getStructure(process.getInputParameters());
wdComponentAPI.getMessageManager().reportSuccess( params.toString() );
String name = process.getAdminRole().getRoleName();
IGPProcessRoleInstance roleInstance = roles.createProcessRoleInstance(name);
roleInstance.addRuntimeDefinedUser(user);
roles.addProcessRoleInstance(roleInstance);
Date date2 = new Date();
params.setAttributeValue("data", date2);
rtm.startProcess(process,
"API test by me", "This process has been started by me... :p",
user, roles, params, user);
Thanks in advance!
Cheers,
Francisco-> press '''CTRL''' + '''SHIFT''' + '''ESC''' to Open Task Manager -> Processes tab -> right-click '''firefox.exe''' and click '''End Process Tree''' -> close Task Manager
Troubleshooting extensions and themes
* https://support.mozilla.com/en-US/kb/Troubleshooting%20extensions%20and%20themes
Troubleshooting plugins
* https://support.mozilla.com/en-US/kb/Troubleshooting%20plugins
Check and tell if its working. -
Error in starting MRP process in Standby database.
Hi All,
OS:Windows server 03
DB:11g
I am creating a Standby database, everything is fine until i fire the below command to start the MRP process to start the recovery of the database.
alter database recover managed standby database disconnect from session;MRP0 started with pid=27, OS id=6640
2013-02-07 17:59:48.515000 +05:30
started logmerger process
Managed Standby Recovery not using Real Time Apply
Errors in file d:\app\oracle\diag\rdbms\testdr\testdr\trace\testdr_dbw0_6000.trc:
ORA-01157: cannot identify/lock data file 1 - see DBWR trace file
ORA-01110: data file 1: 'D:\APP\ORACLE\ORADATA\TEST\TEST\SYSTEM01.DBF'
ORA-27086: unable to lock file - already in use
OSD-00002: additional error information
O/S-Error: (OS 32) The process cannot access the file because it is being used by another process.
Errors in file d:\app\oracle\diag\rdbms\testdr\testdr\trace\testdr_dbw0_6000.trc:
ORA-01157: cannot identify/lock data file 2 - see DBWR trace file
ORA-01110: data file 2: 'D:\APP\ORACLE\ORADATA\TEST\TEST\SYSAUX01.DBF'
ORA-27086: unable to lock file - already in use
OSD-00002: additional error information
O/S-Error: (OS 32) The process cannot access the file because it is being used by another process.
Errors in file d:\app\oracle\diag\rdbms\testdr\testdr\trace\testdr_dbw0_6000.trc:
ORA-01157: cannot identify/lock data file 3 - see DBWR trace file
ORA-01110: data file 3: 'D:\APP\ORACLE\ORADATA\TEST\TEST\UNDOTBS01.DBF'
ORA-27086: unable to lock file - already in use
OSD-00002: additional error information
O/S-Error: (OS 32) The process cannot access the file because it is being used by another process.
Errors in file d:\app\oracle\diag\rdbms\testdr\testdr\trace\testdr_dbw0_6000.trc:
ORA-01157: cannot identify/lock data file 4 - see DBWR trace file
ORA-01110: data file 4: 'D:\APP\ORACLE\ORADATA\TEST\TEST\USERS01.DBF'
ORA-27086: unable to lock file - already in use
OSD-00002: additional error information
O/S-Error: (OS 32) The process cannot access the file because it is being used by another process.
MRP0: Background Media Recovery terminated with error 1110
Errors in file d:\app\oracle\diag\rdbms\testdr\testdr\trace\testdr_pr00_7984.trc:
ORA-01110: data file 1: 'D:\APP\ORACLE\ORADATA\TEST\TEST\SYSTEM01.DBF'
ORA-01157: cannot identify/lock data file 1 - see DBWR trace file
ORA-01110: data file 1: 'D:\APP\ORACLE\ORADATA\TEST\TEST\SYSTEM01.DBF'
Recovery Slave PR00 previously exited with exception 1110
Errors in file d:\app\oracle\diag\rdbms\testdr\testdr\trace\testdr_mrp0_6640.trc:
ORA-01110: data file 1: 'D:\APP\ORACLE\ORADATA\TEST\TEST\SYSTEM01.DBF'
ORA-01157: cannot identify/lock data file 1 - see DBWR trace file
ORA-01110: data file 1: 'D:\APP\ORACLE\ORADATA\TEST\TEST\SYSTEM01.DBF'
Completed: alter database recover managed standby database disconnect from session
Can anyone tell me why is this comming?
Regards,
SphinxHi ,
Yes, it is on the same server.
I have used the below mentioned parameters to rename the files
At Primary Pfile:
*.db_file_name_convert=('D:\app\oracle\oradata\test\test\','D:\app\oracle\testdr\oradata\datafiles\')
*.log_file_name_convert=('D:\app\oracle\oradata\test\test\','D:\app\oracle\testdr\oradata\redologs\')
At Standby:
*.db_file_name_convert=('D:\app\oracle\testdr\oradata\datafiles\','D:\app\oracle\oradata\test\test\')
*.log_file_name_convert=('D:\app\oracle\testdr\oradata\redologs\','D:\app\oracle\oradata\test\test\')
But the output of v$datafile at standby is showing the path of Primary datafiles
I manually tried recovering them but it is prompting me the same error.
Regards
Edited by: $phinx19 on Feb 7, 2013 6:23 AM -
Random SP2 error when starting oracle process through SHELL script
Hi All,
I am trying to process data in n-Number of tables through a package. The package is called through a shell script to create start data processing. All calls to the package are in a sql script which is basically exec calls-
exec package.process ('T1','some param');
exec package.process ('T1','some param');
exec package.process ('T..n','some param');
I have a shell script which I use to execute commands from the sql script. There is a reason behind using shell script. For some strange reason, I keep on getting -
ERROR: logon denied - check for valid user with valid privileges
SP2-0640: Not connected
SP2-0641: "EXECUTE" requires connection to server
SP2-0640: Not connected
for some EXEC calls. Problem is, errors are generated at random. So in one run, I get error for T10,T11 and then in next run I might get for some other tables.
However, when I am running the sql script from the sql prompt, all calls to the package are executed without any problem.
This makes me think, it is something to do with the way database connection being initiated through UNIX.
Has anyone faced similar issue? Your help/gudence is much appreciated.
DB: Oracle 10.2.0.5
OS: SUN Solaris 10
Thanks in advance.Login credentials are provided inside the shell script.
I did put a sleep(10) after EOF but no help. As mentioned if I run script file from sql promt, it runs without any hiccup. So it is the connection through the UNIX that is causing issue.
As pointed out by Sybrand, I agree that it does not make a sense to connect and commit after every sql statement. So decided to change the shell script and so far, the result from my initial tests on a sample data is quite encouraging. Hopefully I will have a solution.
But it will be nice to know why SHELL is doing what it is doing!!
Legacy prog are sometime big time eye-openers..;) -
Error to start Extract Process....
hi,
when i am trying to start DataPump process then it send me the error.
GGS ERROR ZZ-0KL The trail './dirdat/ta' is not assigned to extract 'EPMP2'. Assign the trail to the extract with the command "ADD EXTTRAIL/RMTTRAIL ./dirdat/ta, EXTRACT EPMP2.
cant' start all the procees..
help????Hi,
This problem related to assigning the trail file to pump process, Make sure the below steps which you have configured correctly,
Primary Extract:
GGSCI > ADD EXTRACT <ext name>, TRANLOG, BEGIN NOW
GGSCI > ADD EXTTRAIL <path of local trail file in source server > , EXTRACT <above same ext name >
For data pump process(secondary extract):
GGSCI > ADD EXTRACT <pump name > , EXTTRAILSOURCE < above same local trail file path >
For remote trail :
ADD RMTTRAIL < path of remote trail file, which is the path in remote server > , EXTRACT < above pump name>
Hopefully this will help you
Annamalai. -
Hello,
I get this error sometimes while starting a new GP Process on portal and sometimes it runs through fine :
com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: View container UI element frameworkComponent4 in view VerticalContainerView of component VerticalContainer represents view container 172620045_0 which does not contain a view
Any help would be highly appreciated.
AnilHi Anil,
it seem that you have deleted some of the GP Portal Content.
1. Go to Content Administration tab, browse Portal Content > Content
provided by SAP > Platform Add-Ons, then delete the whole Guided
Procedures Folder.
2a. If you run NW 7.0, redeploy the latest SAP_EU.sca for your SP through SDM, using the update all
deploy option.
2b. If you run NW CE 7.10, redeploy GP-PP through NWDI, using the update all
deploy option.
3. Go back, re-assign GP roles to your user and test again.
Best regards,
George. -
Error when starting new video recording
When I try to start a new video recording I receive the following error:
The operation couldn’t be completed. (OSStatus error -536870206.)
I am using Quicktime Pro on an iMac running Mac OS X 10.6.5. Quicktime will work with iSight but not with my PS3 eye (usb webcam). I am able to choose the PS3 eye from Quicktime preferences and the video screen will show up with video from the PS3 eye (so I know that Quicktime recognizes the cam). But the error dialogue box appears immediately.
Other information - I am using macam.component for Quicktime and the PS3 eye works perfectly with Macam.
Has anyone received this error before?a2043 wrote:
When I try to start a new video recording I receive the following error:
The operation couldn’t be completed. (OSStatus error -536870206.)
I am using Quicktime Pro on an iMac running Mac OS X 10.6.5. Quicktime will work with iSight but not with my PS3 eye (usb webcam). I am able to choose the PS3 eye from Quicktime preferences and the video screen will show up with video from the PS3 eye (so I know that Quicktime recognizes the cam). But the error dialogue box appears immediately.
Other information - I am using macam.component for Quicktime and the PS3 eye works perfectly with Macam.
Welcome to Discussions, a2043
Has anyone received this error before?
I have not, but I do not use PS3 eye. If it is a "UVC" (usb video class) device, it should work with any Mac running Mac OS X 10.4.9 or later _without additional software drivers_. Some unnecessary drivers can conflict with your Mac's software.
If desired, you can remove the file macam.component from /Library/QuickTime and restart Mac to see if the PS3 eye can work with QuickTime without the additional driver.
Mac Pro Quad Core (Early 2009) 2.93Ghz Mac OS X (10.6.5); MacBook Pro (13 inch, Mid 2009) 2.26GHz (10.6.5)
LED Cinema Display; G4 PowerBook 1.67GHz (10.4.11); iBookSE 366MHz (10.3.9); External iSight; iPod4touch4.2.1 -
Starting New process (continous) from another java process
Hi,
I am running into a trouble in starting a new java process (continous process it is like daemon process ) from another java process.
Eg;
Caller.java runs on one JVM instance, from this Caller.java i need to start a daemon java process ConnectionManager.java (My caller.java should have to know whether ConnectionManager was successfully started as a seperate java process or not)
Also Caller.java has to stop ConnectionManager.java(which is running as seperate process)
Any help would be appeciated.
Thank you very much.First of all the design is unusual. Your issue is basically intercommunication between two processes written in java. There are various ways to do that:
1. Use Persistent system(File/Database) : Easiest but have external dependency.
2. Use RPC calls both JVM,s little bit complex.
3. Run new JVM in debug mode and connect on bootstrap port.
4. Communicate using Sockets.
Whatever suits you... -
Exec() starts new process after my program finishes
Hi all,
I have a problem. I must create a subprocess and connect to it with socket.
My process:
0. String command_to_exec_subprocess="java -cp"+cp+" mypackage.MyMainClass "+args;
1. Runtime.getRuntime().exec(command_to_exec_subprocess);
2. socket.connect(new InetSocketAddress("localhost",25000), 3000);
My subprocess:
1. ServerSocket server=new ServerSocket(25000);
JFrame jf=new JFrame();
jf.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
jf.setVisible(true);
2. Socket client=server.accept();
I use: Windows 7
JVM: 1.6
Problem is that frame popsup after my process finished, socket can never connect to server socket. As far as I know this means that Runtime waits with starting subprocess till my main process ends... Does any one know how to make the process execute just after I use exec command?? I tryed to use ProcessBuilder but when I use it it doesnt even start the subprocess... When i run the command from cmd on windows7 it runs with no problem.
Thx.Read, understand and apply the suggestions in this article: [When Runtime.exec() wont|http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html].
When you fully implemented the suggestions in there (careful, it's a multi-page article!), then check if your problem still occurs. -
Error while starting the process
Hello,
I created a process and when running it in Runtime get the following error for every Action :
Cannot display the iView. The iView may have been removed, the path may be incorrect, or you may not have permission to access
I think so I have all the required Guided Procedures Roles on the Portal...
Please let me know how to fix this error...
Thanks in advanceHi Anil,
it seem that you have deleted some of the GP Portal Content.
1. Go to Content Administration tab, browse Portal Content > Content
provided by SAP > Platform Add-Ons, then delete the whole Guided
Procedures Folder.
2a. If you run NW 7.0, redeploy the latest SAP_EU.sca for your SP through SDM, using the update all
deploy option.
2b. If you run NW CE 7.10, redeploy GP-PP through NWDI, using the update all
deploy option.
3. Go back, re-assign GP roles to your user and test again.
Best regards,
George. -
Hi all
I am trying to print one adobe form, but it is giving error
I tryed with standard program
FP_TEST_00 it is throwing message FPRUNX001 error while clicking on print preview.
when i tried with FP_TEST_PDF_00, it is sucess, and giving me PDF document version.
when i am trying with FP_GET_LAST_ADS_ERRSTR, it is saying that it is giving error "Program FP_GET_LAST_ADS_ERRSTR does not exist"
Please help me solving this one.......
Regards
Pradeep P NHello,
this is a problem of the destination service. Please use the search function. This has been discussed here many times.
Best regards,
Dezso -
Getting Error Msg "usdsop cannot create a new process" in Log File
Hi All,
I have installed r12 in my personal LapTop.
Every thing looks fine..
For testing purpose, I have created a Shell Script and registered concurrent program.
While i am running this program, program is getting error out with below message.
D:\oracle\VIS\apps\apps_st\appl\po\12.0.0\bin\TEST_CONVERT.exe
usdsop cannot create a new process
Cause: usdsop encountered an error creating a new process. [Reason].
Action: Check that your system had enough resources to start a new process. Contact your system administrator to obtain more resou (RE
Executing request completion options...
Please help me in resolving this issue.
Thanks
SandeepWhat is your OS?
Did you complete the steps in these docs?
How to Register a Host Concurrent Program in Applications [ID 156636.1]
How To Create A Custom Concurrent Program With Host Method and Pass Parameters To The Shell Script [ID 266268.1]
How Do You Run A Unix Host Script From Concurrent Managers On MS Windows Platform? [ID 412392.1]
How To Setup A Custom Concurrent Host Program [ID 147455.1]
Thanks,
Hussein -
Auto patch error usdsop cannot create a new process
Hi i am applying hrms family pack k in one vision db in testnode but i am getting following error.Any idea
appsversion 11.5.10 and windows 2003 advanced server
Generating product JAR files in JAVA_TOP -
j:\oracle\viscomn\java with command:
adjava -mx512m -nojit oracle.apps.ad.jri.adjmx @j:\oracle\visappl\admin\VIS\out\genjars.cmd
Error:
usdsop cannot create a new process
Cause: usdsop encountered an error creating a new process. [Reason].
Action: Check that your system had enough resources to start a new process. Contact your system administrator to obtain more resou (RE
Failed to generate product JAR files in JAVA_TOP -
j:\oracle\viscomn\java.
adogjf() Unable to generate jar files under JAVA_TOP
AutoPatch error:
Failed to generate the product JAR files
rgds
rajeshThis is the primary reason I dislike doing Oracle Apps on Windows.
If something bad happens while patching, and you find yourself without critical ad executables because relink failed, you need to run relinkenv.cmd to (re)create the APPS.SH unix-style environment (forward slashes) for relink.sh.
Source or double click on envshell.cmd
sh adrelink.sh force=y "ad adjava.exe"
Backup Mode is "file"
Removing Application products' bin directories from PATH ...
Done removing Application products' bin directories from PATH
Removing $FND_TOP/$APPLBIN from PATH ...
sed: number in \[0-9] invalid
Done removing $FND_TOP/$APPLBIN from PATH
awk: adrelink.sh 4107: not found
grep: adrelink.sh 4107: not found
grep: adrelink.sh 4107: not found
echo: adrelink.sh 4107: writing: The pipe is being closed.
awk: adrelink.sh 4107: not found
ORACLE RDBMS Version 8.0.6.0.0
Oracle Reports Version 6.0
Oracle Applications Release
Unable to determine the release number.
To resolve:
type relinkenv.cmd
This creates APPS.SH.
Source or double click on envshell.cmd to create a new session.
Now type sh
At the command prompt, type . ./APPS.Sh
now adrelink.sh force=y "ad adjava.exe"
You are running adrelink, version 115.85
Start of adrelink session
Date/time is Fri Jul 20 20:22:35 PDT 2007
Log file is d:/oracle/visappl/admin/log/adrelink.log
Command line arguments are
"force=y" "ad adjava.exe"
Done with link of ad executable 'adjava.exe' on Fri Jul 20 20:27:07 PDT 2007
Done relinking module adjava.exe in product ad
Done with link of product 'ad' on Fri Jul 20 20:27:07 PDT 2007
adrelink is exiting with status 0
End of adrelink session
Maybe you are looking for
-
Can you burn a master through iDVD that can't be copied?
Periodically it would be helpful for me to be able to create a master that can't be copied on a duplicator. I've looked for, but not found a setting in iDVD that adds some kind of an anti-copy security to the burn. Is it there and I'm just missing it
-
How do I deactivate and reactivate student Photoshop on the same computer?
Hello, I recently had to get my computer upgraded due to a broken heat sinker and the computer experts told me to reformat my computer and reinstall Windows 7 as 64 bit instead of my previous 32 bit. Considering my Photoshop is student versi
-
Query on cancel operation on adf:table
Hi, We are developing an ADF-BC project using JDeveloper 11g. I have an query on the industry standard for implementing the 'Cancel' operation. In my application,all the pages have an adf:table with CRUDimplemenations on it. In a scenario where I do
-
Third party application for Intel-based iMac
Greetings y'all...anybody out there know of a list of third party apps for Intel-based Macs???
-
Install Adobe to Work on Windows Explorer
I have several non-pdf documents that I want to convert to PDF via Windows Explorer. I have the ability to do this at work but somehow this feature is not available on my home computer. I have Acrobat X Professional. How can I make Acrobat availab