Exec command in App Engine Peoplecode stopped working in PT8.49.10 ??

We run an a few app engine jobs that use the Exec command in peoplecode
to call a bat file which moves a file from one directory to another (a backup directory).
It had been working fine but since we upgraded to PT8.49.10, from PT8.47 the job abends
at the Exec command with the following message:
'Exec function error: (2,181) WC_FUNCLIB_HR.WC_FILENAME_IN.FieldFormula Name:wcBackupFile
PCPC:799 Statement:9
Called from:WCAPP001.MAIN.GBL.default.1900-01-01.Step03.OnExecute Statement:4 .'
The actual statement it is abending on within the wcBackupFile function is this:
&processid = Exec(&cmdstr, &synch);
When re-creating the problem in our test environment I can see that:
&cmdstr = "C:\temp\wcapp001.bat"
&synch = False
C:\temp\wcapp001.bat =
cmd /c move /y \\dom_wfld\dfsroot\hr\files\req.csv \\dom_wfld\dfsroot\hr\bkup\req_20090318_112338.csv
The command will work if I paste the contents of the bat file into a command line
but it abends when called from the app engine program with the 8.49.10 tools.
We are a DB2 shop.
If anyone has some ideas regarding this I'd certainly welcome them.
Thanks,

Well, I figured out what the issue was and I appreciate everyone's suggestions made in this thread. The problem was that we actually changed our folder configuration when we went to PT8.49.10 (I know, a pretty big clue I didn't divulge in earlier posts) so now PS_HOME was a little different than before. The Exec command, if using boolean parameters (which we were) instead of Exec_constant + Path_Constant parameters, appends the PS_HOME value to the beginning of the path to the bat file. With the change in our folder structure the Exec command was not able to actually find the bat file to execute it. I made the change to using the Exec command, as follows, and it seems to be working fine. Here's what I changed it to: &processid = Exec(&cmdstr, %Exec_Synchronous + %FilePath_Absolute);
Again, thanks for your suggestions.

