Hiding an application when logging in
I have setup my system to mount my Buffalo NAS device at boot up.
Each time it displays the volume even though I checked "Hide" in the Accounts section under system preferences.
Is there a way to have a silent mount or background mount so only the icon appears and not the view of volume?
It's a slight annoyance as I have to minimize each volume.
ej
Take a look at V.K.'s post in this thread:
*All Network Volumes set as Login Items open in Finder on EVERY startup*
http://discussions.apple.com/thread.jspa?messageID=10511740
Similar Messages
-
Not getting planning Applications when Log on Work space
Hi Dear Experts,
when log on Workspace to access Planning:
its show showing
Navigate ->Administration->User management
instead if Select Navigate > Applications > Planning
and iam not getting planning Applications when Log on Work space
I have Just Installed Essbase and Planning into my machine .. and i have opened work space area and
and i tried to create first application by using the following URL
http://localhost:8300/HyperionPlanning/AppWizard.jsp
iam getting not able create first application..
can you please guide me how can i work with planing applications..
thanks in advance
KishoreHi Kishore.
From config utility, did you create an instance before trying to access.
I mean "product instance registration" and "data source configuration"
You can find it in the installation doc
Sandeep Reddy Enti
HCC
http://analytiks.blogspot.com -
My MacBook Air becomes unresponsive when logging in, and I decided to reinstall OS X Lion. When running the installer from OS X Recovery, it gave the error message "An error occurred while preparing the installation. Try running this application again."
Checking in the log revealed the following error:
Can not connect to /var/run/systemkeychaincheck.socket: No such file or directory
Error!! Error Domain=NSURLErrorDomain Code=-1202 "UNTRUSTED_CERT_TITLE" UserInfo=0x1086bec80 {NSLocalizedDescription=UNTRUSTED_CERT_TITLE, NSLocalizedFailureReason=UNTRUSTED
The rest of the line is cutted off. Does anyone know what went wrong and how to fix it ?
I encountered the same exact problem when I attempted to re-installed OSX Lion on an old laptop. The date was set back in 2000, which rendered the certificate obsolete. Here's how I fixed it:
From the recovery menu, select the Terminal application. Run the 'date' command to confirm the date is wrong, then set the correct date using this command: date {month}{day}{hour}{minute}{year}
e.g. date 1219195613
Exit terminal (type exit). Retry the installation.
I encountered the same exact problem when I attempted to re-installed OSX Lion on an old laptop. The date was set back in 2000, which rendered the certificate obsolete. Here's how I fixed it:
From the recovery menu, select the Terminal application. Run the 'date' command to confirm the date is wrong, then set the correct date using this command: date {month}{day}{hour}{minute}{year}
e.g. date 1219195613
Exit terminal (type exit). Retry the installation.
Application alias shows up only when logged in as SYS
Oracle 11gR2
APEX 4.2.3
RHEL 6.3
select *
from apex_applications
where workspace = 'MY_WORKSPACE';
-- 0 rows
When logged into APEX as a user with a workspace assigned (MY_WORKSPACE) that contains an application (and an application alias), no rows are returned when given the application alias in the query above (see the above SQL).
But log in as SYS and the application alias is there -- i.e. a row is returned.
What could be causing this?
Many dictionary views limit rows returned by level of access.
For instance, schema owners will only see applications related to the workspace their associated with.
Some views won't let you see any rows unless you're querying via APEX (not SQL Developer), eg: apex_application_files
Im logged into my account but i cant access my applications when i click them im recommended a thirty day trial for the applications that i already pay for i bought the full suite in november for the 2014-2015 school year i NEED access to my applications
Some general information for a Cloud subscription
Log out of your Cloud account... Restart your computer... Log in to your paid Cloud account
-Sign in help http://helpx.adobe.com/x-productkb/policy-pricing/account-password-sign-faq.html
-http://helpx.adobe.com/x-productkb/policy-pricing/activation-network-issues.html
-http://helpx.adobe.com/creative-suite/kb/trial--1-launch.html
or
This is an open forum, not Adobe support... you need Adobe staff support to help
Adobe contact information - http://helpx.adobe.com/contact.html
-Select your product and what you need help with
-Click on the blue box "Still need help? Contact us"
I installed Yosemite and now my computer is slow when logging in. Also when I type my password, a bar appears measuring the process and then all of a sudden the screen images are distorted. After that my home screen appears and everything seems normal. What can I do to fix this?
Here is what the etrecheck results are:
Problem description:
slow at start up, screen is distorted while logging in, it is fine after
EtreCheck version: 2.1.8 (121)
Report generated April 5, 2015 at 9:42:01 AM PDT
Download EtreCheck from http://etresoft.com/etrecheck
Click the [Click for support] links for help with non-Apple products.
Click the [Click for details] links for more information about that line.
Hardware Information: ℹ️
MacBook Pro (13-inch, Early 2011) (Technical Specifications)
MacBook Pro - model: MacBookPro8,1
1 2.3 GHz Intel Core i5 CPU: 2-core
4 GB RAM Upgradeable
BANK 0/DIMM0
2 GB DDR3 1333 MHz ok
BANK 1/DIMM0
2 GB DDR3 1333 MHz ok
Bluetooth: Old - Handoff/Airdrop2 not supported
Wireless: en1: 802.11 a/b/g/n
Battery Health: Normal - Cycle count 297
Video Information: ℹ️
Intel HD Graphics 3000 - VRAM: 384 MB
Color LCD 1280 x 800
System Software: ℹ️
OS X 10.10.2 (14C109) - Time since boot: 0:7:0
Disk Information: ℹ️
Hitachi HTS545032B9A302 disk0 : (320.07 GB)
EFI (disk0s1) <not mounted> : 210 MB
Recovery HD (disk0s3) <not mounted> [Recovery]: 650 MB
Macintosh HD (disk1) / : 318.84 GB (174.85 GB free)
Encrypted AES-XTS Unlocked
Core Storage: disk0s2 319.21 GB Online
MATSHITADVD-R UJ-898
USB Information: ℹ️
Apple Inc. Apple Internal Keyboard / Trackpad
Apple Inc. BRCM2070 Hub
Apple Inc. Bluetooth USB Host Controller
Apple Inc. FaceTime HD Camera (Built-in)
Apple Computer, Inc. IR Receiver
Thunderbolt Information: ℹ️
Apple Inc. thunderbolt_bus
Gatekeeper: ℹ️
Mac App Store and identified developers
Kernel Extensions: ℹ️
/System/Library/Extensions
[not loaded] com.devguru.driver.SamsungComposite (1.1.0) [Click for support]
[not loaded] com.logmein.driver.LogMeInSoundDriver (1.0.3 - SDK 10.5) [Click for support]
/System/Library/Extensions/ssuddrv.kext/Contents/PlugIns
[not loaded] com.devguru.driver.SamsungACMControl (1.1.0) [Click for support]
[not loaded] com.devguru.driver.SamsungACMData (1.1.0) [Click for support]
Startup Items: ℹ️
HP Trap Monitor: Path: /Library/StartupItems/HP Trap Monitor
Startup items are obsolete in OS X Yosemite
Problem System Launch Daemons: ℹ️
[failed] com.apple.ucupdate.plist
[failed] com.apple.watchdogd.plist [Click for details]
Launch Agents: ℹ️
[not loaded] com.google.keystone.agent.plist [Click for support]
[not loaded] com.hp.help.tocgenerator.plist [Click for support]
[not loaded] com.logmein.LMILaunchAgentFixer.plist [Click for support]
[not loaded] com.logmein.logmeingui.plist [Click for support]
[not loaded] com.logmein.logmeinguiagent.plist [Click for support]
[not loaded] com.logmein.logmeinguiagentatlogin.plist [Click for support]
Launch Daemons: ℹ️
[not loaded] com.adobe.fpsaud.plist [Click for support]
[not loaded] com.google.keystone.daemon.plist [Click for support]
[not loaded] com.logmein.logmeinblanker.plist [Click for support]
[not loaded] com.logmein.logmeinserver.plist [Click for support]
[not loaded] com.logmein.raupdate.plist [Click for support]
[not loaded] com.microsoft.office.licensing.helper.plist [Click for support]
User Launch Agents: ℹ️
[not loaded] com.adobe.ARM.[...].plist [Click for support]
[not loaded] com.facebook.videochat.[redacted].plist [Click for support]
[not loaded] com.google.GoogleContactSyncAgent.plist [Click for support]
User Login Items: ℹ️
iTunesHelper UNKNOWN Hidden (missing value)
AdobeResourceSynchronizer Application Hidden (/Applications/Adobe Reader.app/Contents/Support/AdobeResourceSynchronizer.app)
Android File Transfer Agent Application (/Users/[redacted]/Library/Application Support/Google/Android File Transfer/Android File Transfer Agent.app)
HP Product Research Application (/Library/Application Support/Hewlett-Packard/Customer Participation/HP Product Research.app)
HPEventHandler Application (/Library/Printers/hp/hpio/HPEventHandler.app)
Internet Plug-ins: ℹ️
o1dbrowserplugin: Version: 5.40.2.0 - SDK 10.8 [Click for support]
LogMeInSafari64: Version: 1.0.660 [Click for support]
Default Browser: Version: 600 - SDK 10.10
Silverlight: Version: 5.1.10411.0 - SDK 10.6 [Click for support]
FlashPlayer-10.6: Version: 17.0.0.134 - SDK 10.6 [Click for support]
LogMeIn: Version: 1.0.660 [Click for support]
Flash Player: Version: 17.0.0.134 - SDK 10.6 [Click for support]
LogMeInSafari32: Version: 1.0.660 [Click for support]
QuickTime Plugin: Version: 7.7.3
googletalkbrowserplugin: Version: 5.40.2.0 - SDK 10.8 [Click for support]
AdobePDFViewer: Version: 10.0.1 [Click for support]
SharePointBrowserPlugin: Version: 14.1.0 [Click for support]
iPhotoPhotocast: Version: 7.0 - SDK 10.7
3rd Party Preference Panes: ℹ️
Flash Player [Click for support]
Time Machine: ℹ️
Time Machine not configured!
Top Processes by CPU: ℹ️
7% ocspd
4% WindowServer
1% kextd
0% ps
0% securityd
Top Processes by Memory: ℹ️
137 MB Microsoft Word
120 MB Safari
86 MB ocspd
82 MB CalendarAgent
77 MB WindowServer
Virtual Memory Information: ℹ️
310 MB Free RAM
1.89 GB Active RAM
1.55 GB Inactive RAM
544 MB Wired RAM
1.13 GB Page-ins
8 KB Page-outs
Diagnostics Information: ℹ️
Apr 5, 2015, 09:32:47 AM Self test - passed
Apr 5, 2015, 09:30:05 AM /Users/[redacted]/Library/Logs/DiagnosticReports/AdobeResourceSynchronizer_2015 -04-05-093005_[redacted].crash
Apr 4, 2015, 01:12:41 PM /Users/[redacted]/Library/Logs/DiagnosticReports/AdobeResourceSynchronizer_2015 -04-04-131241_[redacted].crash
Apr 4, 2015, 08:13:57 AM /Users/[redacted]/Library/Logs/DiagnosticReports/AdobeResourceSynchronizer_2015 -04-04-081357_[redacted].crash
Reinstalling OS X Without Erasing the Drive
Boot to the Recovery HD: Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
Reinstalling OS X Without Erasing the Drive
Repair the Hard Drive and Permissions: Upon startup select Disk Utility from the main menu. Repair the Hard Drive and Permissions as follows.
When the recovery menu appears select Disk Utility and press the Continue button. After Disk Utility loads select the Macintosh HD entry from the the left side list. Click on the First Aid tab, then click on the Repair Disk button. If Disk Utility reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit Disk Utility and return to the main menu.
Reinstall OS X: Select Reinstall OS X and click on the Continue button.
Note: You will need an active Internet connection. I suggest using Ethernet if possible because it is three times faster than wireless.
Alternatively, see:
Reinstall OS X Without Erasing the Drive
Choose the version you have installed now:
OS X Yosemite- Reinstall OS X
OS X Mavericks- Reinstall OS X
OS X Mountain Lion- Reinstall OS X
OS X Lion- Reinstall Mac OS X
Note: You will need an active Internet connection. I suggest using Ethernet
if possible because it is three times faster than wireless.
Error when logging on (MSG_LOGIN_FAILURE)
Dear Friends,
I am configuring a SOAP TO RFC scenario.
1.)I have generated a WSDL file .while testing through the SOAP UI tool I am getting a empty response from SAP .
2) While debugging the application I found when i double click on the SENDER INTERFACE IN THE RECEIVER DETERMINATION in ID.
Its throwing a error saying:-
ERROR IN LOGGING:-
Details
Error when logging on (MSG_LOGIN_FAILURE)
MESSAGE ID: com.sap.aii.ib.gui.script.rb_all.MSG_LOGIN_FAILURE
STACKTRACE:
com.sap.aii.ib.gui.script.LoginException: Error when logging on
at com.sap.aii.ib.gui.script.ScriptServer.open(ScriptServer.java:51)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
at sun.rmi.transport.Transport$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Unknown Source)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown Source)
at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
at sun.rmi.server.UnicastRef.invoke(Unknown Source)
at com.sap.aii.ib.gui.script.ScriptServer_Stub.open(Unknown Source)
at com.sap.aii.ib.gui.script.ScriptClient$OpenRunnable.run(ScriptClient.java:75)
at com.sap.aii.utilxi.misc.thread.ThreadPool$ThreadPoolThread.run(ThreadPool.java:321)
3)Is it due to this I am not getting response or something wrong in mapping:----
Please help !!!!
Thanks,
jeevan.
Hi,
>>>1.)I have generated a WSDL file .while testing through the SOAP UI tool I am getting a empty response
did you put the user/pass details in SOAP UI while executing the call?
you can do in the the SOAP UI attributes on the left and down corner
you need to put user and pass otherwise XI will not accept the call
Regards,
Michal Krawczyk
LC_NUMERIC and LC_TIME bash warning when logging into TTY
I recently re-installed Arch after bouncing around a few distributions, and ever since I completed the install, I've had the following error when logging in to the TTY (only there, never noticed it anywhere else). Specifically, the error reads:
-bash: warning: setlocale: LC_NUMERIC: cannot change locale ()
-bash: warning: setlocale: LC_NUMERIC: cannot change locale ()
-bash: warning: setlocale: LC_TIME: cannot change locale ()
-bash: warning: setlocale: LC_TIME: cannot change locale ()
Output of locale:
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
locale -a
C
en_US.utf8
POSIX
en_US.UTF-8 is also uncommented in locale.gen, and it's been generated. I haven't gotten any locale errors in any application I use, and it only appears before the prompt after logging in to a TTY screen. I've also not set those variables to anything else in /etc/profile, /etc/bash.bashrc, .profile/.bashrc. Logging into the root user instead of my user account does not result in the errors. Also, it seems from the error that the locales are being set to "", and I can't for the life of me figure out where it's coming from. I've searched the forums for similar problems, and most of these errors included warnings about files and folders not existing, which doesn't happen here, and were resolved by re-generating the locale (I've tried it, no change). The only one that came close was an old forum thread about guarddog generating a different set of locale's using incorrect locale definitions, which resulted in the same errors. If anyone has a suggestion as to how to fix this (or a handy trick for finding all files where locales are set), I'm open to them.
.bashrc:
# .bashrc (2013, Dec 11)
[ -z "$PS1" ] && return
# set a fancy prompt (non-color, unless we know we "want" color)
case "$TERM" in
xterm-color) color_prompt=yes;;
esac
if [ -n "$force_color_prompt" ]; then
if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then
# We have color support; assume it's compliant with Ecma-48
# (ISO/IEC-6429). (Lack of such support is extremely rare, and such
# a case would tend to support setf rather than setaf.)
color_prompt=yes
else
color_prompt=
fi
fi
if [ "$color_prompt" = yes ]; then
PS1="\[\e[0;37m\]⮀\[\e[0;32m\]\u\[\e[0;36m\]@\[\e[0;32m\]\h\[\e[0;37m\]:\[\e[0;33m\] \W\[\e[0;37m\]\[\e[0;37m\]\$\[\e[0m\] "
else
PS1="\[\e[43m\]\[\e[31m\]\u\[\e[0;33m\]\[\e[46m\]⮀\[\e[34m\]\h\[\e[0;36m\]\[\e[47m\]⮀\[\e[33m\]\W\[\e[0;37m\]⮀\[\e[0m\] "
fi
unset color_prompt force_color_prompt
# Alias definitions.
# You may want to put all your additions into a separate file like
# ~/.bash_aliases, instead of adding them here directly.
# See /usr/share/doc/bash-doc/examples in the bash-doc package.
#if [ -f ~/.bash_aliases ]; then
# . ~/.bash_aliases
#fi
# enable color support of ls and also add handy aliases
if [ "$TERM" != "dumb" ] && [ -x /usr/bin/dircolors ]; then
eval "`dircolors -b`"
alias ls='ls --color=auto'
#alias dir='ls --color=auto --format=vertical'
#alias vdir='ls --color=auto --format=long'
#alias grep='grep --color=auto'
#alias fgrep='fgrep --color=auto'
#alias egrep='egrep --color=auto'
fi
##custom aliases
alias ls="ls -la --color=always --classify"
alias lh='\ls -a --classify | grep "\."'
alias halt="sudo shutdown -P now"
PATH=$PATH:$HOME/.rvm/bin:$HOME/.gem/ruby/2.0.0/bin # Add RVM to PATH for scripting
.profile:
# ~/.profile: executed by the command interpreter for login shells.
# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login
# exists.
# see /usr/share/doc/bash/examples/startup-files for examples.
# the files are located in the bash-doc package.
# the default umask is set in /etc/profile
#umask 022
# if running bash
if [ -n "$BASH_VERSION" ]; then
# include .bashrc if it exists
if [ -f "$HOME/.bashrc" ]; then
. "$HOME/.bashrc"
fi
fi
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then
PATH="$HOME/bin:$PATH"
fi
PATH="$PATH:/usr/local/sbin"
PATH="$PATH:/usr/local/bin"
An update:
I've tried explicitly exporting both variables with en_US.UTF-8 in my bashrc, which has resulted in no change whatsoever. Checking the value of these variables from my running system yields an empty return (i.e. the variables aren't set). Can someone let me know if these variables are set on their system? If they are, I'll see if I can set them manually and if that resolves the issue.
Capturing Application Error log from SXMB_Moni
Hi,
I wanted to capture the error information from Application error log from ECC sxmb_moni and forward that as email alert.
We have already alert configuration in place with alert category using standard variables. Was wondering if I have to capture application error log from sxmb_moni what would be steps involved. Please let me know if anybody has worked on this and appreciate your help on this.
Sample Error message from sxmb_moni of ECC system
MT_Fault
Error in Application System
Detailed Information
Process Order invalid
Thanks
Selvam
Edited by: Selvam_muthu on Jun 23, 2011 5:40 PM
Hi Selvam,
As the exception is raised in ECC system, alert cannot be trigger, alert will get trigger when there is a error in PI system. To raise a email, write additional code in ECC to trigger the e-mail with proper error content
How do I enable "reopen windows when logging back in" in OS 10.8.5?
I am one of the few people who actually liked that when I shut down at the end of the day I could go back to the same state when I logged back in.
Is there an option to restore the "reopen windows when logging back in" in OS 10.8.5?
The exact item you asked for, [√] Re-Open windows When logging back in ...
... is on the Logout screen. Logout and make sure that box is checked, then log back in again.
A related item is in
System preferences > General ...
[√] Close windows when quitting an Application
--When selected, open documents and windows will not be restored when you re-open an Application
Hello,
This is regarding the following event logged by my application (MyApp.exe) to the application event log:
Log Name: Application
Source: MyApp
Date: 03/2/2015 12:00:09 PM
Event ID: 0
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: Rajesh
Description:
The description for Event ID 0 from source MyApp cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
If the event originated on another computer, the display information had to be saved with the event.
I have confirmed that the key "EventMessageFile" in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\eventlog\Application\MyApp correctly specifies the "dll" responsible for displaying events.
I would appreciate suggestions on the above.
Best Regards,
Rajesh K Singh
Hi All,
can you provide solution on below error.
The description for Event ID 17052 from source MSSQLSERVER cannot be found
Severity: 16 Error:0, OS: 0 [Microsoft][SQL Server Native Client 10.0]Unable to complete login process due to delay in opening server connection
Thanks in advance.
Vijay
Check below thread, information is not complete to actually comment what were you doing when you got this message.refer errorlog for more details
http://social.msdn.microsoft.com/Forums/en-US/9a41ced9-19ad-4c4f-83ac-7e877b699a8f/login-failure-error-in-event-log-daily
Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it.
My TechNet Wiki Articles
Local apps crash when logged in as Xserve user - HELP!
I run a new elementary school mac lab: 24 eMacs (OS 10.4.2) as managed users/groups with remote home directories on an Xserve. We run the programs locally and save to the server. Many of our apps are crashing leaving the OS fine. These are new OSX educational titles from various quality vendors including The Learning Company (Kid Pix Deluxe 4, Storybook Weaver Deluxe) and Tom Snyder Productions (Neighborhood Map Machine). And these are the only apps run so far! Our eMacs have 512 MB Ram. I use an iMac G5 with 1GB Ram as the instructor. These apps quit ALOT; however, when logged in as an administrator to the local machine, the apps do NOT quit. I've tried the various solutions posted in the Tiger discussions regarding font removal and system cache cleaning...to no avail. I'm beginning to think it may be server-related. HELP!!!
"System Administrator" is the system access for the xserve. "Administrator" is your system access for the user/client computers, when logged in as that, it allows you access to the system "no restriction". I use one "name" for system access for all servers and clients on campus. I have alot of older applications that we run that have their own issues but not permissions, they run under OS 9. Newer apps like Mavis Beacon16 and Carmen SanDiego I had to tweak, I run them server based. I assume you have Apple Remote Desktop running. Set one of your lab computers up as a back up administrator/tester with ARD and all the server apps installed. I had all my new iMac G5 go bad (Bad Capacitors) and they were my Admin computers. Tweak one app at a time, get it running the way you want it to. Have a student abuse/test the app. Once it works correctly shoot the app to the other clients via ARD. This way your only fixing on machine. Setting Read/Write is a quick fix to get them up and running, But you are opening up the applications to the students who a very creative and never read dialog boxes. If you leave them open you will have to reinstall them occasionally to get them working again. I have had students change the name of a file and the app quits working. That is the major problem of Read/Write.
otto
Application specific logging with Log4j on weblogic 8.1
Hi,
For a few days now, I have been trying to implement application specific logging using Log4j (1.2.x) for my 3 applications running on the same server (8.1.6). All three application war files are generated from same source. I followed the example of Jboss in setting up the Hierarchy for logging using RepositorySelector. In my case Java class which implements RepositorySelector is loaded through ServletContextListener from jar file placed in WEB_INF/lib folder and log4j.properties file is in WEB-INF folder of each application.
Independent logging of each application takes place correctly, if the applications are deployed from console. However logging fails if weblogic is shutdown and restarted, in this case logging takes place from 2 classes only implementing filters of each application. Logging from other classes is not taking place. I am spinning my wheels on this and can't seem to figure out what the issue is.
Thanks for any help...below is the snippet of code
Sohan
public static synchronized void init(ServletContext config, String strLogProperties, String webAppName)
throws ServletException {
if( !initialized ) // set the global RepositorySelector
defaultRepository = LogManager.getLoggerRepository();
RepositorySelector theSelector = new MyRepositorySelector();
LogManager.setRepositorySelector(theSelector, guard);
initialized = true;
Hierarchy hierarchy = new Hierarchy(new RootCategory(Level.DEBUG));
loadLog4JConfig(config, hierarchy, strLogProperties, webAppName);
ClassLoader loader = Thread.currentThread().getContextClassLoader();
repositories.put(loader, hierarchy);
config.setAttribute("hierarchy", hierarchy );
public LoggerRepository getLoggerRepository() {
ClassLoader loader = Thread.currentThread().getContextClassLoader();
LoggerRepository repository = (LoggerRepository)repositories.get(loader);
if (repository == null) {
return defaultRepository;
} else {
return repository;
public void LogInit(ServletContext ctx) throws ServletException {
System.out.println("\n\n---------------Log4jInit---------------\n\n");
String strLogProperties = ctx.getInitParameter("Log4JProperties");
System.out.println("Log4j properties " + strLogProperties);
String webAppName = ctx.getInitParameter("LogFileName");
System.out.println("App log File name " + webAppName);
if (webAppName == null ) {
webAppName = getWebAppName(ctx);
System.out.println("Application name = " + webAppName);
MyRepositorySelector.init(ctx, strLogProperties, webAppName);
LOG = Logger.getLogger(this.getClass());
LOG.info("Log message from Log4jInit ServletContextListener");
System.out.println("\n\n---------------Log4jInit: Complete---------------\n\n");
}
Has anyone been able to get around the "Export of object xxx barred" error when
trying to access the object?
Thanks,
Kevin
"Koua" <[email protected]> wrote:
>
I have the same problem when adding listener for COM events. I think
it's a bug
in Weblogic. It seems that no one can help.
Teresa Canales <[email protected]> wrote:
Hi,
I am getting the following error. I am not sure how to fix this. I
looked in everywhere on the admin console and couldn't find anything.
The following is what I am getting....
BEA-210000 Apr 14, 2004 11:05:42 AM EDT servicelayertrain
Error COM Export of object: com.symphonyhealth.user.facade.ejb.User_eecm3e_HomeImpl@2ba3e4
barred
Any help would be greatly appreciated.
Teresa
Cannot download OSX Maverick? My current system is Snow Leopard 10.6.8 and even when logged into the app store I'm getting the message that I can not download at this time. Try Later?
Are you connected via wifi? If so, and it is an option, try connecting using a ethernet cable. It sometimes seems to help as it can give a more reliable connection for the 5.3gb download.
If you do manage to download it you may want to make a copy of the installer file - which gets downloaded to the Applications folder - before running it as it self-deletes on successful installation. It may save you another monster download in the future.
VB Scripting to monitor application event log based on specific words.
Hi All,
I Have written, vb script to monitor application event log based on specific word in the message. when I have included same script in monitor, after running this script at specific time once in day, I am getting run time error in the server, where it
supposed to run, could you please check the command where I have highlighted in below script.
Dim VarSize
Dim objMOMAPI
Dim objBag
Set objMOMAPI = CreateObject("MOM.ScriptAPI")
Set objBag = objMOMAPI.CreateTypedPropertyBag(StateDataType)
Set objFSO = CreateObject("Scripting.FileSystemObject")
Const CONVERT_TO_LOCAL_TIME = True
Set dtmStartDate = CreateObject("WbemScripting.SWbemDateTime")
dtmStartDate.SetVarDate dateadd("n", -1440, now)' CONVERT_TO_LOCAL_TIME
strComputer = "."
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
Set colLoggedEvents = objWMIService.ExecQuery _
("SELECT * FROM Win32_NTLogEvent WHERE Logfile = 'Application' AND " _
& "EventCode = '100'")
For Each objEvent in colLoggedEvents
If InStr(LCase(colLoggedEvents.Message), "Message :Application A3 has been successfully processed for today") Then
X= "Success"
end if
Next
if X="Success" then
call objBag.AddValue("State","GOOD")
call objMOMAPI.Return(objBag)
wscript.quit()
Else
call objBag.AddValue("State","BAD")
call objMOMAPI.Return(objBag)
wscript.quit()
End If
By programming standards since as long as I can remember the use of the value of a variable to detect its Boolean state has been used.
Cast your mind back to strongly typed languages, e.g. Pascal.
I'll cast back to the very early days of the "C" language where all variables could be treated as "bool" without a cast. The is no more strongly type language than "C". "C" practically invented the standards for all modern languages.
When I was writin machine language we also used zero as false but many machines only tested the high bit for truthieness. The HP machines and Intel allowed a test to aggregate to the sign bit. Adding that flag to the test alloed tru for
an numeric value that was non-zero. A boool test was also used for a negative e switch. If you study micro language implementation you will find that this hardware design and the companion compiler design is ... well... by design. It is a
way of improving the completeness and usefulness of an instruction set.
Other langauges may require further decoration due to some mistaken desire to be better than perfect. That is like trying to change number theory by renaming addition to be "gunking" and forcing everyone to use multiplication when adding the same number
more than once. A Boolean test os a test of the flag bit with to without aggregation. Even if we test a bit in a word we still mask and aggregate. It is always the most primitive operation. It is also the most useful
operation when you finally realize that it is like an identity in math.
Use the language features that are designed in. They can help to make code much more flexible and logical.
By the way, Pascal also treats everything as Boolean when asked to.
¯\_(ツ)_/¯
Maybe you are looking for
-
Tv shows not showing on ipad in iOS 5
i have transferred tv shows from my imac to my ipad via itunes and all appears as it should on the itunes screen. the problem is that on my ipad there is no tv shows folder appearing, only a movies folder. when i change it back in itunes to a movie r
-
BT Infinity available at my exchange, still can't ...
OK I won't bore you all to much with the details of the quest to get an internet connection, but it basically goes like this. I moved address and when I tried to 'move' my BT Infinity service was told it was not available at my new address. I did a c
-
INTER COMPANY PURCHASING.......??
Hi MM Gurus, how to do purchasing inter company and without inter company with the same vendor. normalley when we create PO with inter company we r getting automatically Goods issuee also. but some time we need to create normal purchase order without
-
XML file data load to NW2004s-BI
HI, I am trying to load the XML file data to NW2004s-BI . I have created the file Data source, infosoucrce and data store object. I have maintained the transformation rule for data source and info source also for infosource and data store object. But
-
No Lights on ONT but cable boxes work (sort of)
So beginning yesterday we have no lights on our ONT. It is plugged into the wall in a working outlet. If you wish the emergency battery button, it comes to life for about 30a seconds, we have cable again, but then poof, everything turns off again (ph