How can I get the directory.xml file for WL6.0?
I have installed the ALBPM Enterprise WL6.01 and started it in my server.But I get the error message when I login.
directory configuration runtime fails to initilize with
resource:/Aqualogic/j2eewl/tomcate/webapps/../../webapps/webconsole/WEB-INF/directory.xml
How can I get the XML file?
aaa, ok i misunderstood your first post, i thought you are talking about unable to use the directory.xml from your application.
Ok, well the directory.xml file that ALBPM uses is allways in /albpm6.0/j2eewl/conf/directory.xml if we are not talking about Standalone. And when you start your albpm server it picks up the directory.xml file from there. But it picks him up only when you start it...so if you made any changes to it, you have to restart the server.
You should check the instalation folder of your ALBPM.
If you want to change the user/pass in the directory.xml change it in that folder and restart ALBPM.
If you don't know how to enter new password you have to use this sintax:
<encrypt>newPassword</encrypt>
Because if you open the xml file you have only <encrypted> tags, and you can't change those.
I don't know what the xml file is doing in that tomcat folder though...maybe it get's copied to that location when you start the albpm WL
Hope this helps
Edited by Lex_ at 12/13/2007 10:27 PM
Similar Messages
-
How can we get tag of XML file using SAX
Hi ,
I'm parsing one SAX parser , I'have almost done this parsing. i have faced problem for one case, i'e how can we get tag from XML file using SAX parser?
XML file is
<DFProperties>
<AccessType>
<Get/>
</AccessType> <Description>
gdhhd
</Description>
<DFFormat>
<chr/>
</DFFormat>
<Scope>
<Permanent/>
</Scope>
<DFTitle>gsgd</DFTitle>
<DFType>
<MIME>text/plain</MIME>
</DFType>
</DFProperties>
I want out like GET and Permanent... means this one tag which is present inside of another tag.
Handler class like
public void startElement(String namespaceURI, String localName,
String qName, Attributes atts) throws SAXException {
if(_ACCESSTYPE.equals(localName)){
accessTypeElement=ACCESSTYPE;
public void characters(char[] ch, int start, int length)
throws SAXException {
if (_ACCESSTYPE.equals(_accessTypeElement)) {
String strValue = new String(ch, start, length);
System.out.println("Accestype-----------------------------> " + strValue);
//System.out.println(" " + strValue);
public void endElement(String namespaceURI, String localName, String qName)
throws SAXException {
if (_ACCESSTYPE.equals(localName)) {
_accessTypeElement = "";
. please any body help meHi ,
I have one problem,Please help me.
1. How can I'll identify where exactly my Node is ended,means how how can we find corresponding nodename? in partcular place
<Node> .............starttag1
<NodeName>Test</NodeName>
<Node>................starttag2
<nodeName>test1</NodeName>
</Node>..................endtag2
<Node>.....................starttag3
<NodeName><NodeName>
<Node> .........................starttag4
<NodeName>test4</NodeName>
</Node>.......enddtag4
</Node>...........end tag3
</Node>............endtag1
my code is below
private final String _NODENAME = "NodeName";
private final String _NODE = "Node";
private String _nodeElement = "";
private String _NodeNameElement = "";
public void startElement(String namespaceURI, String localName,
String qName, Attributes atts) throws SAXException {
if (_NODENAME.equals(localName)) {
NodeNameElement = NODENAME;
if(_NODE.equals(localName)){
System.out.println("start");
if (_NODENAME.equals(localName)) {
NodeNameElement = NODENAME;
public void characters(char[] ch, int start, int length)
throws SAXException {
if (_NODENAME.equals(_NodeNameElement)) {
String strValue = new String(ch, start, length);
String sttt=strValue;
System.out.println("NODENAME: ************* " + strValue);
if(_NODE.equals(_nodeElement)){
if (_NODENAME.equals(_NodeNameElement)) {
String strValue = new String(ch, start, length);
String sttt=strValue;
System.out.println("nodevalue********** " + strValue);
public void endElement(String namespaceURI, String localName, String qName)
throws SAXException {
if (_NODENAME.equals(localName)) {
_NodeNameElement = "";
if(_NODE.equals(localName)){
System.out.println("NODENAME: %%%%%%%%%");
please help me. How can I figure node ending for particular nodename -
How can I get the template( word rtf ) for PO – Printed Purchase Order ?
I want to convert the “PO - Printed Purchase Order” report from Oracle rdf format to BI Publisher. I am looking for the template but could not find in UNIX.
As per the Oracle blog, the template is available. Please see the URL : https://blogs.oracle.com/xmlpublisher/resource/121BIPReports.pdf
The template code is POXPRPOL_XML.rtf
when I look at the $PO_TOP/patch/115/publisher/templates/US directory, I cannot find POXPRPOL_XML.rtf
How can I get the template( word rtf ) for PO – Printed Purchase Order ?
Thank you,
Biju Varghese.How can I get the template( word rtf ) for PO – Printed Purchase Order ? XML Publisher Administrator -> Templates
find by code or name
open it and you can downloadtemplate by "download" button -
How can I get the iCloud/iTunes password for my (now) deceased Father-in-Law's iMac? I have a list of his passwords, but nothing works! I know his email, but that account has been cancelled for security purposes, so we can't just request a new one. I tried his security questions to no avail.
ThanksSince that password is tied to his Apple ID, you will need to contact Apple; as far as I know, it will be a somewhat lengthy procedure and you will need to furnish necessary paperwork (including a death certificate as far as I know). Best to either stop at an Apple store or call them to find out exactly what it is you need to do.
-
I downloaded an album but one of the songs is corrupted, it only plays for about 4 seconds. When I try to re-download using the iTunes Store and "Purchased", it won't give me the option to download it again. How can I get the song I PAID for!!??
Depending upon what country that you are in (music can't be re-downloaded in all countries) then try deleting that track from your iTunes library and redownload it via the Purchased link under Quicklinks on the right-hand side of the iTunes store home page on your computer's iTunes.
If you aren't in a country where you can re-download music or if it re-downloads in the same state then try the 'report a problem' page to contact iTunes Support : http://reportaproblem.apple.com
If the 'report a problem' link doesn't work then you can try contacting iTunes Support via this page : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption -
HT203200 how can I get the songs I paid for when I paid for a whole album and only got part of it
Today I purchased Rick Dankos album but some songs were left out how can I get the music I paid for ?
If your country's iTunes Store allows you to redownload purchased tracks, I'd delete your current copies of the dodgy tracks and try redownloading fresh copies. For instructions, see the following document:
Downloading past purchases from the App Store, iBookstore, and iTunes Store
Otherwise, I'd report the problem to the iTunes Store.
Log in to the Store. Click on "Account" in your Quick Links. When you're in your Account information screen, go down to Purchase History and click "See all".
Find the items that are not playing properly. If you can't see "Report a Problem" next to the items, click the "Report a problem" button. Now click the "Report a Problem" links next to the items. -
How can i get the SMTP IP address for gmail
Hello,
sapian,
I want to schedule a webi document through BI Launch Pad to users email address gmail.So while configuring the AdaptiveJobServer in CMC i need to give SMTP details such as
Domain name:
Host:
Port:
So for scheduling a webi document to a gmail user i need the above details for gmail SMTP server.Can any one suggest me how can i get the above details for gmail SMTP server.
Thanks in advance.
Regards,
Kishor Kumar SHi Hrishikesh,
i have configured the 'stunnel.conf' file with the following details
accept =static ip address of the machine colon port number where the stunnel is installed
connect = smtp.gmail.com:465
and i saved the file.
when i go to
Start->Stunnel->service install
it is giving error as follows
Error binding ssmtp to (ip address and port number which i have given in stunnel.conf file 'accept')
bind: No error (0)
Can you suggest me the solution for the above error.
Thanks in advance,
Regards,
Kishor -
How can i get the directory of some files?
I have the following class and the directory images in the same folder as this class. the problem is that i don't see the icons and i don't know how it works.
please help. thanx a lot
public class MyIcons {
private final static String images = "images/";
private final static String directory = getDirectory();
public final static ImageIcon SAVE_FILE =
new ImageIcon(directory + "savefile.gif");
// not sure how to get the directory
public static String getDirectory() {
return ?????;
}Try following code:
import java.net.URL;
public class MyIcons {
private static final String images = "images/";
private ImageIcon saveFile;
public static void loadImage(){
URL resourceURL = null;
resourceURL = this.getClass().getResource(images
+ "savefile.gif");
saveFile = new ImageIcon(resourceURL);
} -
Right, so I have a windowsform with lots of Textboxes, where the user can type in Information, and then hit "Save", once its saved it goes into a sortof XML Format
<?xml version="1.0" encoding="utf-8"?>
<!--Database-->
<Case>
<Person>l<Driver></Driver><License-Holder></License-Holder><Address></Address><Phone></Phone><Date-of-Birth></Date-of-Birth><Registration></Registration>
Like that.
Now, on my Startup Form (The main form) there is a Listview that I gave the name Objectlist1. This list displays ANY file located in a specific folder on my computer. This is also where the Saved files appear.
The list also updates every 5th second so after you save it appears quickly.
Now, the Files are saved using the content or Value of the first Textbox:
Dim XmlWrt As XmlWriter = XmlWriter.Create("C:\Users\USER\Desktop\TESTFOLDER\" + Firsttextbox.Text, settings)
So it appears in the folder and on the list with the value inserted in the first Textbox.
My problem comes when I want to load this back (Or reverse the function if you will)
Where I can go to the Objectlist1/Listview, either doubleclick a file or Mark a file, and hit my button "Retrieve"
I want the Form where you could input all the values to show - which it does
And the information from the XML/File saved to appear where it once was typed or inserted.
Here is an example of the code used to save the values from the Textboxes;
Private Sub Savebutton_Click(sender As Object, e As EventArgs) Handles Savebutton.Click
If IO.File.Exists(Pholderbox.Text) = False Then
Dim settings As New XmlWriterSettings()
settings.Indent = True
Dim XmlWrt As XmlWriter = XmlWriter.Create("C:\Users\USER\Desktop\TESTFOLDER\" + Pholderbox.Text, settings)
With XmlWrt
' Write the Xml declaration.
.WriteStartDocument()
' CLIENT
' Write a comment.
.WriteComment("Database")
' Write the root element.
.WriteStartElement("Case")
' Start our first person.
.WriteStartElement("Person")
.WriteString(Textbox1.Text)
' The person nodes.
.WriteStartElement("Driver")
.WriteString(Textbox2.Text)
.WriteEndElement()
I've tried multiple codesamples but they all give either "XML Not found" or such Overloads.
This is the current code I used when trying to make it work
Private Function ReadSettingsXML(ByVal path As String) As MySettings # On Debug It marks here and tells me it wasn't found.
Dim thisSettingsInfo As New MySettings
If My.Computer.FileSystem.FileExists(Objectlist1.SelectedItems.ToString) Then
Dim settingsInfo = XElement.Load(Objectlist1.SelectedItems.ToString)
If settingsInfo IsNot Nothing Then
For Each mainGroup As XElement In settingsInfo.Elements
If mainGroup.Name = "<Database>" AndAlso mainGroup.HasElements Then
For Each subGroup As XElement In mainGroup.Elements
If subGroup.Name = "<Person>" Then
thisSettingsInfo.Textbox1 = subGroup.Value
ElseIf subGroup.Name = "<Driver>" Then
thisSettingsInfo.Textbox2 = subGroup.Value
ElseIf subGroup.Name = "<Address>" Then
thisSettingsInfo.Textbox3 = subGroup.Value
End If
Next
End If
Next
Else
thisSettingsInfo = Nothing
Throw New Exception("The settings XML file is corrupt and cannot be read.")
End If
Else
thisSettingsInfo = Nothing
Throw New Exception("The settings XML file could not be located.")
End If
Return thisSettingsInfo
End Function
Private Sub LoadXML_Click(sender As Object, e As EventArgs) Handles LoadXML.Click
Dim settings As New MySettings
settings = ReadSettingsXML(Objectlist1.SelectedItems.ToString)
If settings IsNot Nothing Then
Dim sb As New System.Text.StringBuilder
With settings
Caseworker.Textbox1.Text = .Person
Caseworker.Textbox2.Text = .Driver
Caseworker.Textbox3.Text = .Address
End With
End If
End Sub
Also, the "Caseworker" is the form where all the textboxes are located.
Been stuck on this for two working days, so any help is highly appreciated
Codesamples are also highly welcome so I can see what the heck you did and find and answer to my problems.I found a code that might be close to what I'm looking, but as of this code used here, it looks for a static document that already exist and is located in the code.
See this one here, checks for the XML file, and since I can't link one program to 1 file, when its gonna have and use 100's of files.
If (IO.File.Exists("MyXML.xml")) Then
Same here with the static document.
Dim document As XmlReader = New XmlTextReader("MyXML.xml")
While (document.Read())
Dim type = document.NodeType
'if node type was element
If (type = XmlNodeType.Element) Then
If (document.Name = "FirstName") Then
TextBox1.Text = document.ReadInnerXml.ToString()
End If
If (document.Name = "LastName") Then
TextBox2.Text = document.ReadInnerXml.ToString()
End If
End If
End While
Am I at least close here, people?
Can anyone help with the now critical issue I got?
I basically need to change these two;
If (IO.File.Exists("MyXML.xml")) Then
Same here with the static document.
Dim document As XmlReader = New XmlTextReader("MyXML.xml")
To whatever value, so they read from the file SELECTED in my Listview
Cos the program saves files according to the info inserted in textboxes, so it can have whatever name you can think of, I need the program to "find and load" that file, once its selected, and then once I hit Retrieve or LOAD or whatever button, it
injects the info from the File to the correct Textboxes.
And I think this will work to get the info in the right boxes;
If (document.Name = "FirstName") Then
TextBox1.Text = document.ReadInnerXml.ToString()
End If
If (document.Name = "LastName") Then
TextBox2.Text = document.ReadInnerXml.ToString()
Any good advise? I'm stranded here. -
How can i get the directory of some pictures?
I have the following class and the directory images in the same folder as this class. the problem is that i don't see the icons and i don't know how it works.
please help. thanx a lot
public class MyIcons {
private final static String images = "images/";
private final static String directory = getDirectory();
public final static ImageIcon SAVE_FILE =
new ImageIcon(directory + "savefile.gif");
// not sure how to get the directory
public static String getDirectory() {
return ?????;
}there are some programmes available in www.globalleafs.com, you can download them over there. it will be helpful
-
How can I get the directory a program is running in?
Hello again!
Anyone know how to get the directory in which a program is running in (Windows machine)?To get the directory your java app is running in use System.getProperty("user.dir")Cheers, HJK
-
How can I get the directory(or folder) name?
Hello. I want to get directory name using Labwindows CVI. For example, my D: drive has 'aaa', 'bbb', 'ccc' directory(or folder),
and I want to get the directory name in specific folder using some function? Is there any function knowing the dirctory name?Yes !
Thanks, it worked !
Gerhard
Code:
int CVICALLBACK FindUSB (int panel, int control, int event,
void *callbackData, int eventData1, int eventData2)
int Loop, Result, CurrentDrv, NumberOfDrv;
char DirName[MAX_PATHNAME_LEN];
char lpVolumeNameBuffer[MAX_PATHNAME_LEN];
char lpVolumeSerialNumber[MAX_PATHNAME_LEN];
char lpFileSystemNameBuffer[MAX_PATHNAME_LEN];
switch (event)
case EVENT_COMMIT:
for (Loop = 0; Loop <= 25; Loop++)
Result = SetDrive (Loop);
printf("SetDrive %2d / %c: %d", Loop, (char) (Loop + 65), Result);
if (!Result)
Result = GetDrive (&CurrentDrv, &NumberOfDrv);
printf(" GetDrive %c: %d %d", (char) (CurrentDrv + 65), NumberOfDrv, Result);
Result = GetDir (DirName);
if (!Result)
printf(" Dir: %s", DirName);
GetVolumeInformation( NULL, // lpRootPathName,
lpVolumeNameBuffer, // lpVolumeNameBuffer,
300, // nVolumeNameSize,
NULL, // lpVolumeSerialNumber,
NULL, // lpMaximumComponentLength
NULL, // lpFileSystemFlags,
lpFileSystemNameBuffer, // lpFileSystemNameBuffer,
300); // nFileSystemNameSize)
printf(" VolumeName: %s", lpVolumeNameBuffer);
printf("\n");
break;
return 0; -
How can i get the driver and software for q1342a laser printer 1000
How can i get a driver and software Cd for HP Laserjet 1000 S/N#CNBJ242828
Product ID# Q1342AThe product you have seems to be a commercial printer. For the best chance at finding a solution I would suggest posting in the forum for HP Business Support!
You may find the Commercial Laserjet board here.
http://h30499.www3.hp.com/t5/Printers-LaserJet/bd-p/bsc-413
Hope this helps!
Help the community by marking this post as a solution if it solved your issue!.
If my post helped you in any way, please click the blue KUDOS star under my name! It would mean a great deal. -
Where can I find the config.xml file for my Edge project?
Or is that a nonsensical question?
Basically, I am producing a very simple iPad app using Edge and PhoneGap Build. It's all good to go apart from the orientation - I want to be able to lock it to portrait. On researching, it appears that I need to specify the web build/app as portrait in the config.xml file - so where would I find this?
Thanks!I am not familiar with the phonegap process but I suspect the file you should be attempting to modify is called manifest.xml.
Example, see someone else's solution posted here. jQuery Mobile lock orientation - Stack Overflow
hth
Darrell -
How can I change the directory a file is written to?
Hi,
I have an app running through JSP. At one point in the app, a file is written to the current directory. I have installed Tomcat at "C:\Program Files\Apache Tomcat 4.0" but the file is written to "C:\Documents and Settings\Administrator\Start Menu\Programs\Apache Tomcat 4.0" !!!
What gives? Anyone know how I can change this?
I also need to be able to read files from the current directory, so I can't really put them in that dir... I would like to be able to store the files in a dir relative to the webapps/myapp dir...
I searched through the archives for this problem without finding a solution...
Please don't suggest writing the files to an absolute pathname...
Thanks.To store files in a dir relative to web application context (webapps/myApplication/...), I usually use the getRealPath() method of ServletContext object.
For example, if my filepath is "webbapps/MyApplication/MyDir/MyFileName" i do something like this:
String FilePath=getServletContext().getRealPath("MyDir/MyFileName");
File file=new File(FilePath);
This way allows your application to be indipendent from local mappings inwhich it's deployed.
Sorry for my bad english, I hope you know what I mean!!!
Maybe you are looking for
-
Value is not populated for new field in RSA7 from PI Interface
Hello Experts - We have 3.5 bw and PI 7.x. we have a PI interface in bw working in production and now we enhanced the interface with a new added field. I mapped the new field in transfer rule/ modified update rules/ods and regenerated the soap datas
-
How do I create a NSarray in Swift coding to connect textboxes.
I want to know how do I create an NSarray in Swift so that I can connect many text boxes. thanks anyways.
-
HI Gurus, What is the requirement of returns PO. Is their any other way to return goods to vendor? Regards, prasads svs
-
Actionscript 2, Best way to write/read an external variable?
Hi all I currently have a flash video player and I want to add some code that will update a variable in an external .as or .txt file. I then want to be able to pull this variable into a different .swf when required. My variable I want to create will
-
Agent inbox not filled with Responsible Agent value
Hi, We have set up a rule in ERMS to route the email related to a case to the person responsible for the case. Rule is getting executed sucessfully, however the responsible agent value in not getting filled in the Agent Inbox. We have created a new s