Small problem in randam access

how to read from file and write to another by using randam
access in java.
thanks......

Yeah, i know my ignorance: what 'randam access' is supposed to be?

Similar Messages

  • Console CatOS MOTD small problem

    Hello,
    I have a small problem when connecting to a console port.
    We make a connection via a terminalserver to the console port of a 6500 (Tacacs+). I like to have a banner before I login on CatOs. The problem with a MOTD is that only the banner is shown after a logout.
    Any suggestions?
    Greetings.
    Jeroen

    for some reason, this doesn't work for console access. It does work for direct telnet access.
    Maybe there is some problem with remote access via a terminalserver to the console port. Do i have to change something on the line (TTY) ports of the terminalserver?
    switch> (enable) set banner telnet ?
    disable Suppress the default Cisco Systems Console banner
    enable Display the default Cisco Systems Console banner

  • Many small problems in Mavericks

    When user experience many small problem in daily work, I feel the design is failed.
    Memory management has a lot of problem, I feel my macbook is abnormal slow after I upgraded to Mavericks. Sometime, I need to wait for several sec to get what I want.
    I think this problem is extreme important for OS.
    When I want to start a probelm, click once, no response, click twice, pop-up 2 times after 5 sec.
    Then i change my way of work, clock one time, work on other task. 5 sec later, multi desktop switch the desktop to the starting program. Then, I don't know what I was doing.
    Another is sound problem, sound doesn't work sometime and need some kind of procedure to get it back.
    Please don't ask me do something to solve the problem everytime when it happen. It is OS task to work it properly.
    Whatever how many great feature you added is meaningless if user daily experience is bad.

    1. This procedure is a diagnostic test. It changes nothing, for better or worse, and therefore will not, in itself, solve your problem.
    2. If you don't already have a current backup, back up all data before doing anything else. The backup is necessary on general principle, not because of anything in the test procedure. There are ways to back up a computer that isn't fully functional. Ask if you need guidance.
    3. Below are instructions to run a UNIX shell script, a type of program. All it does is to gather information about the state of your computer. That information goes nowhere unless you choose to share it on this page. However, you should be cautious about running any kind of program (not just a shell script) at the request of a stranger on a public message board. If you have doubts, search this site for other discussions in which this procedure has been followed without any report of ill effects. If you can't satisfy yourself that the instructions are safe, don't follow them.
    Here's a summary of what you need to do, if you choose to proceed: Copy a line of text from this web page into the window of another application. Wait for the script to run. It usually takes a couple of minutes. Then paste the results, which will have been copied automatically, back into a reply on this page. The sequence is: copy, paste, wait, paste again. Details follow.
    4. You may have started the computer in "safe" mode. Preferably, these steps should be taken in “normal” mode. If the system is now in safe mode and works well enough in normal mode to run the test, restart as usual. If you can only test in safe mode, do that.
    5. If you have more than one user, and the one affected by the problem is not an administrator, then please run the test twice: once while logged in as the affected user, and once as an administrator. The results may be different. The user that is created automatically on a new computer when you start it for the first time is an administrator. If you can't log in as an administrator, test as the affected user. Most personal Macs have only one user, and in that case this section doesn’t apply.
    6. The script is a single long line, all of which must be selected. You can accomplish this easily by triple-clicking  anywhere in the line. The whole line will highlight, though you may not see all of it in your browser, and you can then copy it. If you try to select the line by dragging across the part you can see, you won't get all of it.
    Triple-click anywhere in the line of text below on this page to select it:
    PATH=/usr/bin:/bin:/usr/sbin:/sbin; clear; Fb='%s\n\t(%s)\n'; Fm='\n%s\n\n%s\n'; Fr='\nRAM details\n%s\n'; Fs='\n%s: %s\n'; Fu='user %s%%, system %s%%'; PB="/usr/libexec/PlistBuddy -c Print"; A () { [[ a -eq 0 ]]; }; M () { find -L "$d" -type f | while read f; do file -b "$f" | egrep -lq XML\|exec && echo $f; done; }; Pc () { o=`grep -v '^ *#' "$2"`; Pm "$1"; }; Pm () { [[ "$o" ]] && o=`sed '/^ *$/d; s/^ */   /' <<< "$o"` && printf "$Fm" "$1" "$o"; }; Pp () { o=`$PB "$2" | awk -F'= ' \/$3'/{print $2}'`; Pm "$1"; }; Ps () { o=`echo $o`; [[ ! "$o" =~ ^0?$ ]] && printf "$Fs" "$1" "$o"; }; R () { o=; [[ r -eq 0 ]]; }; SP () { system_profiler SP${1}DataType; }; id | grep -qw '80(admin)'; a=$?; A && sudo true; r=$?; t=`date +%s`; clear; { A || echo $'No admin access\n'; A && ! R && echo $'No root access\n'; SP Software | sed '8!d;s/^ *//'; o=`SP Hardware | awk '/Mem/{print $2}'`; o=$((o<4?o:0)); Ps "Total RAM (GB)"; o=`SP Memory | sed '1,5d; /[my].*:/d'`; [[ "$o" =~ s:\ [^O]|x([^08]||0[^2]8[^0]) ]] && printf "$Fr" "$o"; o=`SP Diagnostics | sed '5,6!d'`; [[ "$o" =~ Pass ]] || Pm "POST"; for b in Thunderbolt USB; do o=`SP $b | sed -En '1d; /:$/{s/ *:$//;x;s/\n//p;}; /^ *V.* [0N].* /{s/ 0x.... //;s/[()]//g;s/\(.*: \)\(.*\)/ \(\2\)/;H;}; /Apple|SCSM/{s/.//g;h;}'`; Pm $b; done; o=`pmset -g therm | sed 's/^.*C/C/'`; [[ "$o" =~ No\ th|pms ]] && o=; Pm "Thermal conditions"; o=`pmset -g sysload | grep -v :`; [[ "$o" =~ =\ [^GO] ]] || o=; Pm "System load advisory"; o=`nvram boot-args | awk '{$1=""; print}'`; Ps "boot-args"; d=(/ ""); D=(System User); E=; for i in 0 1; do o=`cd ${d[$i]}L*/L*/Dia* || continue; ls | while read f; do [[ "$f" =~ h$ ]] && grep -lq "^Thread c" "$f" && e=" *" || e=; awk -F_ '!/ag$/{$NF=a[split($NF,a,".")]; print $0 "'"$e"'"}' <<< "$f"; done | tail`; Pm "${D[$i]} diagnostics"; done; [[ "$o" =~ \*$ ]] && printf $'\n* Code injection\n'; o=`syslog -F bsd -k Sender kernel -k Message CReq 'GPU |hfs: Ru|I/O e|last value [1-9]|n Cause: -|NVDA\(|pagin|SATA W|ssert|timed? ?o' | tail -n25 | awk '/:/{$4=""; $5=""};1'`; Pm "Kernel messages"; o=`df -m / | awk 'NR==2 {print $4}'`; o=$((o<5120?o:0)); Ps "Free space (MiB)"; o=$(($(vm_stat | awk '/eo/{sub("\\.",""); print $2}')/256)); o=$((o>=1024?o:0)); Ps "Pageouts (MiB)"; s=( `sar -u 1 10 | sed '$!d'` ); [[ s[4] -lt 85 ]] && o=`printf "$Fu" ${s[1]} ${s[3]}` || o=; Ps "Total CPU usage" && { s=(`ps acrx -o comm,ruid,%cpu | sed '2!d'`); o=${s[2]}%; Ps "CPU usage by process \"$s\" with UID ${s[1]}"; }; s=(`top -R -l1 -n1 -o prt -stats command,uid,prt | sed '$!d'`); s[2]=${s[2]%[+-]}; o=$((s[2]>=25000?s[2]:0)); Ps "Mach ports used by process \"$s\" with UID ${s[1]}"; o=`kextstat -kl | grep -v com\\.apple | cut -c53- | cut -d\< -f1`; Pm "Loaded extrinsic kernel extensions"; R && o=`sudo launchctl list | sed 1d | awk '!/0x|com\.(apple|openssh|vix\.cron)|org\.(amav|apac|calendarse|cups|dove|isc|ntp|post[fg]|x)/{print $3}'`; Pm "Extrinsic system jobs"; o=`launchctl list | sed 1d | awk '!/0x|com\.apple|org\.(x|openbsd)|\.[0-9]+$/{print $3}'`; Pm "Extrinsic agents"; o=`for d in {/,}L*/Lau*; do M; done | grep -v com\.apple\.CSConfig | while read f; do ID=$($PB\ :Label "$f") || ID="No job label"; printf "$Fb" "$f" "$ID"; done`; Pm "launchd items"; o=`for d in /{S*/,}L*/Star*; do M; done`; Pm "Startup items"; o=`find -L /S*/L*/E* {/,}L*/{A*d,Compon,Ex,In,Keyb,Mail/B,P*P,Qu*T,Scripti,Servi,Spo}* -type d -name Contents -prune | while read d; do ID=$($PB\ :CFBundleIdentifier "$d/Info.plist") || ID="No bundle ID"; [[ "$ID" =~ ^com\.apple\.[^x]|Accusys|ArcMSR|ATTO|HDPro|HighPoint|driver\.stex|hp-fax|\.hpio|JMicron|microsoft\.MDI|print|SoftRAID ]] || printf "$Fb" "${d%/Contents}" "$ID"; done`; Pm "Extrinsic loadable bundles"; o=`find -L /u*/{,*/}lib -type f | while read f; do file -b "$f" | grep -qw shared && ! codesign -v "$f" && echo $f; done`; Pm "Unsigned shared libraries"; o=`for e in DYLD_INSERT_LIBRARIES DYLD_LIBRARY_PATH; do launchctl getenv $e; done`; Pm "Environment"; o=`find -L {,/u*/lo*}/e*/periodic -type f -mtime -10d`; Pm "Modified periodic scripts"; o=`scutil --proxy | grep Prox`; Pm "Proxies"; o=`scutil --dns | awk '/r\[0\] /{if ($NF !~ /^1(0|72\.(1[6-9]|2[0-9]|3[0-1])|92\.168)\./) print $NF; exit}'`; Ps "DNS"; R && o=`sudo profiles -P | grep : | wc -l`; Ps "Profiles"; f=auto_master; [[ `md5 -q /etc/$f` =~ ^b166 ]] || Pc $f /etc/$f; for f in fstab sysctl.conf crontab launchd.conf; do Pc $f /etc/$f; done; Pc "hosts" <(grep -v 'host *$' /etc/hosts); Pc "User launchd" ~/.launchd*; R && Pc "Root crontab" <(sudo crontab -l); Pc "User crontab" <(crontab -l); R && o=`sudo defaults read com.apple.loginwindow LoginHook`; Pm "Login hook"; Pp "Global login items" /L*/P*/loginw* Path; Pp "User login items" L*/P*/*loginit* Name; Pp "Safari extensions" L*/Saf*/*/E*.plist Bundle | sed -E 's/(\..*$|-[1-9])//g'; o=`find ~ $TMPDIR.. \( -flags +sappnd,schg,uappnd,uchg -o ! -user $UID -o ! -perm -600 \) | wc -l`; Ps "Restricted user files"; cd; o=`SP Fonts | egrep "Valid: N|Duplicate: Y" | wc -l`; Ps "Font problems"; o=`find L*/{Con,Pref}* -type f ! -size 0 -name *.plist | while read f; do plutil -s "$f" >&- || echo $f; done`; Pm "Bad plists"; d=(Desktop L*/Keyc*); n=(20 7); for i in 0 1; do o=`find "${d[$i]}" -type f -maxdepth 1 | wc -l`; o=$((o<=n[$i]?0:o)); Ps "${d[$i]##*/} file count"; done; o=$((`date +%s`-t)); Ps "Elapsed time (s)"; } 2>/dev/null | pbcopy; exit 2>&-
    Copy the selected text to the Clipboard by pressing the key combination command-C.
    7. Launch the built-in Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    When you launch Terminal, a text window will open with a line already in it, ending either in a dollar sign ($) or a percent sign (%). If you get the percent sign, enter
    exec bash
    in the window and press return. You should then get a new line ending in a dollar sign.
    Click anywhere in the Terminal window and paste (command-V). The text you pasted should vanish immediately. If it doesn't, press the return key.
    If you're logged in as an administrator, you'll be prompted for your login password. Nothing will be displayed when you type it. You will not see the usual dots in place of typed characters. Make sure caps lock is off. Type carefully and then press return. You may get a one-time warning to be careful. If you make three failed attempts to enter the password, the test will run anyway, but it will produce less information. In most cases, the difference is not important. If you don't know your password, or if you prefer not to enter it, just press return three times at the password prompt.
    If you're not logged in as an administrator, you won't be prompted for a password. The test will still run. It just won't do anything that requires administrator privileges.
    The test may take a few minutes to run, depending on how many files you have and the speed of the computer. A computer that's abnormally slow may take longer to run the test. While it's running, there will be nothing in the Terminal window and no indication of progress. Wait for the line "[Process completed]" to appear. If you don't see it within half an hour or so, the test probably won't complete in a reasonable time. In that case, close the Terminal window and report your results. No harm will be done.
    8. When the test is complete, quit Terminal. The results will have been copied to the Clipboard automatically. They are not shown in the Terminal window. Please don't copy anything from there. All you have to do is start a reply to this comment and then paste by pressing command-V again.
    If any private information, such as your name or email address, appears in the results, anonymize it before posting. Usually that won't be necessary.
    When you post the results, you might see the message, "You have included content in your post that is not permitted." It means that the forum software has misidentified something in the post as a violation of the rules. If it happens, please post the test results on Pastebin, then post a link here to the page you created.
    Note: This is a public forum, and others may give you advice based on the results of the test. They speak only for themselves, and I don't necessarily agree with them.
    Copyright © 2014 Linc Davis. As the sole author of this work, I reserve all rights to it except as provided in the Terms of Use of Apple Support Communities ("ASC"). Readers of ASC may copy it for their own personal use. Neither the whole nor any part may be redistributed.

  • Some small problems with my new 3G iPhone

    Having some small problems with my new iPhone, nothing major, just annoying.
    1. When I plug my iPhone in to charge/sync my Adobe photoshop keeps trying to download the photos on my iPhone, which causes an error message from Adobe that it can't download and it stops all syncing and removes my iPhone from iTunes. I have to unplug and reinsert USB cable and sometimes it works ok and sometimes I have to reinsert again. Also when charging, it will disconnect, reconnect and the samething all over again, photoshop trying to get photos and an error message.
    2. Can't send e-mails via 3G? Only can get, have to connected to a WiFi to send e-mails, or is this normal?

    When your iPhone includes photos in the Camera Roll, it is also detected as a digital camera when connected to your computer, and whichever app you have selected to import photos will automatically launch to import the photos. If you haven't imported these photos, it is a good idea to do so as with any other digital camera. I import the photos followed by deleting the photos from the iPhone after the import process is complete. If I want any of the imported photos available on my iPhone for viewing, I add the photos to an existing album that is selected to be transferred to my iPhone under the Photos tab for my iPhone sync preferences, or add the photos to a new album followed by selecting the album under the Photos tab followed by a sync.
    If your iPhone's Camera Roll does not include any photos that have not been imported, Adobe Photoshop should not launch automatically when your iPhone is connected.
    I know how to disable the selected application for photo import from launching automatically regardless with a Mac, but not with Windows.
    Regarding the sending email problem, who is the email account provider and does the email account provider have an authenticated SMTP server?
    Most ISPs block the use of SMTP servers that are outside of their network or not provided by the ISP being used for your internet connection unless the SMTP server is authenticated. When connected to the internet via AT&T's cellular network, it is no different in this regard. AT&T's SMTP server is included and available by default for use with an email account that does not have an authenticated SMTP server when connected to the internet via AT&T's cellular network, but you probably won't be able to use this SMTP server for sending messages with the account when connected to the internet with your ISP via an available wi-fi network - especially if the email account is provided by your ISP.
    I access two email accounts with the iPhone's mail client and both accounts have an authenticated SMTP server. I've never had any problems sending with either account regardless the ISP being used for an available wi-fi network, or when connected via AT&T's cellular network.

  • When I use the CTUOnline site, the IM window will not open, and the Outlook mail frequently crashes. I do not have these problems if I access the site via Safari. I am using a Mac OS 10.4.11.

    I am teaching an online course through CTUOnline. I use a Mac OS 10.4.11. When I access the site thru Firefox, the IM chat window just says "Loading" but never loads. My campus mail, which is accessed through Outlook, frequently boots me out. I must copy and save every message, because I cannot predict when it will go through and when I will be thrown out. I have set my Preferences to allow pop-ups from ctuonline.edu and from campus.ctuonline.edu. I do not have these (connection?) problems when I access the site through Safari.
    == URL of affected sites ==
    https://campus.ctuonline.edu/MainFrame.aspx?ContentFrame=/Default.aspx

    I am teaching an online course through CTUOnline. I use a Mac OS 10.4.11. When I access the site thru Firefox, the IM chat window just says "Loading" but never loads. My campus mail, which is accessed through Outlook, frequently boots me out. I must copy and save every message, because I cannot predict when it will go through and when I will be thrown out. I have set my Preferences to allow pop-ups from ctuonline.edu and from campus.ctuonline.edu. I do not have these (connection?) problems when I access the site through Safari.
    == URL of affected sites ==
    https://campus.ctuonline.edu/MainFrame.aspx?ContentFrame=/Default.aspx

  • Problem with file access in other computer in jsp

    I have problem with file accessing in other computer in jsp.
    The follow code
    File folder=new File("Z:"+File.separator+"sharefolder");//Z is a net share driver
    File[] files=folder.listFiles();
    System.out.println("test");
    System.out.println("length="+files.length);
    will throw exception at the second print.
    but it works well in main funtion.
    Is anybody know what is the problem.
    JSP works on windows2003 server,tomcat 5.0.28 JDK1.4 net share folder on windows2000 server

    no error code for this.But when I start tomcat I get the follow error.
    java.lang.IllegalArgumentException: Document base Z:\ does not exist or is not a readable directory
         at org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:138)
         at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:3910)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4138)
         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823)
         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
         at org.apache.catalina.core.StandardHostDeployer.addChild(StandardHostDeployer.java:903)
         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:585)
         at org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:216)
         at org.apache.commons.digester.SetNextRule.end(SetNextRule.java:256)
         at org.apache.commons.digester.Rule.end(Rule.java:276)
         at org.apache.commons.digester.Digester.endElement(Digester.java:1058)
         at org.apache.catalina.util.CatalinaDigester.endElement(CatalinaDigester.java:76)
         at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
         at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
         at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
         at org.apache.commons.digester.Digester.parse(Digester.java:1567)
         at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:488)
         at org.apache.catalina.core.StandardHost.install(StandardHost.java:863)
         at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:483)
         at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:427)
         at org.apache.catalina.startup.HostConfig.start(HostConfig.java:983)
         at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:349)
         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1091)
         at org.apache.catalina.core.StandardHost.start(StandardHost.java:789)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)
         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478)
         at org.apache.catalina.core.StandardService.start(StandardService.java:480)
         at org.apache.catalina.core.StandardServer.start(StandardServer.java:2313)
         at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
         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:585)
         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
    Jun 5, 2006 6:55:41 PM org.apache.catalina.core.StandardContext start
    SEVERE: Error in resourceStart()
    Jun 5, 2006 6:55:41 PM org.apache.catalina.core.StandardContext start
    SEVERE: Error getConfigured
    Jun 5, 2006 6:55:41 PM org.apache.catalina.core.StandardContext start
    SEVERE: Context startup failed due to previous errors
    Jun 5, 2006 6:55:41 PM org.apache.catalina.core.StandardContext start
    SEVERE: Exception during cleanup after start failed
    LifecycleException: Container StandardContext[msgstore] has not been started
         at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4466)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4371)
         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823)
         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
         at org.apache.catalina.core.StandardHostDeployer.addChild(StandardHostDeployer.java:903)
         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:585)
         at org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:216)
         at org.apache.commons.digester.SetNextRule.end(SetNextRule.java:256)
         at org.apache.commons.digester.Rule.end(Rule.java:276)
         at org.apache.commons.digester.Digester.endElement(Digester.java:1058)
         at org.apache.catalina.util.CatalinaDigester.endElement(CatalinaDigester.java:76)
         at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
         at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
         at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
         at org.apache.commons.digester.Digester.parse(Digester.java:1567)
         at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:488)
         at org.apache.catalina.core.StandardHost.install(StandardHost.java:863)
         at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:483)
         at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:427)
         at org.apache.catalina.startup.HostConfig.start(HostConfig.java:983)
         at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:349)
         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1091)
         at org.apache.catalina.core.StandardHost.start(StandardHost.java:789)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)
         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478)
         at org.apache.catalina.core.StandardService.start(StandardService.java:480)
         at org.apache.catalina.core.StandardServer.start(StandardServer.java:2313)
         at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
         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:585)
         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)

  • Hi, I have small problem, for some time in music area I had two folders to use 1. Apple loops for soundtrack pro 2. Final Cut pro sound effects now both are gray and with out content may I know what happend

    Hi, I have small problem, for some time in music area I had two folders to use 1. Apple loops for soundtrack pro 2. Final Cut pro sound effects now both are gray and with out content may I know what happend

    I just went through this and it appears that my Focusrite Saffire was the culprit. I connected all the outputs on the focusrite according to the way the jacsk on the back were labeled and then set up the multichannel speaker setup to match. Then I went into STP, created a pink noise clip and panned it around, the LFE, center and rears were not in the right place.
    I reconnected the hardware to match the 5.1 pan pot in STP then changed the multichannel speaker setup to match. Everything appears to be correct now but I would have loved to have been able to just assigned the output busses to correct outputs in the saffire.
    Next step is to pan that pink noise around with my SPL meter to calibrate the room.

  • Very small problem RE: Variable not initializing

    //Hey, folks! Having a small problem here. Compiler keeps telling me that "result" variable may not have been initialized for this method. This is probably an issue of variable scope? It's staring me in the face and I can't see the problem. Can you see the problem?      
    public Shape randomShape()
              Random generator = new Random();
              intShapeDecider = generator.nextInt(3);
              int intCrdntX1 = generator.nextInt(500);
              int intCrdntY1 = generator.nextInt(500);
              int intCrdntX2 = generator.nextInt(500);
              int intCrdntY2 = generator.nextInt(500);
              int intWidth = Math.abs(intCrdntX1 - intCrdntX2);
              int intHeight = Math.abs(intCrdntY1 - intCrdntY2);
              Shape result;
              if (intShapeDecider == 0)
                   result = new Line2D.Double(intCrdntX1,intCrdntY1,intCrdntX2,intCrdntY2);
              else if (intShapeDecider == 1)
                   result = new Rectangle(intCrdntX1,intCrdntY1,intWidth,intHeight);
    else if (intShapeDecider == 2)
              result = new Ellipse2D.Double(intCrdntX1,intCrdntY1,intWidth,intHeight);
              return result;
         }

    Nope...don't think that's the problem. My random ints are only 3 possible nums ...0,1, or 2. I have an if for each possible condition. Therefore, nothing "else" can really happen. No?

  • Problem wrapping LDAP access

    We're running into problems wrapping C functions that access LDAP in Forte. We are using the Netscape Directory SDK for C (Version 4.0) and have written and compiled C code (on Solaris 2.6) into a shared library that calls out to the Netscape LDAP shared library. The problems arise once they are Forte-wrapped...
    I can see from several status messages that I have within both the C functions and the TOOL code that everything is working as it should, however, Forte locks up upon completing any of the functions, and I sometimes get a "libc internal error - rmutex not held" error message. The multithreaded property for this C project is set to FALSE.
    Any insights/tips would be appreciated...

    Hi Julie,
    You can try to turn on multithreading for your C project (multiThreaded -
    TRUE) and use your Forte wrapper object to synchronize the access to C
    functions (using for example Shared property = IsDefault). Probably, the C
    project is not linked with the thread-safe libc if you are using
    multiThreaded - FALSE.
    Regards,
    Zenon
    -----Original Message-----
    From: Julie Muth [SMTP:MUTHdcjs.state.ny.us]
    Sent: Thursday, September 07, 2000 9:10 AM
    To: Forte-userslists.xpedior.com
    Subject: (forte-users) Problem wrapping LDAP access
    We're running into problems wrapping C functions that access LDAP in
    Forte. We are using the Netscape Directory SDK for C (Version 4.0) and
    have written and compiled C code (on Solaris 2.6) into a shared library
    that calls out to the Netscape LDAP shared library. The problems arise
    once they are Forte-wrapped...
    I can see from several status messages that I have within both the C
    functions and the TOOL code that everything is working as it should,
    however, Forte locks up upon completing any of the functions, and I
    sometimes get a "libc internal error - rmutex not held" error message.
    The multithreaded property for this C project is set to FALSE.
    Any insights/tips would be appreciated...
    For the archives, go to: http://lists.xpedior.com/forte-users and use
    the login: forte and the password: archive. To unsubscribe, send in a new
    email the word: 'Unsubscribe' to: forte-users-requestlists.xpedior.com

  • Problem with installing free App (Everything is fine, bur we had a small problem getting your license)

    Hello,
    We have free App for SharePoint Online. Some our customers have problems with the installation. After install they see an issue with obtaining a license which should be free.
    "Everything is fine, bur we had a small problem getting your license. Please go back to the SharePoint store to get this app again and you won't be charget for it."
    See the screen:
    How can we resolve the issue?
    Thank you!
    Our App: "Resource Reservation"
    https://store.office.com/resource-reservation-WA104276770.aspx

    Hi Gabe,
    First, please check the suggestion above is helpful. I also suggest you removing all version of Office and re-install Office 2013.
    We can try to run the application as an administrator and check if it works.
     1. Right click the shortcut of the application or the main application.
     2. Select properties.
     3. Select compatibility tab and select "Run this program as an administrator."
    If there is anything I can do for you about this issue, don't hesitate to tell me.
    Best regards,
    Greta Ge
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Small problem in refreshing JFrame

    Please help me in sorting out this small problem. I called a function on a button click. In that function i tried to change the text on a button initially then i have some code to execute and then again i set other text to the same button. But iam not able to see the initial text while execution. It is as follows
    jbut.addActionListener(new ActionListener(){
    public void actionPerformed(ActionEvent ae)
    connectServer(); //The function that i called
    //conncetServer function
    public void connectServer
    jbut.setText("Please Wait");
    // jbut.validate();
    try{
    Thread.sleep(10000);
    }catch(Exception e)
    jbut.setText("Disconnect");
    // jbut.validate(); This i tried
    But i am not able to see the please wait label on the screen i tried in several ways. can anyone of you tell me how to solve it..

    Hi, Problem is Gui manages its own Thread, so once u invoke a process, until it finishes GUI won't get refreshed. 2 ways to handle it.
    1. Either use SwingUtilities.invokeLater method
    Example Code.
    jbut.addActionListener(new ActionListener(){
    public void actionPerformed(ActionEvent ae)
    jbut.setText("Please Wait...");// set the text
    Runnable connectServerThread = new Runnable(){
    public void run()
    connectServer();
    jbut.setText("");// return back to normal.
    SwingUtilities.invokeLater(connectServerThread);
    or
    2. Implement Runnable interface in ur class and invoke the same inside run method. It will definitely work since i checked it.
    Example code.
    Thread connectServerThread = null;
    jbut.addActionListener(new ActionListener(){
    public void actionPerformed(ActionEvent ae)
    connectServerThread = new Thread(this);
    connectServerThread.start();
    public void run()
    // set the label visible here.
    jbut.setText("Please Wait...");
    // invoke server process.
    connectServer();
    // hide the label or button here.
    jbut.setText("");
    Sreni.

  • Problem with Table Access Full

    Hi,
    Please help me how to resolve the problem of table access full, when i am executing query i facing a problem with these. all though i have create index on these is queru but execution time taking too late.
    Also please help if there any syntax to run faster execution.
    Thanks in Advance
    Sreenivas

    Hi,
    Please try to analyze your tables once with DBA's help.
    If the above does not work, try to use hints which will force use the index created on the column.
    Do not use any conversion functions on that column, in the where clause while checking any condition.
    If you are storing numbers in a character column, try to have the conditional value as character value in where clause instead of number type.
    Thanks and Regards,
    Sridhar.

  • Small problem

    I am very new to java, and having a small problem:
    When i click on a button, i want the buttons name to be displayed
    in a text field, saying "You have pressed" then the name of the button.
    but i want to do this with multiple buttons and not just one button, so i want to be able to press any button and its name to be displayed in a text field.
    your help will be appreciated

    Sorry if i did not display code, thanks to all those who replied, heres some of the code, if i have gone wrong in any where could you please help me too correct, i think you will have a general idea of what i am trying to achieve:
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.Button;
    import java.lang.Object;
    public class Calculator extends Applet implements ActionListener
    Button b1 + b2 + b3 + b4 + b5 + b6 + b7 + b8 + b9 + b10 + b11 + b12 + b13 + b14 + b15 + b16 + b17 + b18;
    setLayout(new GridLayout(5,4));
    public void init( );
    Button b1 = new Button( "1" );
    b1.addActionListener ( this );
    add(b1);
    Button b2 = new Button( "2" );
    b2.addActionListener ( this );
    add( b2 );
    Button b3 = new Button( "3" );
    b3.addActionListener ( this );
    add( b3 );
    Button b4 = new Button( "4" );
    b4.addActionListener ( this );
    add( b4 );
    Button b5 = new Button( "5" );
    b5.addActionListener ( this );
    add( b5 );
    Button b6 = new Button( "6" );
    b6.addActionListener ( this );
    add( b6 );
    Button b7 = new Button( "7" );
    b7.addActionListener ( this );
    add( b7 );
    Button b8 = new Button( "8" );
    b8.addActionListener ( this );
    add( b8 );
    Button b9 = new Button( "9" );
    b9.addActionListener ( this );
    add( b9 );
    Button b10 = new Button( "10" );
    b10.addActionListener ( this );
    add( b10 );
    Button b11 = new Button( "+" );
    b11.addActionListener ( this );
    add( b11 );
    Button b12 = new Button( "-" );
    b12.addActionListener (this );
    add( b12 );
    Button b13 = new Button( "x" );
    b13.addActionListener ( this );
    add( b13 );
    Button b14 = new Button( "/" );
    b14.addActionListener (this );
    add( b14 );
    Button b15 = new Button( "MC" );
    b15.addActionListener ( this );
    add( b15 );
    Button b16 = new Button( "MR" );
    b16.addActionListener ( this );
    add( b16 );
    Button b17 = new Button( "M+" );
    b17.addActionListener ( this );
    add( b17 );
    Button b18 = new Button( "c" );
    b18.addActionListener ( this );
    add( b18 );
    after this i get stuck, i don't know how to create a small text field that syas you have pressed (then the button name) if this coding is wrong, can you please explain what i have done wrong!
    Thanks

  • Small problem led to big problem

    I had a few contacts that existed on my Centro which did not exist on my desktop.  So I contacted the Palm Chat Support.  The person who helped me had me perform several things which eventually led to my phone getting stuck in a loop.  Things were not getting better so I asked to be transferred to a supervisor.  The supervisor told me the only solution was a hard reset.  I finally agreed to this.  Now when I reinstall any applications (not third-party) such as calendar or address book, my phone won't come on.  I can see the calendar or the address book but when I go to turn on the phone, it goes back into the endless loop.  A soft reset will not take it out of the loop, only a hard reset.  When I do a hard reset, I then have the ability to use the phone again but I have no data in my calendar, address book, etc.  So essentially I have either a PDA or a Phone--but I can't have both.  This started as a very small problem (a few missing contacts which I could have probably/should have probably just manually entered into the desktop).  Now I have a very big problem, simply b/c of what I was directed to do by Support.  Is there any hope?
    Post relates to: Centro (AT&T)

    There could be to issues going on here that you are having this result. One thing could be corrupted data such as your contacts or calendar, the other could be corrupted programs that are coming back from a hotsync.
    The first I would like to troubleshoot as it is the easiest. To fix this what we need to do is hard reset your device. The instructions to do that is here http://kb.palm.com/wps/portal/kb/common/article/887_en.html this tells you how to do all types of resets. Also, what we need to do is rename your backup folder. What this folder is, it hold all your programs from the last time you synced your PC. On your computer go here
    Palm Desktop 4.2 and below
    My Computer--> C drive --> Program files --> Palm/PalmOne--> your hotsync username
    Palm Desktop 6.2.2
    My Documents/Documents --> Palm OS Desktop --> your hotsync username
    Right click on your backup folder and rename it to "backupOld". Resync your device to the same user name and you will get all your contacts, calendar, tasks, and memos.
    You can install the programs again but make sure they are compatible with the device. Also try one program again and wait 24 hours to see if the same thing happens again. This way you know what program is causing the issue.
    If you have any questions about this or if this does not work please post back.

  • Problem With Site Access

    Hi guys,
    I've been trying to access the Market Place as well as my account at: www.renderosity.com, but when I click to the Market Place on the link I get the message below (included also is my correspondence with the site's admin). I can access the rest of the site with no seeming problem. And it seems to be only that site that I have been having problems with. I have Java enabled and the block pop-up is unchecked. But it is only with that site that I am having problems with. They have had no reports of any problems from their side. Thanks for any help. Please reply to my other e-mail: [email protected]
    Cheers;-)
    Michael
    404 Not Found
    http://219.235.223.223/forbid.htm
    Not Found
    The requested URL /forbid.htm was not found on this server.
    Apache/1.3.22 Server at WebRoad Port 80
    Hi Michael,
    Do you have javascript enabled? Are you running any security software?
    Karen
    Michael Boatwright wrote:
    Hi Karen,
    I finally managed to get through to the Market Place, but this is how the page looked (See Attached image). Any ideas? I still cannot get into my account though.
    Hi Michael,
    I've never seen that url before which is why I got confused.
    Try this one and let me know if you have problems.
    http://market.renderosity.com/
    Regards,
    Debbie Montique
    MarketPlace Manager
    Michael Boatwright wrote:
    Hi Deb,
    and thanks for the quick reply. That URL is what shows up when I click on the Market Place Home. Maybe it's just temporary. I certainly hope so! I've never had this problem before. I guess time will tell. Thanks again.
    Cheers,
    Michael
    Hi Michael,
    We're not aware of any problem on the site. Can you please give me the exact URL that you are trying to access?
    Additionally, it may be helpful if you log out of Renderosity, empty your cookies and cache on your browser, and then sign back in and see if that resolves the problem.
    Kind regards,
    Karen Janes
    Renderosity Admin Team
    Michael Boatwright wrote:
    Hi guys,
    I have never had problems before with access to any part of Rendo and even now I can access parts of your site, but I can neither access my account nor the market place. Is there something going on from your end? Here is the message that I'm getting when I try to get to those parts of the site that I just mentioned:

    Hi Ayesh,
    Per my test, it seems that the Site Collection Access is only available for the local group of that site collection which is used to store the site collection local term sets.
    To make the site collection local group available, please refer to the steps in the link below:
    http://www.dotnetsharepoint.com/2013/10/how-to-get-site-collection-local-term.html#.U-PVOvmSyd5
    After that, you will see the Site Collection Access when you click the group in Term Store Management.
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

Maybe you are looking for

  • How can I get a refund for a album

    How can I get a refund for a album I bought at the music store...If I can? Reason being I hit the wrong Buy button. Actually, I've had original CD already.

  • Printing from Lightroom (2.5 - 3) into Adobe Acrobat 9

    I just wanted to post that I have been searching for an answer about errors when printing from Lightroom to Acrobat. When I went to Win7 64 bit Professional and CS5 Design Premium two weks ago - all the problems started. Looking at the forums - I fou

  • Approval for purchase order

    Hi all I have set approval for purchase oder , my problem is that when i create a purchase order using purchase order form it is going for the approval but when i created through code it is not going for the approval . Any solution for this. Thanks i

  • [SOLVED] Installing to existing LVM set up

    Hi all, I have tried looking for this and the info is getting slightly confusing. I have a system with various Linux distributions using LVM. I want to install Arch by creating a new logical volume for it, but the installer cannot even see the PV par

  • Regain keyboard focus from extension panel!

    Illustrator. Mac OS. If ANYBODY know any sort of HACK or workaround for this, please share. A workaround NEEDS to be made public so other poor souls like myself don't have to bang their heads quite as hard. Once I have this figured out I will write a