SRW2024P config file issue
Hello there, we got a problem with our Linksys switch. What happened was, we wanted to restore a config from another switch (same) so we backed up the config and loaded it onto this current "dead" one. All we thought was going fine until the switch never came back up, and logging into the console was impossible as it wouldn't accept any of our passwords.
What we wish to accomplish is either a) reset the switch completely back to factory settings or b) get some sort of admin access. Both of those tasks are seeming to be impossible at the moment. I've upgraded the firmware using XMODEM which didn't help. What I've noticed with the switch (however I don't know if this is the problem) is that there's no startup-config file. I tried to upload a startup-config using XMODEM but the switch just won't save the config (yes there's enough space) as it asks me to Runtime or Diag after uploading to which I choose runtime and absolutely nothing happens. I've read that removing the startup-config file and rebooting the switch should allow me to log in using admin/blank, but again, that's not the case.
Spoke to Linksys support over in the States and they seem to not be very helpful. They said try upgrading the firmware but of course that hasn't helped at all. Doing an RMA is going to be very last option because we need to try and somehow get this switch into production in the next 2-3 days and I'm trying to avoid RMA which I was told might take 8-10 working days to get another switch. Suggestions?
Thanks in advance.
Hello, maybe this can help:
Is my understanding that logging in to the console is impossible as it won't recognized any of the passwords, so here is a link of how to reset the password back to factory defaults, it is pretty simple and it may get you going.
http://www.cisco.com/en/US/products/ps9967/products_qanda_item09186a0080a3636a.shtml
Hope this helps!
Similar Messages
-
Issues using multiple load-config files with ant
Hello,
Not sure if this is the correct place...
I am creating an ant build script to compile our flex application. I am trying to use the default flex-config by doing <load-config filename="${flex.sdkPath}/frameworks/flex-config.xml"/> and project specific config file add the datavisualization module and any other libraries we might need in the future. I am trying to do this as I don't want to modify the flex-config.xml
The issue I keep running into is I get a compiler error saying "unable to locate specified base class 'spark.comonents.application..". if I place the custome load-config file above the adobe default flex-config it gives errors stating it the "SeriesSlide" type
<mxmlc file="${project.sourcePath}/FBApp.mxml"
output="${project.output.binaryPath}/${project.output.fileName}.swf"
locale="en_US"
static-link-runtime-shared-libraries="false"
static-rsls="false"
use-network="true"
accessible="false"
debug="true">
<load-config filename="${flex.sdkPath}/frameworks/flex-config.xml"/>
<load-config filename="C:/Hudson/.hudson/jobs/FB 2.0 Flex/workspace/FBApp/FB-config.xml"/>
<source-path path-element="${flex.sdkPath}/frameworks/libs"/>
<source-path path-element="${project.sourcePath}"/>
<library-path dir="${flex.path}/sdks/${flex.sdkVersion}/frameworks/locale/en_US"
includes="*"/>
<library-path dir="${project.libraryPath}"
includes="*"/>
<keep-as3-metadata name="Protected"/>
</mxmlc>
the following is my FB-config.xml
<?xml version="1.0"?>
<flex-config>
<runtime-shared-library-path>
<path-element>C:\Program Files\Adobe\Adobe Flash Builder 4 Plug-in\sdks\4.1.0\frameworks\libs/datavisualization.swc</path-element>
<rsl-url>http://fpdownload.adobe.com/pub/swz/flex/4.1.0.16076/datavisualization_4.1.0.16076.swz</rsl-url>
<policy-file-url>http://fpdownload.adobe.com/pub/swz/crossdomain.xml</policy-file-url>
<rsl-url>datavisualization_4.1.0.16076.swz</rsl-url>
<policy-file-url>.</policy-file-url>
</runtime-shared-library-path>
</flex-config>
It seems to be that the first "load-config" ant runs into is the only one that gets used. When looking around the internet I have multiple cases of where people say they have successfully used multiple load-config files.
This one in particular.
http://flashdevelop.org/community/viewtopic.php?f=13&t=5629&view=previous
If I had to guess on what was wrong I believe my FB-config.xml file is incorrect but I can't find an example of anyones custom configuration file.
Any guidance would be apprecaited.I am embarrassed to say that your solution answered my question.
I was about 10 min away from rewriting my Ant script to just use the mxmlc.exe directly instead of the mxmlc ant tag. I kept running into the -flex-config+=YourConfig.xml for the command line option but never saw the xml variant.
http://blog.flexexamples.com/2008/12/21/using-a-custom-flex-configxml-file-in-flex-builder -3/
http://livedocs.adobe.com/flex/3/html/help.html?content=configuring_environment_3.html
Does Flex have any documenation that shows all the different tags that are available like the Ant documenation?
http://ant.apache.org/manual/Tasks/delete.html
Thanks at ton. -
An issue (bug?) with Config File VIs?!
Hello to all!
When using Config File VIs I encountered a very interesting
and killing (me) issue.
I spent an hour before I knew where's a bug.
(Maybe because I'm a novice to LabView).
From one side, the bug was mine: I used a "for loop" to write string values to keys in section and provided to the loop an array that could be empty sometimes. And I absolutely forgot that "for loop" executes at least one time anyway even if array is empty.
Ok, no problem, then the function "Write Key" should say "ERROR" and I would find my bug at once on the output of my "for loop".
BUT IT DOESN'T DO IT. It says "OK".
And only the next function "write key (string value in my case)"
fails saying "Error: Config Data Registry.vi [get data]: invalid object 0". I certainly think that something wrong with this "write key", but what means this message?!
Ok, I found who responds for this (the previous "write key" in for loop).
But the most interesting thing is that if you set after this bad "for loop" one more such "for loop" you don't get error on the output of the 2nd "for loop" too. It appears only after "write key" that goes after 2nd "for loop".
Well, forget it. Just look at attached files.
Something wrong in this "Write Key" function if error goes far beyond its real source of arrising.
Are you agreed? Or maybe I'm wrong?
Thanks to all for attention.
Any comments appreciated.
Rashid.
Using LV 8.0.1 Pro on WinXP.
Attachments:
Writing bad value to key.vi 22 KB
Writing bad value to key 2.vi 24 KBHi Ben, this was a good hint, last time I had problems with that zero iteration issue, I worked with LV 6.1 and kept in mind, that the shift register output was the last value stored in the Shift register output node, it reminded to the use of an uninitialized SR. If somebody still has 6.1 on the machine, it would be nice to test this. But the test with 7.1 showed you are right, the SR- input is reached through. Great!
Thanks, dave
Message Edited by daveTW on 06-16-2006 07:05 PM
Greets, Dave
Attachments:
Shift register.png 5 KB -
Changing the Crystal Report dependency from 10.2 to 11.5 using config file
Hi,
We have an windows application in .net 2.0, which refers to Crystal Report 10.2 version. Now the dependency was being upgraded to 11.5. But we do not have the exact source code for the executable to change the dependency from 10.2 to 11.5.
I have installed the CR 11.5 to the testing machine and tried to open the appilcation. it failed saying CR 10.2 dlls were missing
Then I changed the .net config files to change the dependency assembly as follows
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="CrystalDecisions.CrystalReports.Engine" publicKeyToken="692fbea5521e1304" culture="neutral" />
<bindingRedirect oldVersion="10.2.3600.0" newVersion="11.5.3700.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="CrystalDecisions.ReportSource" publicKeyToken="692fbea5521e1304" culture="neutral" />
<bindingRedirect oldVersion="10.2.3600.0" newVersion="11.5.3700.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="CrystalDecisions.Shared" publicKeyToken="692fbea5521e1304" culture="neutral" />
<bindingRedirect oldVersion="10.2.3600.0" newVersion="11.5.3700.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="CrystalDecisions.Windows.Forms" publicKeyToken="692fbea5521e1304" culture="neutral" />
<bindingRedirect oldVersion="10.2.3600.0" newVersion="11.5.3700.0"/>
</dependentAssembly>
</assemblyBinding>
</runtime>
Now the application launched with out any issues. I thought the problem was sorted out.
But when I tried to generate the report, there comes the problem
During the report generation, I am getting the following error
Crystal Reports
An error has occurred while attempting to load the Crystal Reports runtime.
Either the Crystal Reports registry key permissions are insufficient or the Crystal Reports runtime is not installed correctly.
Please install the appropriate Crystal Reports redistributable (CRRedist*.msi) containing the correct version of the Crystal Reports runtime (x86, x64, or Itanium) required. Please go to http://www.businessobjects.com/support for more information.
OK
I do not want to install the 10.2 redistributable in teh machine also do not want to re-compile the sources changing the dependency
Is there any way to achieve this ?
Any help is much appreciated.
Thanks
Edited by: Balaji Narasimhan on Aug 3, 2009 5:28 PMNo way that I know of. I believe once you change the dependency, you will have to recompile the project. Installing CR 10.2, may get this to work, but the app will most likely use the 10.2 references. Let's see if anyone else has any ideas.
Ludek -
XML file in the form of .config file how to convert it to class and store it in single object
Hi,
I have a config file in which i have to convert it to class and get an object.
example:
<?xml version="1.0" encoding="utf-8" ?>
<xyz xmlns="">
<Container name ="Basic">
<Connectivity user="" server="" protocol="udp"/>
<Connectivity user="" server="" protocol="udp"/>
</Container>
<Container name ="Cp">
<settings version="1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.counterpath.com/cps">
<domain name="audio">
<section name="headset">
<setting name="audio_in_agc_enabled " value="1"/>
</section>
<section name="incoming">
<setting name="use_agc" value="1"/>
</section>
<section name="vad">
</section>
</domain>
<domain name="system">
<section name="qos">
<setting name="audio" value="tos 46"/>
</section>
<section name="dtmf">
<setting name="force_send_in_band" value="0"/>
<setting name="minimum_rfc2833_play_time" value="40"/>
</section>
<section name="network">
<setting name="dtx_enabled" value="0"/>
</section>
<section name="diagnostics">
<setting name="enable_logging" value="1"/>
<setting name="log_level" value="Error"/>
</section>
<section name="general">
<setting name="add_OS_version_to_user_agent_header" value="1"/>
</section>
<section name="indialog_notify">
<setting name="enable_indialognotify" value="1"/>
</section>
</domain>
<domain name="rtp">
<section name="2833">
<setting name="enabled" value="1"/>
<setting name="packet_time_in_ms" value="60"/>
<setting name="payload_number" value="101"/>
</section>
<section name="inactivity">
<setting name="timer_enabled" value="0"/>
</section>
</domain>
<domain name="proxies">
<section name="proxy0">
</section>
<section name="proxy1">
</section>
</domain>
<domain name="ggg">
<section name="device">
<setting name="use_headset" value="1"/>
<setting name="rrr" value="1"/>
<setting name="eee" value="480"/>
<setting name="eme" value="hhh"/>
<setting name="headset_name" value="vvv"/>
<setting name="manual_audio_devices_configure" value="0"/>
<setting name="audio_in_device" value=""/>
<setting name="audio_out_device" value=""/>
<setting name="ringer_device" value=""/>
</section>
<section name="system">
<setting name="export_settings" value="EndpointSettings.xml"/>
<setting name="enable_export_settings" value="0"/>
<setting name="log_level_AbstractPhone" value="0"/>
<setting name="log_level_Audio" value="0"/>
<setting name="log_level_Auto Configuration" value="0"/>
<setting name="log_level_CCM" value="0"/>
<setting name="log_level_Conferencing" value="0"/>
<setting name="log_level_Contacts" value="0"/>
<setting name="log_level_DNS" value="0"/>
<setting name="log_level_GUI" value="0"/>
<setting name="log_level_Jitter" value="0"/>
<setting name="log_level_Licensing" value="0"/>
<setting name="log_level_Media" value="0"/>
<setting name="log_level_Privacy" value="0"/>
<setting name="log_level_RTP" value="0"/>
<setting name="log_level_STUN" value="0"/>
<setting name="log_level_Security" value="0"/>
<setting name="log_level_Storage" value="0"/>
<setting name="log_level_Transport" value="0"/>
<setting name="log_level_USB Devices" value="Info"/>
<setting name="log_level_Utilities" value="0"/>
<setting name="log_level_Video" value="0"/>
<setting name="log_level_Voice Quality" value="0"/>
<setting name="log_level_XMPP" value="0"/>
<setting name="log_level_Endpoint" value="6"/>
</section>
<section name="beeptone">
<setting name="play_locally" value="0"/>
<setting name="enable_beeptone" value="1"/>
<setting name="beeptone_file" value="beep.wav"/>
<setting name="beeptone_timeout" value="30000"/>
</section>
<section name="dtmf">
<setting name="play_locally" value="1"/>
<setting name="pause_start_stop_dtmf" value="100"/>
</section>
<section name="control">
<setting name="auto_answer" value="0"/>
</section>
<section name="ctrol">
<setting name="auto_ans" value="0"/>
</section>
</domain>
</settings>
</Container>
</xyz>
Please help me out in creating an object from it.
Thanks,
HiranmayeeIt's one of those things you usually start from the other end.
IE with a class and then serialise / deserialize to xml.
Because you have a namespace in there:
<settings version="1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.counterpath.com/cps">
I think you will find linq to xml will have issues with that.
You could still use xpath to pick data out of there and there's been a thread on the c# forum recently which is relevent:
https://social.msdn.microsoft.com/Forums/vstudio/en-US/2dc0581e-f2fd-4fd3-89ee-e59280c398e6/read-xml?forum=csharpgeneral
Why do you want to turn that into an object?
By the way.
This isn't a wpf question and you should probably have posted it on the c# forum.
Hope that helps.
Recent Technet articles: Property List Editing;
Dynamic XAML -
Hello,
How can i add the shortcuts for Office 2013 feature (Word, excel, ext) to the users taskbar or desktop with using config.xml file while installing the Microsoft Office 2013 from SCCM?
I know how to do that with OCT, but i have another problem if i use OCT. So i have to do it with Config.file, but i don't know which code can i write on config.xml file to create shortcut on desktop or taskbar...
Regards,Hi
There is a known issue about
changing the shortcut location for an Office 2013 application:
When you try to change the shortcut locations for Office 2013 applications in the Office Customization Tool (OCT), you receive the following error message:
Invalid start in folder. Please try again.
Then, you add the Start in location for Office 2013 and run a customized installation. When you double-click the shortcuts that are displayed on the desktop, Configure shortcuts does
not work and you receive the following error message:
Sorry, we couldn’t find your file. Is it possible it was moved, renamed or deleted?
To work around this issue, type a single open bracket ([) in the Start in
field.
In addition, refer to the link below on "Configure shortcuts" in OCT:
http://technet.microsoft.com/en-us/library/cc179097.aspx#Configure_shortcuts
Regards
Tylor Wang
TechNet Community Support -
Unable to view the contents in NQS Config file
Hi Forum,
After I successfully install the OBI EE 10.1.3 Application, I am unable to view the contents in NQS Config file. It is opening in Notepad with error showing as "The filename, directory name or volume label syntax is incorrect."
So please guide me in resolving this issue.
Regards
Cool jYou probably have restricted access to the file. Check if the drive is ntfs. If the os user is in administrator group, you can give permissions in file properties.
-
SWFVISU task not appearing in any of the UWL Config files
Hello Workflow/Portal gurus, gotta question...
Scenario: I want custom workflow single-step tasks used in perf. mgmt. workflows to launch BSP application.
My understanding is that when you maintain link between workflow task and BSP application in SWFVISU followed by 'Register item types for all systems' in UWL and clearing Cache, UWL config file should be updated to include the task maintained in SWFVISU with appropriate launching parameters. I have used this successfully in the past with Wedbdynpro applications.
In my portal system, a new custom task that I maintain in SWFVISU is not even appearing in any of the UWL config file. when we use 'Register item types for all systems' option in UWL followed by clearing Cache,one of the config file does successfully get updated (we see success message and update date and time) but custom task is missing from the config.
Also, when I manually try to configure custom task and launching applications using one of the UWL wizard it gives error symbol with no messages. UWL behaves strange (Auth is not an issue) and couple of things we checked per UWL/Portal config docs seems to be in order.
Any pointers what we could be missing? Is there anything else other than adding task in SWFVISU followed by 'Register item types for all systems' in UWL and clearing Cache that needs to be done?
Appreciate your help,
SaurabhHi,
i had the same problem that all entries form SWFVISU could not be displayed in the XML config file.
The solution is very simple since SP 18 of NW portal: you need to configure a RFC destination in the Visual Admin (see Note 1133821).
Though if you are not using Delta Pull you have to create this destination to register the UWL.
I hope this helps.
Regards,
Marc -
[SOLVED] Parsing simple config files in pure bash
Hi everyone,
I'd like to implement a bash function to parse a simple config file for a script I've wrote. The conifg file contains different sections for different scenarios. Here's an example how it should look like:
# configuration file
# global settings
global {
DATE_PREFIX="-I"
SSHFS_OPTS="-C"
EXT_FULL="full"
EXT_DIFF="diff"
EXT_CATALOGUE="catalogue"
DAR_OPTS="-v -m 256 -y -s 600M -D"
DAR_NOCOMPR="-Z '*.gz' -Z '*.bz2' -Z '*.zip' -Z '*.png'"
# system settings
system {
DAR_OPTS="-v -m 256 -y -s 200M -D"
It contains some settings which are global for the whole script and special settings groups which can be used to overwrite global settings.
The function to parse this config file looks as follows:
#!/bin/sh
CONFIG="/home/chi/.daruprc"
function readconf() {
match=0
while read line; do
# skip comments
[[ ${line:0:1} == "#" ]] && continue
# still no match? lets check again
if [ $match == 0 ]; then
# do we have an open tag ?
if [[ ${line:$((${#line}-1))} == "{" ]]; then
# strip "{"
group=${line:0:$((${#line}-1))}
# do we have a match ?
if [[ ${group} -eq $1 ]]; then
match=1
continue
fi
continue
fi
# found close tag but still no match - continue
elif [[ ${line:0} == "}" && $match == 0 ]]; then
continue
# found close tag after config was read - exit loop
elif [[ ${line:0} == "}" && $match == 1 ]]; then
break
# got a config line return it
else
echo $line
fi
done < "$CONFIG"
for line in $(readconf "system"); do
echo $line
done
As you can see I try to just echo the lines at the moment. And here's the problem: It seems I have some " escape issues, if I run it I get the following output:
./parseconfig.sh
DATE_PREFIX="-I"
SSHFS_OPTS="-C"
EXT_FULL="full"
EXT_DIFF="diff"
EXT_CATALOGUE="catalogue"
DAR_OPTS="-v
-m
256
-y
-s
600M
-D"
DAR_NOCOMPR="-Z
'*.gz'
-Z
'*.bz2'
-Z
'*.zip'
-Z
'*.png'"
As you can see there are way to much newlines - which leads to problems when I try to use "eval" to initialize the variables.
I am sure I am missing something simple here, however I am looking for a solution for a few days now - maybe one of the bash gurus on this board can enlighten me ;-).
Thanks in advance
PS.: I am trying to do this in pure bash because the script also needs to run on embedded machines with very low memory like my router on which I don't have sed or awk or the like. I also know that I could for example just use different config files to circumvent the whole parsing - but I am just curious if this could work the way I like ;-).
Last edited by chimeric (2007-11-04 23:20:58)chimeric wrote:
Hi MrWeatherbee,
well yes, but I want to assign (eval) these lines to get variables out of them. Since the while loop is trapped in its' own subshell I need to return the lines into the parent one to be able to make these variables "visible" in the script itself.
Right. But I was trying to show you that the way you were going about it wouldn't work at a very fundamental level.
Without changing too much code just for a quick and dirty demo,
change:
# got a config line return it
else
echo $line
fi
done < "$CONFIG"
# got a config line return it
else
line_array=( "${line_array[@]}" "$line" )
fi
done < "$CONFIG"
numarrayelements=${#line_array[@]}
and then in the main program code, do this:
readconf "system"
for index in $( seq $numarrayelements ); do
line=${line_array[(($index-1))]}
echo $line
done
Using an array to collect the good lines from the function allows you to reuse them later for whatever purpose. Although other ways exist, you certainly don't want to do what you originally did.
Edit:
I posted the code with an incorrectly referenced variable and had to fix it.
Last edited by MrWeatherbee (2007-11-04 22:46:34) -
I am trying to create a web application that uses AD LDS as its authentication provider. I have followed all the steps and verified all the web.config files, but I receive the error below:
Cannot get Membership Provider with name CustomRoleProvider. The membership provider for this process was not properly configured. You must configure the membership provider in the .config file for every SharePoint process.
Has anyone come across this error before?There seems to be some issues in your web.config files. Please make sure your Web application entries for membership and role provider(at central admin site) are matching with Web.config entries. your error
"Cannot get Membership Provider with name CustomRoleProvider.
", indicating that you may have used role provider name in Membership provider text box or in web.config.
Also please make sure that you have correct entries in all 3 web.config files - Central Administration , Security Token Service (STS), Web application .
Please refer -
Forms Based Authentication (FBA) in SharePoint 2013
Thanks
Ganesh Jat [My Blog |
LinkedIn | Twitter ]
Please click 'Mark As Answer' if a post solves your problem or 'Vote As Helpful' if it was useful. -
I am hoping some other Xserve users running OSX 10.7 (Lion) can offer some additional input or help in a couple of issues I am running into with the Apache settings on my server.
Below is an example site config file on our server. We are hosting a number of sites and are using .htaccess files and apache's rewrite module to create vanity URLs. In order for the .htaccess files to be used AllowOverride has to be set to "All" instead of "None"
The problem I am running into is everytime I stop and restart the web service on the machine it keeps changing this setting back in the individual site configuration files. I will change it to AllowOverride All and next time the server has to be restarted or the web service has to be restarted it is defaulting every site back to None which has become quite frustrating.
Is there somewhere I can set this default setting to prevent this from occuring and forcing every site and site config to default to "AllowOverride All" ?
Should I be researching this somewhere specific? OSX 10.7 changed the entire Apache Interface and the manner in which it runs and I am finding little to no documentation on it.Are you using the default Server.app, or have you downloaded and installed the (proper) Server Admin tools?
Server Admin.app isn't included as part of the Lion Server distribution, but if you download it and install it you get the same set of admin tools as you're used to with previous versions. From there you should be able to set the 'Allow All Overrides' setting for your site. -
Dear Experts,
I have two WLCs and other management devices as part of same subnet. I am able to upload ‘configs’ from all the devices on to my TFTP server. However when I am attempting to do the same from one of my WLC, it is failing consistently stating error message as:
‘%Error: Config file transfer failed – Unknown error –refer to log
Has anyone else too faced the same issue and how would we overcome this? Any specific debug that could help get more details on it?
Though the error message says, refer to log but still I don’t see anything that gets reflected in ‘Monitor logs’ which is related to ‘configuration file’ upload failure.
WLC code: 7.4.100.0
PFA as the error snippet.
Thanks and Regards,
AdnanHi Kaneswaran,
Just a soft reboot helped me solved the problem :). Still I am on 7.4 and facing no issues after this.
Apologies for coming too late to respond. Getting a down time window was not that easy and so was much delayed to try soft reload. I am still on 7.4 and facing no issue.
Glad that in your case it starting working all of a sudden. Could you please verify from 'show tech-support' to confirm if by chance your WLC had undergone any crash that could have caused the WLC to reload and thus accidently fixing the issue :)
Best Regards,
Muhammed Adnan -
Startup class cannot find a config file.
I have written a startup class to configure log4j in Weblogic.
The class runs but cannot find the configuration file. The
code for the startup class is as follows....
package com.n2bb.ams.common.util;
import java.io.FileInputStream;
import java.io.File;
import java.io.IOException;
import java.net.URL;
import java.util.Properties;
import com.n2bb.ams.common.util.FileLocator;
import org.apache.log4j.xml.DOMConfigurator;
* Insert the type's description here.
* Creation date: (12/5/00 11:12:13 AM)
* @author: Administrator
public class ApplicationStartUp implements weblogic.common.T3StartupDef {
* ApplicationStartUp constructor comment.
public ApplicationStartUp() {
super();
* setServices method comment.
public void setServices(weblogic.common.T3ServicesDef arg1) {
* startup method comment.
public String startup(String arg1, java.util.Hashtable arg2) throws Exception {
String resource = null;
try {
resource = (String) arg2.get("configFileName");
System.out.println("ConfigFileName: " + resource);
URL configFileResource = ApplicationStartUp.class.getResource(resource);
System.out.println("configFileResource: " + configFileResource.toString());
String file = configFileResource.getFile();
DOMConfigurator.configure(file);
return "Log4j configuration initialized completed.";
} catch (Exception e) {
System.out.println("Cannot open config file: " + resource);
return "Log4j configuration failed to initialized.";
The section of the config.xml the calls my startup class looks
like....
<StartupClass
Arguments="configFileName=/bea/user_projects/mydomain/log4j-config.xml"
ClassName="com.n2bb.ams.common.util.ApplicationStartUp"
Name="AMS Startup Class" Targets="myserver"/>
I have tested the code in a standalone class and it works fine.
Why can't I find the log4j-config.xml file? Any help would be
greatly appreciated.Wow, your system must have a long history of having picked up assorted bad stuff ...
You have CleanMyMac2, which should definitely be removed.
You have other stuff (MacCleanse, for example) that I don't have first-hand knowledge about but should very likely be removed.
You are using Google Chrome which is a resource hog.
Further, your Adobe Flash player is not current.
If I had all these issues, I would do a clean install of Yosemite and only reintroduce the essential stuff.
You can search for the .plist files by opening finder, holding down the Option key, and doing Go > Library from Finder's menu and then searching for the file(s). -
Windows event log shows AzureDiagnostics errors "Failed to parse the WAD config file" and warning "
No certficate with given thumbprint found in the certificate store. Thumbprint:" and
System.ArgumentNullException: Value cannot be null.
Parameter name: s
at System.IO.StringReader..ctor(String s)
at Microsoft.Azure.Plugins.Plugin.WadConfigValidator`1.Validate(String configString, String schemaPath, StringBuilder builder)
at Microsoft.Azure.Plugins.Plugin.WadConfigValidator`1.Initialize(String configString, String schemaPath)
at Microsoft.Azure.Plugins.Plugin.WadParser.Parse()
Also tried a different deployment on a different subscription, same issue, and this one gets stuck in 'create' state with no roles showing up in 'instances' section for quite some time. Are Cloud Services even maintained by Microsoft
anymore? Seems that they are second class citizens to VMs, no updates, no new portal, no new features, often can't update single role without updating all roles, etc.i am facing same error : here is the log:
DiagnosticsPlugin.exe Information: 0 : [3/19/2015 6:00:39 PM] Starting DiagnosticPlugin.exe DiagnosticPlugin-ShutdownEvent DiagnosticPlugin-TotalShutdownEvent -wadVer1v3
DiagnosticsPlugin.exe Information: 0 : [3/19/2015 6:00:39 PM] Starting DiagnosticsPlugin
DiagnosticsPlugin.exe Information: 0 : [3/19/2015 6:00:39 PM] Checking VM Type
DiagnosticsPlugin.exe Information: 0 : [3/19/2015 6:00:39 PM] File HandlerEnvironment.json not found. Extension set to PAAS
DiagnosticsPlugin.exe Information: 0 : [3/19/2015 6:00:39 PM] RcfFileName: C:\Config\881bb2e524c04870b4e993fd8fefb7d8.881bb2e524c04870b4e993fd8fefb7d8.WorkerRole1_IN_0.13.xml
DiagnosticsPlugin.exe Information: 0 : [3/19/2015 6:00:39 PM] RoleInstanceId: WorkerRole1_IN_0; DeploymentId: 881bb2e524c04870b4e993fd8fefb7d8; RoleName: WorkerRole1
DiagnosticsPlugin.exe Information: 0 : [3/19/2015 6:00:39 PM] Checking VM Type
DiagnosticsPlugin.exe Information: 0 : [3/19/2015 6:00:39 PM] File HandlerEnvironment.json not found. Extension set to PAAS
DiagnosticsPlugin.exe Information: 0 : [3/19/2015 6:00:39 PM] Store Size: 4096
DiagnosticsPlugin.exe Information: 0 : [3/19/2015 6:00:39 PM] Reading XML configuration file
DiagnosticsPlugin.exe Information: 0 : [3/19/2015 6:00:39 PM] Will use thumbprint
DiagnosticsPlugin.exe Information: 0 : [3/19/2015 6:00:39 PM] Decrypting private configuration
DiagnosticsPlugin.exe Warning: 0 : [3/19/2015 6:00:39 PM] No certficate with given thumbprint found in the certificate store. Thumbprint:
DiagnosticsPlugin.exe Information: 0 : [3/19/2015 6:00:39 PM] Retrying after 30 seconds. Retry attempt 1
DiagnosticsPlugin.exe Warning: 0 : [3/19/2015 6:01:09 PM] No certficate with given thumbprint found in the certificate store. Thumbprint:
DiagnosticsPlugin.exe Information: 0 : [3/19/2015 6:01:09 PM] Retrying after 30 seconds. Retry attempt 2
DiagnosticsPlugin.exe Warning: 0 : [3/19/2015 6:01:39 PM] No certficate with given thumbprint found in the certificate store. Thumbprint:
DiagnosticsPlugin.exe Information: 0 : [3/19/2015 6:01:39 PM] Retrying after 30 seconds. Retry attempt 3
DiagnosticsPlugin.exe Error: 0 : [3/19/2015 6:02:09 PM] System.Security.Cryptography.CryptographicException: The enveloped-data message does not contain the specified recipient.
at System.Security.Cryptography.Pkcs.EnvelopedCms.DecryptContent(RecipientInfoCollection recipientInfos, X509Certificate2Collection extraStore)
at Microsoft.Azure.Plugins.Diagnostics.dll.PluginConfigurationSettingsProvider.DecryptPrivateConfig(String encryptedConfig)
DiagnosticsPlugin.exe Information: 0 : [3/19/2015 6:02:09 PM] WadCfg is provided in initial configuration. Using that to initialize Diagnostics.
DiagnosticsPlugin.exe Information: 0 : [3/19/2015 6:02:09 PM] <PublicConfig xmlns="http://schemas.microsoft.com/ServiceHosting/2010/10/DiagnosticsConfiguration">
<WadCfg>
<DiagnosticMonitorConfiguration overallQuotaInMB="4096">
<DiagnosticInfrastructureLogs />
<Directories scheduledTransferPeriod="PT1M">
<IISLogs containerName="wad-iis-logfiles" />
<FailedRequestLogs containerName="wad-failedrequestlogs" />
</Directories>
<PerformanceCounters scheduledTransferPeriod="PT1M">
<PerformanceCounterConfiguration counterSpecifier="\Memory\Available MBytes" sampleRate="PT3M" />
<PerformanceCounterConfiguration counterSpecifier="\Web Service(_Total)\ISAPI Extension Requests/sec" sampleRate="PT3M" />
<PerformanceCounterConfiguration counterSpecifier="\Web Service(_Total)\Bytes Total/Sec" sampleRate="PT3M" />
<PerformanceCounterConfiguration counterSpecifier="\ASP.NET Applications(__Total__)\Requests/Sec" sampleRate="PT3M" />
<PerformanceCounterConfiguration counterSpecifier="\ASP.NET Applications(__Total__)\Errors Total/Sec" sampleRate="PT3M" />
<PerformanceCounterConfiguration counterSpecifier="\ASP.NET\Requests Queued" sampleRate="PT3M" />
<PerformanceCounterConfiguration counterSpecifier="\ASP.NET\Requests Rejected" sampleRate="PT3M" />
<PerformanceCounterConfiguration counterSpecifier="\Processor(_Total)\% Processor Time" sampleRate="PT3M" />
</PerformanceCounters>
<WindowsEventLog scheduledTransferPeriod="PT1M">
<DataSource name="Application!*" />
<DataSource name="System!*" />
</WindowsEventLog>
<CrashDumps dumpType="Full">
<CrashDumpConfiguration processName="WaAppAgent.exe" />
<CrashDumpConfiguration processName="WaIISHost.exe" />
<CrashDumpConfiguration processName="WindowsAzureGuestAgent.exe" />
<CrashDumpConfiguration processName="WaWorkerHost.exe" />
<CrashDumpConfiguration processName="DiagnosticsAgent.exe" />
<CrashDumpConfiguration processName="w3wp.exe" />
</CrashDumps>
<Logs scheduledTransferPeriod="PT1M" scheduledTransferLogLevelFilter="Verbose" />
</DiagnosticMonitorConfiguration>
</WadCfg>
<StorageAccount>vinaystorageaccounttest</StorageAccount>
</PublicConfig>
DiagnosticsPlugin.exe Information: 0 : [3/19/2015 6:02:09 PM] Private setting is loaded
DiagnosticsPlugin.exe Error: 0 : [3/19/2015 6:02:09 PM] System.ArgumentNullException: Value cannot be null.
Parameter name: s
at System.IO.StringReader..ctor(String s)
at Microsoft.Azure.Plugins.Plugin.WadConfigValidator`1.Validate(String configString, String schemaPath, StringBuilder builder)
at Microsoft.Azure.Plugins.Plugin.WadConfigValidator`1.Initialize(String configString, String schemaPath)
at Microsoft.Azure.Plugins.Plugin.WadParser.Parse()
DiagnosticsPlugin.exe Error: 0 : [3/19/2015 6:02:09 PM] Failed to parse the WAD config file
DiagnosticsPlugin.exe Information: 0 : [3/19/2015 6:02:09 PM] DiagnosticPlugin.exe exit with code -106 -
Getting Error: Config file does not have IDStore WLS Administrator Username
I am configuring OIM/OAM in HA mode following the EDG:
- Enterprise Deployment Guide for Oracle Identity Management
- 11g Release 1 (11.1.1.5)
I am at step
- 10.4.5 Creating Users and Groups for Oracle WebLogic Server
I am executing this command:
- idmConfigTool.sh -prepareIDStore mode=WLS input_file=wls.props
Where wls.props has these values:
IDSTORE_HOST: admin.mycompany.com
IDSTORE_PORT: 389
IDSTORE_BINDDN: cn=orcladmin
IDSTORE_USERNAMEATTRIBUTE: cn
IDSTORE_LOGINATTRIBUTE: uid
IDSTORE_USERSEARCHBASE: cn=Users,dc=mycompany,dc=com
IDSTORE_GROUPSEARCHBASE: cn=Groups,dc=mycompany,dc=com
IDSTORE_SEARCHBASE: dc=lispa,dc=local
POLICYSTORE_SHARES_IDSTORE: true
and I am getting this error:
Config file does not have IDStore WLS Administrator Username
Any idea why ?I have added to the property files:
IDSTORE_SYSTEMIDBASE : cn=systemids,dc=mycompany,dc=com
But its not solving the issue.
Here is the log:
Jun 3, 2013 10:01:55 AM oracle.idm.automation.util.Util setLogger
WARNING: Logger initialized in warning mode
Jun 3, 2013 10:01:59 AM oracle.idm.automation.impl.oid.handlers.OIDIntegrationHandler validateInputParams
SEVERE: Config file does not have IDStore WLS Administrator Username
Please advise on how to resolve this issue
Maybe you are looking for
-
My macbook pro keeps booting up, then after a few seconds, goes back to the sign in page. This happened after I was doing software updates and my computer restarted in the middle of an update. Help! Thanks.
-
How do I transfering my iTunes library to external hard drive?
My iTunes library is getting rather large and I only have a 60GHZ internal harddrive and two 100 GHz harddrives attached and I want to transfer all of my files to one of the external harddrives so I can continue to grow my library. Can I do this seem
-
My new ipod 2 is not charging battery, why?
my new ipod 2 is not charging battery, why?
-
Cannot right click in Finder column view
Hello, I'm having a **** of a time trying to figure out why I can no longer right click in Finder's column view. Everything else seems to be alright. All other apps and finder view options are ok. Just when in column view, the right click functin for
-
Transaction to create root object in genil component.
hi all , may be it seems to be basic question. i am following one tutorial where they are creating one genil component. in order to create root object, they told to run the transaction GENIL_MODEL_EDITOR. but i couldnt find the this transaction in my