Similar Messages

  • My apps are suddenly stop working periovously it was working very well but one day it stop i have run sfc/scannow to even try to to systen restore but there is no restore point & even i try to restore to factory setting but it showing some file are miss

    my apps are suddenly stop working periovously it was working very well but one day it stop i have run sfc/scannow to even try to to systen restore but there is no restore point & even i try to restore to factory setting but it showing some file are
    missing even I update it to windows 8.1 update 1 but still same thing not even single app is working
    in sfc/s014-04-13 13:14:03, Info                  CSI    000004cf [SR] Beginning Verify and Repair transaction
    2014-04-13 13:14:12, Info                  CSI    000004d1 [SR] Cannot repair member file [l:36{18}]"Amd64\CNBJ2530.DPB" of prncacla.inf, Version =
    6.3.9600.16384, pA = PROCESSOR_ARCHITECTURE_AMD64 (9), Culture neutral, VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type = [l:24{12}]"driverUpdate", TypeName neutral, PublicKey neutral in the store, hash mismatch
    2014-04-13 13:14:19, Info                  CSI    000004d3 [SR] Cannot repair member file [l:36{18}]"Amd64\CNBJ2530.DPB" of prncacla.inf, Version =
    6.3.9600.16384, pA = PROCESSOR_ARCHITECTURE_AMD64 (9), Culture neutral, VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type = [l:24{12}]"driverUpdate", TypeName neutral, PublicKey neutral in the store, hash mismatch
    2014-04-13 13:14:19, Info                  CSI    000004d4 [SR] This component was referenced by [l:186{93}]"Microsoft-Windows-Printer-Drivers-Package~31bf3856ad364e35~amd64~~6.3.9600.16384.INF_prncacla"
    2014-04-13 13:14:27, Info                  CSI    000004d5 [SR] Verify completcannow detail I get this result

    and this the dism report 
    DISM report and It is  showing that cammand cannot perform because of  i/o devices error
    2014-04-14 00:54:14, Info                  DISM   PID=1208 TID=2820 Temporarily setting the scratch directory. This may be overridden by user later. - CDISMManager::FinalConstruct
    2014-04-14 00:54:14, Info                  DISM   PID=1208 TID=2820 Scratch directory set to 'C:\Users\R0027~1.JSA\AppData\Local\Temp\'. - CDISMManager::put_ScratchDir
    2014-04-14 00:54:14, Info                  DISM   PID=1208 TID=2820 DismCore.dll version: 6.3.9600.16384 - CDISMManager::FinalConstruct
    2014-04-14 00:54:14, Info                  DISM   PID=1208 TID=2820 Scratch directory set to 'C:\$SysReset\Temp'. - CDISMManager::put_ScratchDir
    2014-04-14 00:56:26, Info                  DISM   PID=6888 TID=6828 Temporarily setting the scratch directory. This may be overridden by user later. - CDISMManager::FinalConstruct
    2014-04-14 00:56:26, Info                  DISM   PID=6888 TID=6828 Scratch directory set to 'C:\Users\R0027~1.JSA\AppData\Local\Temp\'. - CDISMManager::put_ScratchDir
    2014-04-14 00:56:26, Info                  DISM   PID=6888 TID=6828 DismCore.dll version: 6.3.9600.16384 - CDISMManager::FinalConstruct
    2014-04-14 00:56:26, Info                  DISM   PID=6888 TID=6828 Scratch directory set to 'C:\$SysReset\Temp'. - CDISMManager::put_ScratchDir
    2014-04-14 02:41:53, Info                  DISM   PID=1068 TID=4108 Temporarily setting the scratch directory. This may be overridden by user later. - CDISMManager::FinalConstruct
    2014-04-14 02:41:53, Info                  DISM   PID=1068 TID=4108 Scratch directory set to 'C:\Users\R0027~1.JSA\AppData\Local\Temp\'. - CDISMManager::put_ScratchDir
    2014-04-14 02:41:53, Info                  DISM   PID=1068 TID=4108 DismCore.dll version: 6.3.9600.17031 - CDISMManager::FinalConstruct
    2014-04-14 02:41:53, Info                  DISM   PID=1068 TID=4108 Scratch directory set to 'C:\$SysReset\Temp'. - CDISMManager::put_ScratchDir

  • My app store has stopped working is it a bug????

    my app store has stopped working help plese

    Try resetting the device.
    iPhone, iPad, iPod touch: Turning off and on (restarting) and resetting
    Then try the App Store.

  • HOST APP SERVICE has stopped working

    I keep getting the message "HOST APP SERVER has stopped working" whenever I try to select the home button on my screen. It simply says that Windows will close the application and notify me when a solution has been found, but this has been going
    on for a week and it has yet to message me a solution. The error message isn't very specific as to what is going on and I have no idea what to do!

    Hi kgabriella,
    Please open Event Viewer and check the related logs, if possible, post the information here.
    Further, follow the advice posted by Arnav Sharma, follow the guide to boot into clean boot and check the issue again.
    Besides, see if the thread below would help:
    Catalyst control centre host has stopped working.
    Best regards
    Michael Shao
    TechNet Community Support

  • The app Grab has stopped working

    The Apple app, Grab, is one of my favorites. But suddenly, it has stopped working. When I capture a screen shot, the shot appears blank.

    Screen shots

  • Command ~ (tilde) to switch windows stops working

    Well, actually I guess it is command-` since you don't press shift.
    My problem is this command key short cut stopped working. Mac OS 10.4.11 onAlu iMac with 4gb ram. It had been working, but now I noticed it stopped working.
    It never worked on my G4 tower but did work on my wifes iBook. It didn't work in my buddies tower but does work on my dads iMac G5.
    What the heck? How does a command key shortcut stop working. I get a audible bonk alert when I try to do command-` to switch windows. It used to work.
    Any ideas?
    Message was edited by: David Cretney

    Have you checked your keybindings? +(System Preferences > Keyboard & Mouse > Keyboard Shortcuts)+ Is there a checkmark next to "Move focus to next window in active application"? Maybe your modifier keys have been altered? +(System Preferences > Keyboard & Mouse > Keyboard > Modifier Keys...)+

  • My iPhone 4s as stop working when l up day it to iOS 8.0.2 my app,s have stop working

    l have a iphone 4s and when l up day the phone to ios 8.0.2 thing have not been the same as my pass work and over have stop working like my app witness as stop working

    Problem solved!!
    Needs to go to Settings > Mail, Contacts and Calendar > Show on App Selector > Phones Favorites and Recents and disable both of then
    After go to phone app and clean recents calls, all of them.
    Problem Solved.
    Very very easy.
    Then u can turn on the bottoms phone favorites and recents without problem.
    regards,
    Raul

  • IPhone Apps and Music Stop Working

    I've had this happen several times a week over the past year--getting tired of it. I will go to use my iPhone, either to play music, use an App, or make a phone call, and it just stops working. All of these things go wrong at the same time.
    1. The iPod app opens and I see the screen art. But when I hit the "play button", the music won't play--the "pause" button quickly appears and then becomes the "play" button again.
    2. When I select an app to open, it opens briefly and then immediately returns to the main iPhone screen. The only "apps" that will open are the apps that came with the iPhone (clock, calendar, etc.).
    3. Even though I have network coverage, my phone will not connect (can't make or receive calls, connect to the internet, or receive/send e-mail).
    Since these things all happen at the same time, I think they're related. I usually have to turn off/on the phone several times to clear it out--is very frustrating when I need to make a phone call and can't. Any "permanent" fixes??
    Thanks!!

    Have you tried resetting the iPhone? Push and hold the home and sleep/wake buttons until the Apple logo appears. If that doesn't help try restoring it from backup. If that still doesn't work you might have to restore as new.

  • Synchronizing apps. and they stop working

    I have an iPod Thouch 32 GB with the latest software, and iTunes 9 (latest)
    After downloading apps directly to the iPod, everything is working perfectly. But after synchronizing with the computer they stopped working. Apps downloaded to the computer will not synchronize into the iPod.
    I have tried deleting the SC folder, that did not help.
    I have tried turning off and on security settings in windows, that did not help.
    Podcasts are synchronizing propperly and without any problems.
    The apps is not.
    I get authorization issues. I have two computers authorized. I have also tried removing authorization and re-authorizing the computer.
    I am getting out of options on how to solve this issue. Hope someone can help me, because this is getting realy frustrating...

    Have you tried resetting the iPhone? Push and hold the home and sleep/wake buttons until the Apple logo appears. If that doesn't help try restoring it from backup. If that still doesn't work you might have to restore as new.

  • Command-Tab App Switcher doesn't work (related to corrupt .plist file error?)

    Hi folks,
    The other day, Drive Genius 4 reported on a file corruption:  ~/Library/Preferences/System Mac.plist file. I tried to find the file but it didn't appear to exist.
    Today, a strange phenomenon occurred which I think may be related. Strangest thing. I was using Safari, had several tabs open when, suddenly, I lost all input to any links in Safari and system wide as well, other than the cursor being able to move around the display. This dysfunction also included the Command-Tab App Switcher, though they keyboard text function still worked. I could enter text in fields.
    I tried Force Quit Apps but I had to shutdown and reboot using the Power button. The reboot seemed to remedy the situation and most controls and keyboard functions returned except for the Command-Tab App Switcher.
    In Safari, I used History/Restore Last Open Page, and when the searched for pages came up, they were blank - I was informed that there was no internet connection. Wi-Fi showed still on but grayed out, which could be logical. Also, this is when I noticed that the key repeat function wasn’t working. In System Prefs, I did manage to change the key repeat rate, which accelerates the backspace erase function but there is no key repeat, itself.
    All of this, of course, might be pointing to that system file error. Whether it is that hidden Mac.plist file corruption I don’t know.
    In any event, first thing I did was to run Permissions Repair. At one point, about 2/3rds of the way in, the progress bar hung for a few minutes and then finished the last third in a split second. In the Repair Permissions log there was no /Mac.plist file among those repaired.
    Additionally in Sys Prefs, I tested for Tab key response by refocusing the radio buttons in the Full Keyboard Access option under Keyboard/Shortcuts panel from "Text boxes and lists only" to "All controls.” The refocus worked because now pressing Tab does move the cursor through every control. But still no Command-Tab App Switcher. In Spotlight, I did find the App Switcher.app but it would not open, because it is “Damaged or Missing.” App Switcher preferences are  also not accessible.
    In Terminal I changed directories and do see the /Mac.plist file under discussion. I suppose I could -rm the file but I’m reluctant without knowing more about what other anomalies might result. The App Switcher is one of the Mac’s best utilities (thanks to er, Microsoft.) If the /Mac.plist file will refresh from the current status, no problem, I would think.
    Has anyone experienced anything like this? Any suggestions? Thanks a whole lot in advance for your time and consideration in this!
    All best,
    David

    First, get rid of the worthless, time-wasting "Drive Genius" according to its developer's instructions. Never install any so-called "utility" again.
    Don't waste time repairing permissions again, either, unless you have an indication of a permission error involving system files, which you don't and probably never will.
    Never delete any file in the shell (Terminal) for any reason.
    There is no built-in application called "App Switcher." There is no built-in file named "System Mac.plist" either.
    If command-tab application switching still doesn't work after you get rid of "Drive Genius," see below.
    Please read this whole message before doing anything.
    This procedure is a test, not a solution. Don’t be disappointed when you find that nothing has changed after you complete it.
    Step 1
    The purpose of this step is to determine whether the problem is localized to your user account.
    Enable guest logins* and log in as Guest. Don't use the Safari-only “Guest User” login created by “Find My Mac.”
    While logged in as Guest, you won’t have access to any of your documents or settings. Applications will behave as if you were running them for the first time. Don’t be alarmed by this behavior; it’s normal. If you need any passwords or other personal data in order to complete the test, memorize, print, or write them down before you begin.
    Test while logged in as Guest. Same problem?
    After testing, log out of the guest account and, in your own account, disable it if you wish. Any files you created in the guest account will be deleted automatically when you log out of it.
    *Note: If you’ve activated “Find My Mac” or FileVault, then you can’t enable the Guest account. The “Guest User” login created by “Find My Mac” is not the same. Create a new account in which to test, and delete it, including its home folder, after testing.
    Step 2
    The purpose of this step is to determine whether the problem is caused by third-party system modifications that load automatically at startup or login, by a peripheral device, by a font conflict, or by corruption of the file system or of certain system caches.
    Please take this step regardless of the results of Step 1.
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards, if applicable. Start up in safe mode and log in to the account with the problem. You must hold down the shift key twice: once when you turn on the computer, and again when you log in.
    Note: If FileVault is enabled in OS X 10.9 or earlier, or if a firmware password is set, or if the startup volume is a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to start up and run than normal, with limited graphics performance, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal startup may also be somewhat slow.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem?
    After testing, restart as usual (not in safe mode) and verify that you still have the problem. Post the results of Steps 1 and 2.

  • Lots of Apps have suddenly stopped working...Help!

    I've got an iBook G4 running 10.5.8 and for some reason a couple of weeks ago Safari stopped working. It would crash on launch every time. Then other apps started to follow, crashing on launch. I decided to update to 10.5.8 and Safari worked, but other apps still no longer work, like Firefox and 1Password and a bunch more. I've tried uninstalling some of the apps and reinstalling them, but I still have the same issues. I've tried running Onyx and fixing permissions, but still no dice. Also, every once in a while the computer won't come out of sleep. The computer will turn on, but the screen stays black and every now and then I get the blue screen of death for several hours. It feels like the iBook is on the way out. Any thoughts on how to save it?

    I have a similar problem. And I really don't know how it happened. All was fine, I turned it off and when I switched it on next morning nothing worked.
    Basically all my applications (apart from a dictionary, a music program and my system preferences) just bounce once and don't open. also, my desktop is empty, which it wasn't before the problem started. Even the finder won't open. But everything still seems to be on the hard disk because the music is still there and I can change the desktop picture choosing from my picture folders.
    I tried to fix it with the instructions from the link you posted but didn't work. Thought it could be "Disk, permission, or cache corruption" or "Corrupted preferences other than those of the affected applications". Problem is that I can't run SMART diagnostics because I can't open the disc utility when putting in mac osx install disc. Also, I can't download anything to fix it because none of my browsers work.
    Any ideas?

  • TS3274 My apps sound has stopped working.  Music and Internet sound is fine but all games have no sound

    My sound has stopped working only on games
    Works fine for Internet and music
    How do I fix this?

    If you lose sounds for keyboard clicks, games or other apps, email notifications and other notifications, system sounds may have been muted.
    System sounds can be muted and controlled two different ways. The screen lock rotation can be controlled in the same manner as well.
    Settings>General>Use Side Switch to: Mute System sounds. If this option is selected, the switch on the side of the iPad above the volume rocker will mute system sounds.
    If you choose Lock Screen Rotation, then the switch locks the screen. If the screen is locked, you will see a lock icon in the upper right corner next to the battery indicator gauge.
    If you have the side switch set to lock screen rotation then the system sound control is in the task bar. Double tap the home button and in the task bar at the bottom, swipe all the way to the right. The speaker icon is all the way to the left. Tap on it and system sounds will return.
    If you have the side switch set to mute system sounds, then the screen lock rotation can be accessed via the task bar in the same manner as described above.
    This support article from Apple explains how the side switch works.
    http://support.apple.com/kb/HT4085

  • After editing a message in firefox (whether yahoo mail or any other app) the keyboard stops working and I just get an audio sound with any key stroke.

    This problem occurs with any page that requires keyboard input. If I make an errot in typing and have to go back or edit a sentence the keyboard stops working. THis only happens with Firefox and not with any other browser (Chrome, Safari etc)

    Hello,
    The Reset Firefox feature can fix many issues by restoring Firefox to its factory default state while saving your essential information.
    Note: ''This will cause you to lose any Extensions, Open websites, and some Preferences.''
    To Reset Firefox do the following:
    #Go to Firefox > Help > Troubleshooting Information.
    #Click the "Reset Firefox" button.
    #Firefox will close and reset. After Firefox is done, it will show a window with the information that is imported. Click Finish.
    #Firefox will open with all factory defaults applied.
    Further information can be found in the [[Reset Firefox – easily fix most problems]] article.
    Did this fix your problems? Please report back to us!
    Thank you.

  • Starting apps from launchpad stops working

    This issue is intermittent. All of a sudden, when I try to start an app from Launchpad nothing happens. But I am able to start apps via the Dock.
    This happens on my Macbook Air but not on my Mac mini, although both have Yosemite. I have tried doing a clean install but the issue continues. Restarting fixes the issue. I am not aware of what triggers this to start. It appears to be random. Everything is working fine and then all of a sudden I can no longer start apps from Launchpad.
    Through searching I can't seem to find any evidence of this occurring to anyone else.
    Cheers

    So I just now had an occurrence of the app-starting in Launchpad issue. I tried the terminal commands. I entered both commands. After the second one "killall Dock", screen went black except for the menu bar and the terminal window. I didn't see anything else happening so then I selected Restart from the apple menu.
    So effectively, I ended up doing a restart as I have done before which resets the problem anyway. Whether or not the issue has been resolved permanently by issuing these commands is another question and will take time to get any certainty about.
    But the person who found these commands was having a different type of problem with the Launchpad in Yosemite, so I'm not sure about this. I am tempted to try a clean reinstall of Yosemite, but this time doing absolutely no restoring of any user files with Time Machine/Migration Assistant in case that carries over some bad setups. I will only make manually copied backups of any user files that I want to carry over.
    Cheers

  • SAP J2EE Engine has stopped working suddenly

    Hi,
    I have only SAP J2EE stack in WebAs installed on a machine couple of months ago and all the while it was working fine.But suddenly one day (precisely monday)i see that  J2EE Server node is not starting up. But the central instance (which has processes MsgServer.exe,Enserver.exe) has started sucessfully but not the server node instance.
    I am getting the following error in the log file
    <-- Error log message starts here----
    >
    [Thr 3108] Tue Nov 15 11:53:06 2005
    [Thr 3108] *** ERROR => invalid return code of process [bootstrap] (exitcode=66) [jstartxx.c   1433]
    [Thr 3108] JControlExecuteBootstrap: error executing bootstrap node [bootstrap] (rc=66)
    [Thr 3108] JControlCloseProgram: started (exitcode = 66)
    [Thr 3108] JControlCloseProgram: good bye... (exitcode=66)
    <-- Error log message starts here----
    >
    <- Trace error message starts here-->
    #1.5#000E0C6021FB00000000001200000614000405862C538277#1131973734265#com.sap.sql.jdbc.NativeConnectionFactory##com.sap.sql.jdbc.NativeConnectionFactory#######Thread[Thread-1,5,main]##0#0#Error#1#/System/Database/sql/jdbc#Java#com.sap.sql_0002##SQL error occurred on connection jdbc:datadirect:sqlserver://blrkecsaptst1:1433;databasename=J2E: code=18,456, state="28000", message="[DataDirect][SQLServer JDBC Driver][SQLServer]Login failed for user 'SAPJ2EDB'.
    => (0,08001,[DataDirect][SQLServer JDBC Driver]An error occurred while attempting to log onto the database.)".#5#18456#28000#[DataDirect][SQLServer JDBC Driver][SQLServer]Login failed for user 'SAPJ2EDB'.
    => (0,08001,[DataDirect][SQLServer JDBC Driver]An error occurred while attempting to log onto the database.)#jdbc:datadirect:sqlserver://blrkecsaptst1:1433;databasename=J2E#<null>#
    #1.5#000E0C6021FB00000000001300000614000405862C5392D1#1131973734265#com.sap.sql.jdbc.NativeConnectionFactory##com.sap.sql.jdbc.NativeConnectionFactory#######Thread[Thread-1,5,main]##0#0#Error##Plain###java.sql.SQLException: [DataDirect][SQLServer JDBC Driver][SQLServer]Login failed for user 'SAPJ2EDB'.
         at com.ddtek.jdbc.base.BaseExceptions.createException(Unknown Source)
         at com.ddtek.jdbc.base.BaseExceptions.getException(Unknown Source)
         at com.ddtek.jdbc.sqlserver.tds.TDSRequest.processErrorToken(Unknown Source)
         at com.ddtek.jdbc.sqlserver.tds.TDSRequest.processReplyToken(Unknown Source)
         at com.ddtek.jdbc.sqlserver.tds.TDSLoginRequest.processReplyToken(Unknown Source)
         at com.ddtek.jdbc.sqlserver.tds.TDSRequest.processReply(Unknown Source)
         at com.ddtek.jdbc.sqlserver.SQLServerImplConnection.open(Unknown Source)
         at com.ddtek.jdbc.base.BaseConnection.connect(Unknown Source)
         at com.ddtek.jdbc.base.BaseConnection.setupImplConnection(Unknown Source)
         at com.ddtek.jdbc.base.BaseConnection.open(Unknown Source)
         at com.ddtek.jdbc.base.BaseDriver.connect(Unknown Source)
         at com.sap.sql.jdbc.NativeConnectionFactory.createNativeConnection(NativeConnectionFactory.java:219)
         at com.sap.sql.connect.OpenSQLDataSourceImpl.createPooledConnection(OpenSQLDataSourceImpl.java:570)
         at com.sap.sql.connect.OpenSQLDataSourceImpl.getPooledConnection(OpenSQLDataSourceImpl.java:263)
         at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnectionPool.createConnection(DBConnectionPool.java:294)
         at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnectionPool.<init>(DBConnectionPool.java:123)
         at com.sap.engine.core.configuration.impl.persistence.rdbms.PersistenceHandler.<init>(PersistenceHandler.java:38)
         at com.sap.engine.core.configuration.impl.cache.ConfigurationCache.<init>(ConfigurationCache.java:147)
         at com.sap.engine.core.configuration.impl.ConfigurationHandlerFactoryImpl.<init>(ConfigurationHandlerFactoryImpl.java:30)
         at com.sap.engine.core.configuration.impl0.ConfigurationManagerImpl.initInternal(ConfigurationManagerImpl.java:180)
         at com.sap.engine.core.configuration.AbstractConfigurationManagerImpl.init(AbstractConfigurationManagerImpl.java:170)
         at com.sap.engine.core.Framework.loadSingleManager(Framework.java:396)
         at com.sap.engine.core.Framework.loadManagers(Framework.java:163)
         at com.sap.engine.core.Framework.start(Framework.java:97)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.sap.engine.boot.FrameThread.run(FrameThread.java:58)
         at java.lang.Thread.run(Thread.java:534)
    #1.5#000E0C6021FB00000000001500000614000405862C53DC14#1131973734281#com.sap.engine.core.configuration##com.sap.engine.core.configuration#######Thread[Thread-1,5,main]##0#0#Error#1#/System/Server#Plain###Error while connecting to DB.
    =======================================================
    com.sap.engine.frame.core.configuration.ConfigurationException: Error while connecting to DB.
         at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnectionPool.createConnection(DBConnectionPool.java:344)
         at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnectionPool.<init>(DBConnectionPool.java:123)
         at com.sap.engine.core.configuration.impl.persistence.rdbms.PersistenceHandler.<init>(PersistenceHandler.java:38)
         at com.sap.engine.core.configuration.impl.cache.ConfigurationCache.<init>(ConfigurationCache.java:147)
         at com.sap.engine.core.configuration.impl.ConfigurationHandlerFactoryImpl.<init>(ConfigurationHandlerFactoryImpl.java:30)
         at com.sap.engine.core.configuration.impl0.ConfigurationManagerImpl.initInternal(ConfigurationManagerImpl.java:180)
         at com.sap.engine.core.configuration.AbstractConfigurationManagerImpl.init(AbstractConfigurationManagerImpl.java:170)
         at com.sap.engine.core.Framework.loadSingleManager(Framework.java:396)
         at com.sap.engine.core.Framework.loadManagers(Framework.java:163)
         at com.sap.engine.core.Framework.start(Framework.java:97)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.sap.engine.boot.FrameThread.run(FrameThread.java:58)
         at java.lang.Thread.run(Thread.java:534)
    Caused by: java.sql.SQLException: [DataDirect][SQLServer JDBC Driver][SQLServer]Login failed for user 'SAPJ2EDB'.
         at com.ddtek.jdbc.base.BaseExceptions.createException(Unknown Source)
         at com.ddtek.jdbc.base.BaseExceptions.getException(Unknown Source)
         at com.ddtek.jdbc.sqlserver.tds.TDSRequest.processErrorToken(Unknown Source)
         at com.ddtek.jdbc.sqlserver.tds.TDSRequest.processReplyToken(Unknown Source)
         at com.ddtek.jdbc.sqlserver.tds.TDSLoginRequest.processReplyToken(Unknown Source)
         at com.ddtek.jdbc.sqlserver.tds.TDSRequest.processReply(Unknown Source)
         at com.ddtek.jdbc.sqlserver.SQLServerImplConnection.open(Unknown Source)
         at com.ddtek.jdbc.base.BaseConnection.connect(Unknown Source)
         at com.ddtek.jdbc.base.BaseConnection.setupImplConnection(Unknown Source)
         at com.ddtek.jdbc.base.BaseConnection.open(Unknown Source)
         at com.ddtek.jdbc.base.BaseDriver.connect(Unknown Source)
         at com.sap.sql.jdbc.NativeConnectionFactory.createNativeConnection(NativeConnectionFactory.java:219)
         at com.sap.sql.connect.OpenSQLDataSourceImpl.createPooledConnection(OpenSQLDataSourceImpl.java:570)
         at com.sap.sql.connect.OpenSQLDataSourceImpl.getPooledConnection(OpenSQLDataSourceImpl.java:263)
         at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnectionPool.createConnection(DBConnectionPool.java:294)
         ... 15 more
    #1.5#000E0C6021FB00020000000000000614000405862C5494F7#1131973734328#com.sap.engine.core.cluster.impl6.JoinPortListener##com.sap.engine.core.cluster.impl6.JoinPortListener.run()#######SAPEngine_Application_Thread[impl:3]_32##0#0#Error##Plain###java.lang.NullPointerException#
    #1.5#000E0C6021FB00020000000100000614000405862C5497CD#1131973734328#com.sap.engine.core.cluster.impl6.JoinPortListener##com.sap.engine.core.cluster.impl6.JoinPortListener.run()#######SAPEngine_Application_Thread[impl:3]_32##0#0#Error##Plain###java.lang.NullPointerException
         at com.sap.engine.core.cluster.impl6.ClusterManagerImpl.getClusterMonitor(ClusterManagerImpl.java:2254)
         at com.sap.engine.core.cluster.impl6.JoinPortListener.waitForThisElementConstruction(JoinPortListener.java:120)
         at com.sap.engine.core.cluster.impl6.JoinPortListener.access$000(JoinPortListener.java:30)
         at com.sap.engine.core.cluster.impl6.JoinPortListener$SocketProcessor.run(JoinPortListener.java:137)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)
    <--Trace error message ends here--->
    I have't not changed any passwords of db users like SAPJ2EDB but i don't know why i am getting this error suddenly.
    Can anyone throw light on this issue.
    Thanks and Regards,
    Satish

    Hi Detlev,
    The DB (SQL 2000) is started and i have verified through
    Window service console and SQL Server Service Manager.
    Even the Config tool (i.e offline tool) is throwing the following error message when started.
    ""PATHHASH" = ?#
    #1.5#C000AC19E95B000100000008008420AE0004059711CA16E0#1132046303500#/System/Server##com.sap.engine.core.configuration#######Thread[AWT-EventQueue-0,6,main]##0#0#Error#1#com.sap.engine.core.configuration#Plain###[DataDirect][SQLServer JDBC Driver][SQLServer]Invalid object name 'J2EE_CONFIG'.
    =======================================================
    java.sql.SQLException: [DataDirect][SQLServer JDBC Driver][SQLServer]Invalid object name 'J2EE_CONFIG'.
         at com.ddtek.jdbc.base.BaseExceptions.createException(Unknown Source)
         at com.ddtek.jdbc.base.BaseExceptions.getException(Unknown Source)
         at com.ddtek.jdbc.sqlserver.tds.TDSRequest.processErrorToken(Unknown Source)
         at com.ddtek.jdbc.sqlserver.tds.TDSRequest.processReplyToken(Unknown Source)
         at com.ddtek.jdbc.sqlserver.tds.TDSRPCRequest.processReplyToken(Unknown Source)
         at com.ddtek.jdbc.sqlserver.tds.TDSRequest.processReply(Unknown Source)
         at com.ddtek.jdbc.sqlserver.tds.TDSRPCNonCursorExecuteRequest.submitPrepare(Unknown Source)
         at com.ddtek.jdbc.sqlserver.tds.TDSRPCExecuteRequest.doPrepExec(Unknown Source)
         at com.ddtek.jdbc.sqlserver.tds.TDSRPCExecuteRequest.execute(Unknown Source)
         at com.ddtek.jdbc.sqlserver.SQLServerImplStatement.execute(Unknown Source)
         at com.ddtek.jdbc.base.BaseStatement.commonExecute(Unknown Source)
         at com.ddtek.jdbc.base.BaseStatement.executeQueryInternal(Unknown Source)
         at com.ddtek.jdbc.base.BasePreparedStatement.executeQuery(Unknown Source)
         at com.sap.sql.jdbc.basic.BasicPreparedStatement.executeQuery(BasicPreparedStatement.java:97)
         at com.sap.sql.jdbc.direct.DirectPreparedStatement.executeQuery(DirectPreparedStatement.java:270)
         at com.sap.sql.jdbc.direct.DirectPreparedStatement.executeQuery(DirectPreparedStatement.java:241)
         at com.sap.engine.core.configuration.impl.persistence.rdbms.DBAccessDefault.getConfiguration(DBAccessDefault.java:578)
         at com.sap.engine.core.configuration.impl.persistence.rdbms.PersistenceHandler.readConfig(PersistenceHandler.java:102)
         at com.sap.engine.core.configuration.impl.cache.CachedConfiguration.<init>(CachedConfiguration.java:62)
         at com.sap.engine.core.configuration.impl.cache.ConfigurationCache.getCachedConfiguration(ConfigurationCache.java:879)
         at com.sap.engine.core.configuration.impl.cache.ConfigurationCache.getCachedConfiguration(ConfigurationCache.java:913)
         at com.sap.engine.core.configuration.impl.cache.ConfigurationCache.openConfiguration(ConfigurationCache.java:783)
         at com.sap.engine.core.configuration.impl.ConfigurationHandlerImpl.openConfiguration(ConfigurationHandlerImpl.java:694)
         at com.sap.engine.configtool.batch.Scanner.scan(Scanner.java:44)
         at com.sap.engine.configtool.visual.ConfigTool.loadClusterData(ConfigTool.java:100)
         at com.sap.engine.configtool.visual.ConfigTool.initScan(ConfigTool.java:86)
         at com.sap.engine.configtool.visual.ConfigTool.scanAction(ConfigTool.java:237)
         at com.sap.engine.configtool.visual.ConfigTool.actionPerformed(ConfigTool.java:209)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)
         at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
         at javax.swing.AbstractButton.doClick(AbstractButton.java:289)
         at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1113)
         at javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(BasicMenuItemUI.java:943)
         at java.awt.Component.processMouseEvent(Component.java:5100)
         at java.awt.Component.processEvent(Component.java:4897)
         at java.awt.Container.processEvent(Container.java:1569)
         at java.awt.Component.dispatchEventImpl(Component.java:3615)
         at java.awt.Container.dispatchEventImpl(Container.java:1627)
         at java.awt.Component.dispatchEvent(Component.java:3477)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
         at java.awt.Container.dispatchEventImpl(Container.java:1613)
         at java.awt.Window.dispatchEventImpl(Window.java:1606)
         at java.awt.Component.dispatchEvent(Component.java:3477)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
    #1.5#C000AC19E95B000100000009008420AE0004059711CA16E0#1132046303500#/System/Logging##com.sap.tc.logging.FileLog.[setFormatter()]#######Thread[AWT-EventQueue-0,6,main]##0#0#Warning##Java#SAP_LOGGING_FORMATTER_ERROR##Trying to change a formatter on active log ! The reset() method must be first called!#1#.
    system.log#
    #1.5#C000AC19E95B00010000000A008420AE0004059711CA5178#1132046303515#/System/Server##com.sap.engine.core.configuration#######Thread[AWT-EventQueue-0,6,main]##0#0#Info#1#com.sap.engine.core.configuration#Plain###Properties for connect through secure store not set. Please check your connect properties. Trying to connect via plain user/password.#
    #1.5#C000AC19E95B00010000000B008420AE0004059711CA5178#1132046303515#/System/Database/sql/jdbc##com.sap.sql.jdbc.NativeConnectionFactory#######Thread[AWT-EventQueue-0,6,main]##0#0#Error#1#com.sap.sql.jdbc.NativeConnectionFactory#Java#com.sap.sql_0015#com.sap.sql.log.OpenSQLResourceBundle#Value "" is not allowed for parameter .#2#url##
    1)is it due to mismatch of the passwords of the user SAPJ2EDB in database and J2EE Engine and Securestore of config tool
    2)is there some DB related problem ?
    3)i think the problem is similar to this one
    Netweaver's WebAS SDM process goes corrupt, exitcode=66
    But the solution there is not so clear
    4)After i changed the password both in the database as well as in configtool >Secure Tool>/jdbc/pool/J2E/password..but i am getting java.sql.SQLException: [DataDirect][SQLServer JDBC Driver][SQLServer]Invalid object name 'J2EE_CONFIG' this error.
    Any idea on what needs to be done to fix this problem
    Regards,
    Satish

Maybe you are looking for