WPF - Get files from directory with a shorter path
Hello,
I want to list the files in a combobox. My main question is how to get those files? I saw Directory.GetFiles(path), but I have to write the whole path (C:\Folder1\Folder2\Folder3\Folder4). How will this work on an other PC? Is somehow possible to write
the path beginning just form the app's folder? For example: the .exe is in "C:\Folder1\Folder2", and now the path what I have to write is just ":\Folder3\Folder4".
Thanks!
I may be misunderstanding; please correct me if I am. It sounds like you want to get a list of the files in the same directory as the program that's executing.
//A few ways to get files from the same location as the code that is executing:
//Enumerate through each file
foreach(var fileInfo in new System.IO.FileInfo(System.Reflection.Assembly.GetExecutingAssembly().Location).Directory.EnumerateFiles())
//Get a collection of file information objects
System.IO.FileInfo[] fileInfos = new System.IO.FileInfo(System.Reflection.Assembly.GetExecutingAssembly().Location).Directory.GetFiles();
//Get the name of the directory
string directoryName = new System.IO.FileInfo(System.Reflection.Assembly.GetExecutingAssembly().Location).DirectoryName;
WinSDK Support Team Blog: http://blogs.msdn.com/b/winsdk/
Similar Messages
-
Getting file from directory where class files are
hi i want to load a properties file from the directory where my java program is (the class/jar files)
somebody told me that i could use System.getProperty("user.dir"); but it would only work under windows; under linux it points elsewhere.
how can i determine the directory where my program lies? sounds easy but i failed :(why to hell put it in the classpath? Because that way you don't have to ask the user where the hell he put the file.
and if i would do so the next question: how can my
program modify the classpath?It can't. And it doesn't need to.
isn't there another way to determine the directory
where the app is started from???If you mean the current, or working, directory, then yes there are several ways to determine that. But that directory need not be where the classes are actually stored. In fact the current directory doesn't even have to be in the classpath.
Now, here's the best way to deal with properties files. (IMHO of course.) Put them in the classpath, in the same directory or jar file as your classes. Then to create a Properties object and load it from your properties file named e.g. "default.properties" you do this:Properties props = new Properties();
props.load(this.getClass().getResourceAsStream("/default.properties")); -
Searching file from directory located at http path.
Hi All,
I have made the program to search for a file in a directory and its subdirectories. This is working fine when my directory is located on local machine. But if the same directory is placed in HTTP path, the code fails to search a directory. Does anyone has idea how can i connect to site so as to access the directories. I used URL and URLConnection to read and write file to the site, and this is also working fine but when it comes to directories i find no solution. Please help.This works fine if i map http://flash/ on my C: and
try to list files in directory C:\Mojo. Can you please
tell how can i know whether the http server i am
trying to access allows directory listing or not.
Because if it does not i have administrator rights on
the server and i can make the changes required.You can see if your Web server allows directory listing by simply
typing in the URL you want to examine, inside your browser, and see if
it shows you a directory listing. For instance, if you type in:
http://flash/Mojo/
in your browser's address bar, and you see a list of files in that
directory, then your Web server supports directory listing.
Note, though, that you can't use the File list() method to get a list of files.
You'll have to make a connection, read the input stream, and then parse
the filenames out of the HTML that the Web server returns. (You can see
what the HTML looks like, by doing View Source inside your brower. That's
what you'll get back from your Java program.)
--Steve -
How did my stored files get converted from 'open with Adobe READER' to 'open with Adobe ACROBAT'? How can I get them re-set to open with 'Adobe Reader'?
Please reply to my e-mail: [email protected]It sounds as if you downloaded Adobe Acrobat Pro. If you did, uninstall it. Then repair Adobe Reader.
The free Acrobat account has no connection to any of this. -
i have 3 computers. i want to get files from one to another. it doesn't work, i think it is a problem with the apple id?
Roger:
Zugriffsrecht means Access Right according to the translators.
martinamm:
You can't do what you want with iCloud. You will need to setup remote access to your main computer with VPS or some similar remote access application. With VPS you have an application running on your main computer turning it into a server and an client app on your laptop so you can access it remotely. There are many such apps out there, some probably more feature filled than VPS. You might post in the system forum that you're running and ask there.
OT -
Read file from directory, update contents of the each file
hai,
I could not understand how to debug the error i have now.
target
1- read the files from directory // i able ot do this part
2- for each file
for each file read the content & compare with the existing List & update the list // i able to do this part
when i try to combine both parts , i got some following error
run:
E:\java\check\100130.ixf
Error: children[i] (The system cannot find the file specified)
BUILD SUCCESSFUL (total time: 2 seconds)
i can see from the code that children[i] only gives the error when i use that in the second part of the code.
can any one help me on this??
Thanks
Priyan
the original code
import java.io.BufferedReader;
import java.io.DataInputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.InputStreamReader;
import java.io.RandomAccessFile;
import java.util.ArrayList;
public class CompareList
public static void main(String[] args){
ArrayList a1 = new ArrayList();
ArrayList a2 = new ArrayList();
a1.add("1");
a1.add("2");
a1.add("3");
a1.add("4");
a1.add("5");
a1.add("6");
a1.add("7");
a1.add("8");
a1.add("9");
a1.add("10");
a1.add("11");
a1.add("12");
a1.add("13");
a1.add("14");
a1.add("15");
a1.add("16");
a1.add("17");
a1.add("18");
a1.add("19");
a1.add("20");
a1.add("21");
a1.add("22");
a1.add("23");
a1.add("24");
a1.add("25");
a1.add("26");
a1.add("27");
a1.add("28");
a1.add("29");
a1.add("30");
a1.add("31");
a1.add("32");
a1.add("33");
a1.add("34");
a1.add("35");
a1.add("36");
a1.add("37");
a1.add("38");
a1.add("39");
a1.add("40");
a1.add("41");
a1.add("42");
a1.add("43");
a1.add("44");
a1.add("45");
a1.add("46");
a1.add("47");
a1.add("48");
a1.add("49");
a1.add("50");
a1.add("51");
a1.add("52");
try{
File dir = new File("E:\\java\\check");
File[] children = dir.listFiles();
if (children == null) {
System.out.println("does not exist or is not a directory");
else {
for (int i = 0; i < children.length; i++) {
System.out.println( children);
FileInputStream fstream = new FileInputStream("children[i]");
DataInputStream in = new DataInputStream(fstream);
BufferedReader br = new BufferedReader(new InputStreamReader(in));
String strLine;
while ((strLine = br.readLine()) != null) {
String line =strLine.substring(0,2);
// Print the content on the console
//System.out.println(line);
a2.add(line);
} // end of add list2
if (a1.size() > a2.size())
int k = 0;
for (int l = 0; l < a2.size(); l++)
if (!((String)a1.get(l)).equals((String)a2.get(l)))
//System.out.println((String)a2.get(i));
// System.out.println("dd");
k = l;
k++;
for (int l = k; l < a1.size(); l++)
System.out.println((String)a1.get(l));
String str = "children[l]";
File file = new File(str);
RandomAccessFile rand = new RandomAccessFile(file,"rw");
rand.seek(file.length()); //Seek to end of file
rand.writeBytes((String)a1.get(i)); //Write end of file
rand.writeBytes("., 0.");
rand.writeBytes("\n");
}// end of comparing and updating the list2
in.close();
catch (Exception e){//Catch exception if any
System.err.println("Error: " + e.getMessage());thanks for the information.
i tried, the error
like this
run:
E:\java\check\100130.ixf
java.lang.StringIndexOutOfBoundsException: String index out of range: 2
at java.lang.String.substring(String.java:1935)
at CompareList.main(CompareList.java:84)
BUILD SUCCESSFUL (total time: 0 seconds)this comes because in my code i used children[i] as string in the later part
else {
for (int i = 0; i < children.length; i++) {
System.out.println( children);
FileInputStream fstream = new FileInputStream(children[i]);
DataInputStream in = new DataInputStream(fstream);
BufferedReader br = new BufferedReader(new InputStreamReader(in));
String strLine;
while ((strLine = br.readLine()) != null) {
String line =strLine.substring(0,2);
a2.add(line);
System.out.println(line);
} // end of add list2
if (a1.size() > a2.size())
int k = 0;
for (int l = 0; l < a2.size(); l++)
if (!((String)a1.get(l)).equals((String)a2.get(l)))
//System.out.println((String)a2.get(i));
// System.out.println("dd");
k = l;
k++;
for (int l = k; l < a1.size(); l++)
System.out.println((String)a1.get(l));
String str = "children[l]";
File file = new File(str);
RandomAccessFile rand = new RandomAccessFile(file,"rw");
rand.seek(file.length()); //Seek to end of file
rand.writeBytes((String)a1.get(i)); //Write end of file
rand.writeBytes("., 0.");
rand.writeBytes("\n");
rand.close();
}// end of comparing and updating the list2
in.close();
i stil could not figure out it yet. do u have any clue with this. -
Getting files from a PC via a wireless router?
I am trying to get files from my room mate's laptop by going to Finder and then Network. I see the computer's name (Toshiba-User) with a light gray network icon and when I double click to connect, it shows me the little white bar with the blue lines through it then it says:
"SMB/CIFS File System Authentication
Enter the workgroup or domain and your user name and password to access the server "TOSHIBA-USER."
Workgroup or Domain:
WORKGROUP (<-----that's a text box, I can type whatever I want in it but it's filled out like that automatically.)
Name:
LUIS (<------------That's another blank text box but it's automatically filled out like so)
Password:
(blank text space)
(box) remember this password in my keychain
Cancel OK
My room mate claims to never have set up any kind of "WORKGROUP" and doesn't even know what the password is. I need the assistance of the more mac-experienced!Actually, you need someone more PC-experienced.
The fact is, if the PC user never defined a workgroup, then 'WORKGROUP' is the default, so that's what his machine is.
Despite how it may look, the Mac doesn't know that, it's just an assumption since it's the default on your Mac, too, unless you've changed it in Directory Access.
As for the Username, it's defaulting to 'Luis' since that's your username on your machine. The Mac OS assumes that your username is the same on the other machine, but if it isn't you're welcome to change it here.
As for the password, the account should have a password set on it - note that this is the password for the account on the remote PC and is in no way related to any password set on your machine.
You'd need to talk to your roommate to find out what username and password you should use to log onto his machine.
If he's truly never set a password on his machine, then the machine should be blank, but that's a horribly scary situation to be in - a Windows system with no password set? :: shudder :: I'm surprised it's not crawling across the desk with all the bugs, spyware and viruses it must be infected with. -
Watched folder error - "Exception while getting principal from Directory manager"
Hi! I've been having problems with a LiveCycle ES installation.
I've configured a watched folder that starts a process with an Office
Document, converts it to PDF and applies a Rights Management Policy.
It runs on behalf of an Active Directory user.
Sometimes it works flawlessly, but most of the time it fails, giving a
ridiculously long failure log with the longest trace stacks I've ever
seen in life... resumed:
=======================
ALC-DSC-600-000: com.adobe.idp.dsc.provider.service.scheduler.impl.SchedulerRuntimeException : Failure to invoke the job [watched_folder_endpoint_name]
Caused by: ALC-FEP-011-000: com.adobe.idp.dsc.service.file.impl.FileProviderRuntimeException: Failed to get the context on behalf of user [username], domain [company_domain] for watch folder [watched_folder_endpoint_name]
Caused by: | [com.adobe.idp.um.api.impl.AuthenticationManagerImpl] errorCode:16386 errorCodeHEX:0x4002 message:Exception while getting principal from Directory manager| [IDPLoggedException] errorCode:12801 errorCodeHEX:0x3201 message:Exception while getting principal from Directory manager
chainedException:javax.ejb.TransactionRolledbackLocalException: null;
CausedByException is:
nullchainedExceptionMessage:null; CausedByException is:
null chainedException
trace:javax.ejb.TransactionRolledbackLocalException: null;
CausedByException is:
null
=======================
I vaguely suspect is the server's clock going out of sync with the domain controller's clock, but I tried everything I knew of about it with no consistent results.
It's LiveCycle 8.0.1 SP2 installed on a Windows 2003 Server.
Manual install, JBoss Clustered configuration (the second node is actually turned off for the time being)
SQL Server 2005 as backend Database
Users on Active Directory on a Windows 2003 Server -which is a "copy" of the main domain controller.
Watched folder is in a mounted share of another Windows 2003 Server acting as fileserver.
Any clue will be greatly appreciated!!Hello,
sorry in advance for my english. i am beginning in Adobe LiveCycle and i think that you can help me : i want to configure a watched folder to automatically convert in pdf file and apply a right management policy. Can you tell me how you configure it ? many thanks in advance. regards -
How to delete a READ ONLY file from Directory
Hi Friends,
how to delete a READ ONLY file from Directory , file is in my system only.
Please help me .
note: its read only file.
Thank you.
Karthik.hI,
try with this statement.
delete dataset <datasetname>.
this will definitely work.
Regards,
Nagaraj -
How to get file from server while click on link
Hi,
i created on link and i gave one server path to select file from server but while clickinng on link it no displaying any thing.
following is the Destination url that i gave for the item.
/u08/app/appvis/xxex/inst/xxex_apps/xxrbe/logs/appl/conc/log/
please tell me how to get file from server while click on link.Ok I got your requirement now.
If you are getting file names from view attribute then you should not be adding destination URI property for the link.
Instead you can use OADataBoundValueViewObject API.
Try below code in your controller processRequest method:
I am assuming that you are using classic table.
Also in below example it considers OAMessageStyleText and you can replace it with link item if you want.
OATableBean tableBean =
(OATableBean)webBean.findChildRecursive("<table item id>");
OAMessageStyledTextBean m= (OAMessageStyledTextBean)tableBean.findChildRecursive("<message styled text in table item id>");
OADataBoundValueViewObject tip1 = new OADataBoundValueViewObject(m, "/u08/app/appvis/xxex/inst/xxex_apps/xxrbe/logs/appl/conc/log/"+"<vo attr name which stores file name for each row>");
m.setAttributeValue(oracle.cabo.ui.UIConstants.DESTINATION_ATTR, tip1);
Regards,
Sandeep M. -
How do I get files from multiple DVDs that are using thesame file names?
How do I get files from multiple DVDs that are using thesame file names? Message says "file already exists in catalog"
Message was edited by: marcr56marcr56
I am viewing your question from different perspective, that is, the issue that you face when you are ripping VOBs from a second DVD-VIDEO on DVD disc using Premiere Elements,
It is best to give the Premiere Elements version and computer operating system that it is running on. In the absence of that, I will generalize.
Assuming that you are using
Premiere Elements 12
Add Media
"DVD Camera or Computer Drive"
Video Importer
Typically the Video Importer Save In: is C:\Users\Owner\Videos
Each of your DVD discs is going to have the same names for the ripped VOBs (VTS_01_1.VOB and so on depending on the duration of the movie). Consequently, after the ripping of the first DVD's VOBs and their save to Videos, you will end up with that "files already existing..." block for the ripping of the VOBs from the second DVD.
The answer is, for each DVD disc VOB ripping, to plan ahead and create and set for different folders in Videos in the Save In field of the Video Importer.
Please review and then let us know if that works for you. Please do not hesitate to ask if you need clarification on anything that I have written.
Thank you.
ATR. -
Getting files from a business that uses Photoshop CS6. I use CS3 and have text problems
Hi, I'm getting files from a business that uses Photoshop CS6. I use CS3 and when I edit the text, the text moves to a different location even off screen.
Anyone know how to fix this?
It makes it hard to copy the text and imposible to change the color or make corrections.
This just started when they went to Photoshop CS6.
Thanks,
JefferyAsk the folks supplying you with files whether they've updated to the latest version... There were problems with Photoshop CS6 13.0.0. saving text layers in jumbled-up fashion.
-Noel -
Dispatcher yellow,J2EE status info unavailable,Could not get file from DB
Hello Experts,
I have successfully installed a ECC 6.0 server-ABAP +JAVA system (DB2 v9.5 FP4 windows server 2008-x64 bit).
Kernel: 700 , Patch: 185 ; SP level : rel 700 , level 17
I upgraded JSPM sucessfully from 14 to 17.Then i was trying to apply JAVA sp's one by one using single sp option JSPM tool.
I DEPLOYED the first sp component sucesfully but after that the next component gave warning in JSPM check that SDM is not started.
I checked MMC.Dispatcher was YELLOW and J2EE status info unavailable. Cannot use JCMON to start SDM..option 20 gives error--cannot access shared memory
I already tried Notes 784568 and 997510
Relevant logs:-
jvm_bootstrap.out
=================================================================================================
Error synchronizing file [.\..\os_libs\FontManagerService_native.zip].
com.sap.engine.frame.core.configuration.InvalidPersistentDataStreamException: Could not get file from DB.
Attempt to fully materialize lob data that is too large for the JVM.
Disable data source property "fullyMaterializeLobData" for locator-based lob implementation. ERRORCODE=-4499, SQLSTATE=null ERRORCODE=-4499, SQLSTATE=null
Exception occurred:
com.sap.engine.bootstrap.SynchronizationException: Unable to synchronize native files for instance [ID140026]!
==============================================================================================
dev_jcontrol
=============================================================================================
Thr 4360] *** ERROR => JsfOpenShm: FtInit(SESSION, 2, 176) failed (got (rc = 0 operation successful), expected (rc = 8 already initialized)) [jsfxxshm.c 913]
[Thr 4360] *** ERROR => Can't create shared memory segment 69 (rc = 1) [jcntrxx.c 1749]
[Thr 4360] *** ERROR => Can't initialize JControl Administration [jcntrxx.c 273]
[Thr 4360] JControlCloseProgram: started (exitcode = -1)
[Thr 4360] *** ERROR => JsfCloseShm: FiDetachIndex(SESSION) failed (rc = 6 invalid argument) [jsfxxshm.c 1243]
[Thr 4360] *** ERROR => JsfCloseShm: FiDetachIndex(ALIAS) failed (rc = 6 invalid argument) [jsfxxshm.c 1250]
[Thr 4360] *** ERROR => JsfCloseShm: FiDetachIndex(SERVICE) failed (rc = 6 invalid argument) [jsfxxshm.c 1257]
=================================================================================================
log_bootstrap_ID0140026.0
==========================================================================================
Error synchronizing file [.\..\os_libs\FontManagerService_native.zip].
com.sap.engine.frame.core.configuration.InvalidPersistentDataStreamException: Could not get file from DB.
============================================================================================
Eagerly looking forward to a solution from you experts..
Thanks,
RakeshHi,
I am facing the same related problem with ECC 6.0.
My dispatcher started it is showing yellow- dialog queue standstill, J2EE status info unavailable
after some time dispatcher has stopped.
Please check my below trace file for dispatcher:
trc file: "dev_disp", trc level: 1, release: "700"
sysno 03
sid DEV
systemid 560 (PC with Windows NT)
relno 7000
patchlevel 0
patchno 114
intno 20050900
make: multithreaded, Unicode, optimized
pid 13108
Fri Nov 27 02:31:55 2009
kernel runs with dp version 229000(ext=109000) (@(#) DPLIB-INT-VERSION-229000-UC)
length of sys_adm_ext is 576 bytes
SWITCH TRC-HIDE on ***
***LOG Q00=> DpSapEnvInit, DPStart (03 13108) [dpxxdisp.c 1239]
shared lib "dw_xml.dll" version 114 successfully loaded
shared lib "dw_xtc.dll" version 114 successfully loaded
shared lib "dw_stl.dll" version 114 successfully loaded
shared lib "dw_gui.dll" version 114 successfully loaded
shared lib "dw_mdm.dll" version 114 successfully loaded
rdisp/softcancel_sequence : -> 0,5,-1
use internal message server connection to port 3903
Fri Nov 27 02:31:59 2009
WARNING => DpNetCheck: NiAddrToHost(1.0.0.0) took 4 seconds
***LOG GZZ=> 1 possible network problems detected - check tracefile and adjust the DNS settings [dpxxtool2.c 5361]
MtxInit: 30000 0 0
DpSysAdmExtInit: ABAP is active
DpSysAdmExtInit: VMC (JAVA VM in WP) is not active
DpIPCInit2: start server >sapdev_DEV_03 <
DpShMCreate: sizeof(wp_adm) 15800 (1436)
DpShMCreate: sizeof(tm_adm) 4232256 (21056)
DpShMCreate: sizeof(wp_ca_adm) 24000 (80)
DpShMCreate: sizeof(appc_ca_adm) 8000 (80)
DpCommTableSize: max/headSize/ftSize/tableSize=500/8/528056/528064
DpShMCreate: sizeof(comm_adm) 528064 (1048)
DpSlockTableSize: max/headSize/ftSize/fiSize/tableSize=0/0/0/0/0
DpShMCreate: sizeof(slock_adm) 0 (96)
DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0
DpShMCreate: sizeof(file_adm) 0 (72)
DpShMCreate: sizeof(vmc_adm) 0 (1536)
DpShMCreate: sizeof(wall_adm) (38456/34360/64/184)
DpShMCreate: sizeof(gw_adm) 48
DpShMCreate: SHM_DP_ADM_KEY (addr: 08290040, size: 4889440)
DpShMCreate: allocated sys_adm at 08290040
DpShMCreate: allocated wp_adm at 08292090
DpShMCreate: allocated tm_adm_list at 08295E48
DpShMCreate: allocated tm_adm at 08295E78
DpShMCreate: allocated wp_ca_adm at 0869F2B8
DpShMCreate: allocated appc_ca_adm at 086A5078
DpShMCreate: allocated comm_adm at 086A6FB8
DpShMCreate: system runs without slock table
DpShMCreate: system runs without file table
DpShMCreate: allocated vmc_adm_list at 08727E78
DpShMCreate: allocated gw_adm at 08727EB8
DpShMCreate: system runs without vmc_adm
DpShMCreate: allocated ca_info at 08727EE8
DpShMCreate: allocated wall_adm at 08727EF0
MBUF state OFF
DpCommInitTable: init table for 500 entries
Fri Nov 27 02:32:00 2009
EmInit: MmSetImplementation( 2 ).
MM global diagnostic options set: 0
<ES> client 0 initializing ....
<ES> InitFreeList
<ES> block size is 1024 kByte.
Using implementation view
<EsNT> Using memory model view.
<EsNT> Memory Reset disabled as NT default
<ES> 1023 blocks reserved for free list.
ES initialized.
J2EE server info
start = TRUE
state = STARTED
pid = 13356
argv[0] = D:\usr\sap\DEV\DVEBMGS03\exe\jcontrol.EXE
argv[1] = D:\usr\sap\DEV\DVEBMGS03\exe\jcontrol.EXE
argv[2] = pf=D:\usr\sap\DEV\SYS\profile\DEV_DVEBMGS03_sapdev
argv[3] = -DSAPSTART=1
argv[4] = -DCONNECT_PORT=2919
argv[5] = -DSAPSYSTEM=03
argv[6] = -DSAPSYSTEMNAME=DEV
argv[7] = -DSAPMYNAME=sapdev_DEV_03
argv[8] = -DSAPPROFILE=D:\usr\sap\DEV\SYS\profile\DEV_DVEBMGS03_sapdev
argv[9] = -DFRFC_FALLBACK=ON
argv[10] = -DFRFC_FALLBACK_HOST=localhost
start_lazy = 0
start_control = SAP J2EE startup framework
DpJ2eeStart: j2ee state = STARTED
rdisp/http_min_wait_dia_wp : 1 -> 1
***LOG CPS=> DpLoopInit, ICU ( 3.0 3.0 4.0.1) [dpxxdisp.c 1629]
***LOG Q0K=> DpMsAttach, mscon ( sapdev.visu.com) [dpxxdisp.c 11753]
DpStartStopMsg: send start message (myname is >sapdev_DEV_03 <)
DpStartStopMsg: start msg sent
CCMS: AlInitGlobals : alert/use_sema_lock = TRUE.
Fri Nov 27 02:32:01 2009
CCMS: Initalizing shared memory of size 60000000 for monitoring segment.
CCMS: start to initalize 3.X shared alert area (first segment).
DpJ2eeLogin: j2ee state = CONNECTED
DpMsgAdmin: Set release to 7000, patchlevel 0
MBUF state PREPARED
MBUF component UP
DpMBufHwIdSet: set Hardware-ID
***LOG Q1C=> DpMBufHwIdSet [dpxxmbuf.c 1050]
DpMsgAdmin: Set patchno for this platform to 114
Release check o.K.
Fri Nov 27 02:32:05 2009
***LOG Q0I=> NiIRead: recv (10054: WSAECONNRESET: Connection reset by peer) [nixxi.cpp 4248]
ERROR => NiIRead: SiRecv failed for hdl 4 / sock 1468
(SI_ECONN_BROKEN/10054; I4; ST; 127.0.0.1:2927) [nixxi.cpp 4248]
DpJ2eeMsgProcess: j2ee state = CONNECTED (NIECONN_BROKEN)
DpIJ2eeShutdown: send SIGINT to SAP J2EE startup framework (pid=13356)
ERROR => DpProcKill: kill failed [dpntdisp.c 371]
DpIJ2eeShutdown: j2ee state = SHUTDOWN
Fri Nov 27 02:32:40 2009
ERROR => W0 (pid 13364) died [dpxxdisp.c 14441]
ERROR => W1 (pid 13372) died [dpxxdisp.c 14441]
ERROR => W2 (pid 13380) died [dpxxdisp.c 14441]
ERROR => W3 (pid 13388) died [dpxxdisp.c 14441]
my types changed after wp death/restart 0xbf --> 0xbe
ERROR => W4 (pid 13396) died [dpxxdisp.c 14441]
my types changed after wp death/restart 0xbe --> 0xbc
ERROR => W5 (pid 13404) died [dpxxdisp.c 14441]
my types changed after wp death/restart 0xbc --> 0xb8
ERROR => W6 (pid 13412) died [dpxxdisp.c 14441]
ERROR => W7 (pid 13420) died [dpxxdisp.c 14441]
ERROR => W8 (pid 13428) died [dpxxdisp.c 14441]
my types changed after wp death/restart 0xb8 --> 0xb0
ERROR => W9 (pid 13436) died [dpxxdisp.c 14441]
my types changed after wp death/restart 0xb0 --> 0xa0
ERROR => W10 (pid 13444) died [dpxxdisp.c 14441]
my types changed after wp death/restart 0xa0 --> 0x80
DP_FATAL_ERROR => DpWPCheck: no more work processes
DISPATCHER EMERGENCY SHUTDOWN ***
increase tracelevel of WPs
NiWait: sleep (10000ms) ...
NiISelect: timeout 10000ms
NiISelect: maximum fd=1593
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Fri Nov 27 02:32:50 2009
NiISelect: TIMEOUT occured (10000ms)
dump system status
Workprocess Table (long) Thu Nov 26 21:02:50 2009
========================
No Ty. Pid Status Cause Start Err Sem CPU Time Program Cl User Action Table
0 DIA 13364 Ended no 1 0 0
1 DIA 13372 Ended no 1 0 0
2 DIA 13380 Ended no 1 0 0
3 DIA 13388 Ended no 1 0 0
4 UPD 13396 Ended no 1 0 0
5 ENQ 13404 Ended no 1 0 0
6 BTC 13412 Ended no 1 0 0
7 BTC 13420 Ended no 1 0 0
8 BTC 13428 Ended no 1 0 0
9 SPO 13436 Ended no 1 0 0
10 UP2 13444 Ended no 1 0 0
Dispatcher Queue Statistics Thu Nov 26 21:02:50 2009
===========================
--------++++--
+
Typ
now
high
max
writes
reads
--------++++--
+
NOWP
0
2
2000
6
6
--------++++--
+
DIA
5
5
2000
5
0
--------++++--
+
UPD
0
0
2000
0
0
--------++++--
+
ENQ
0
0
2000
0
0
--------++++--
+
BTC
0
0
2000
0
0
--------++++--
+
SPO
0
0
2000
0
0
--------++++--
+
UP2
0
0
2000
0
0
--------++++--
+
max_rq_id 12
wake_evt_udp_now 0
wake events total 8, udp 7 ( 87%), shm 1 ( 12%)
since last update total 8, udp 7 ( 87%), shm 1 ( 12%)
Dump of tm_adm structure: Thu Nov 26 21:02:50 2009
=========================
Term uid man user term lastop mod wp ta a/i (modes)
Workprocess Comm. Area Blocks Thu Nov 26 21:02:50 2009
=============================
Slots: 300, Used: 1, Max: 0
--------++--
+
id
owner
pid
eyecatcher
--------++--
+
0
DISPATCHER
-1
WPCAAD000
NiWait: sleep (5000ms) ...
NiISelect: timeout 5000ms
NiISelect: maximum fd=1593
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Fri Nov 27 02:32:55 2009
NiISelect: TIMEOUT occured (5000ms)
DpHalt: shutdown server >sapdev_DEV_03 < (normal)
DpJ2eeDisableRestart
DpModState: buffer in state MBUF_PREPARED
NiBufSend starting
NiIWrite: hdl 3 sent data (wrt=110,pac=1,MESG_IO)
MsINiWrite: sent 110 bytes
MsIModState: change state to SHUTDOWN
DpModState: change server state from STARTING to SHUTDOWN
Switch off Shared memory profiling
ShmProtect( 57, 3 )
ShmProtect(SHM_PROFILE, SHM_PROT_RW
ShmProtect( 57, 1 )
ShmProtect(SHM_PROFILE, SHM_PROT_RD
DpWakeUpWps: wake up all wp's
Stop work processes
Stop gateway
killing process (13340) (SOFT_KILL)
Stop icman
killing process (13348) (SOFT_KILL)
Terminate gui connections
wait for end of work processes
wait for end of gateway
[DpProcDied] Process lives (PID:13340 HANDLE:1564)
waiting for termination of gateway ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1593
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Fri Nov 27 02:32:56 2009
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process died (PID:13340 HANDLE:1564)
wait for end of icman
[DpProcDied] Process lives (PID:13348 HANDLE:1568)
waiting for termination of icman ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1593
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Fri Nov 27 02:32:57 2009
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:13348 HANDLE:1568)
waiting for termination of icman ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1593
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Fri Nov 27 02:32:58 2009
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:13348 HANDLE:1568)
waiting for termination of icman ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1593
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Fri Nov 27 02:32:59 2009
NiISelect: TIMEOUT occured (1000ms)
[DpProcDied] Process lives (PID:13348 HANDLE:1568)
waiting for termination of icman ...
NiWait: sleep (1000ms) ...
NiISelect: timeout 1000ms
NiISelect: maximum fd=1593
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Please help me to start my SAP MMC.
Thanks -
HOW TO READ MULTIPLE FILES FROM DIRECTORY
i have a directory with 100 .sql insert scripts.i want to read all .sql files from directory and execute the insert script automatically.
Let's suppose you have 3 files: "first.sql", "second.sql" and "third.sql". Create a file named "all.sql" in the same directory, containing this:
@@first.sql
@@second.sql
@@third.sqlRun "all.sql". -
Premier elements 10. Quits when opening "get files from..."
How do I fix this issue: APE10 open, sets up a new project, but when I try to "get files" from "files an folders" it quits.
Thanksluiscue
There is a serious known issue with Premiere Elements 10 on a computer that uses a NVIDIA GeForce video card/graphics card. The answer to date has been to roll back
the driver version to about May 2013. There is an Announcement at the top of this forum about all this, and much more information to be found elsewhere
ATR Premiere Elements Troubleshooting: PE10: NVIDIA Video Card Driver Roll Back
I am not sure if an automatic update of the driver version may have taken the driver version from the much older date to current version which is triggering your present situation.
I am strictly an Elements Windows user so I am not sure if the following NVIDIA GeForce 9400 M driver version would work in your Mac computer environment.
GeForce 320.49 May 23, 2013. The following is the NVIDIA GeForce 9400 M but listed on Windows
NVIDIA Driver Downloads - Advanced Search
The other consideration is the use of Premiere Elements 10 OS10.10.2. I have not seen any reports confirming that Premiere Elements 10 is compatible with OS 10.10.2.
But then again, you report "It worked well 3 months ago. First time it has done it." Where you using the same operating system then as now?
You can also factor into all this the usual drill considerations...
a. Are you working with a pen and tablet device instead of mouse?
b. Does the problem exist with antivirus and firewall(s) disabled?
c. Have you deleted the Adobe Premiere Elements Prefs file
Users/Owner/Libraries/Application Support/Adobe/Premiere Elements/10.0
d. Is the latest version of QuickTime installed on your computer?
Please review and consider and then we can discuss this further.
Thank you for the follow up.
ATR
Add On..Since I am strictly an Elements Windows user, please indicate anywhere in the above where the question would not be applicable to Mac.
Maybe you are looking for
-
Duty calculation for import PO for a specific material group
Hi All, As per company requirement, we need to do changes in duty calculation for import PO for a specific material group. Current scenario : Currently duty calculating on MRP with abatement 35% ( We have ABTT condition @ 35% of MRP). For example:
-
Boolean to increment a counter
I want a VI that would increment a counter every time a boolean gives a true value. In other words, every time a switch is pressed, the counter should increment to the next whole number and so on. Solved! Go to Solution.
-
Problem in iterating through huge number of entries ... memory issue
I am having large number of entries in lacs. I need to check each entry with previous ones , so I need to iterate through the each and every entry previous to current entry. Here I have put all the entries in arraylist and I am iterating though this
-
Picking up in store tomorrow??
Of course there is not anyone I can talk to on the phone - Apple is not accepting phone calls. I had set up to pick up my iphone 4 in the store tomorrow and now I won't be able to due to a death in a fellow nurse's schedule and I have to cover for he
-
After my I updated my Second gen Itouch, it became a box that makes light.
After updating my ipod, it runs fine besides it cant update, or use wifi, or just about anything, but everything that i dont need works. Syncing music doesnt work, and restoring didnt accomplish anything.