When I am deploying certain vendor EAR file to Sun App Server, I encountered a connection timeout errror. I thought the reason might be proxy settings need to be defined so I actually defined the following
-Dhttp.proxyHost=hostname
-Dhttp.proxyPassword=password
-Dhttp.proxyPort=8080
-Dhttp.proxyUser=username
After setting these and restart domain then redeploy I encountered 407 error.
Anyone have any idea what could be the issue here?
I am using oracle Oracle Secure Enterprise Search(SES), and using the crawler to crawl the Intranet site. but i am getting the error.
EQG-30008: http://site-name/: Not found
I have added the Log on password and user name and also added the proxy settings.
Any body who worked on SES crawling,please look in.
What is the size (in bytes) of an SSH login request?
In fact I just want to know what is the size of the login SSH request when it is send from the client to the SSH server.
For a bandwidth point of view.
If it is a regular user/password login.
Can any one help me with this connection string. I can't manage how to fix.
Dim constring As String
Dim con As SqlCeConnection
Dim cmd As SqlCeCommand
constring = "(System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().GetName().CodeBase) + \\database.sdf;Password=pswrd;File Mode=shared read"
con = New SqlCeConnection()
con.Open()
Thanks
I just transferred open x to a new server and need to change the db info (host, username, password, db name). I have been looking over and I can't find a settings, config file.
Update: Found config file inside var folder
Hi all!
Please, write small Delphi-program which working woth DB Access
For example, in Access will create customer-base(nickname & password), but in Delphi simple autorization form.
Thanks
$(".box :text").tooltip({
//do stuff
}
now it works well for selecting :text areas under box classes however I also want to include :password areas aswell. How can I combine selectors without writing 2 seperate selectors and execute 2 different methods?
Hi All,
I am using Hibernate 3 as my persistence framework.
Below is the sample hbm file I am using.
<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC
"-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping>
<class name="com.test.User" table="user">
<meta attribute="implements">com.test.dao.interfaces.IEntity</meta>
<id name="key" type="long" column="user_key">
<generator class="increment" />
</id>
<property name="userName" column="user_name" not-null="true" type="string" />
<property name="password" column="password" not-null="true" type="string" />
<property name="firstName" column="first_name" not-null="true" type="string" />
<property name="lastName" column="last_name" not-null="true" type="string" />
<property name="createdDate" column="created_date" not-null="true" type="timestamp" insert="false" update="false" />
<property name="createdBy" column="created_by" not-null="true" type="string" update="false" />
</class>
</hibernate-mapping>
I am added a post-update listener. What it will do is if there any updations perfomed on User then it will be invoked and cahnges will be inserted to audit table.
Below is the sample implementation for postupdate event.
public void onPostUpdate(PostUpdateEvent event)
{
LogHelper.info(logger, "Begin - onPostUpdate "
+ event.getEntity().getClass().getSimpleName());
if (!this.checkForAudit(event.getEntity().getClass().getSimpleName()))
{
// check do we need to audit it.
}
// Get Attribute Names
String[] attrNames = event.getPersister().getEntityMetamodel()
.getPropertyNames();
Object[] oldobjectValue = c
Object[] newObjectValue = event.getState();
this.auditDetailsEvent(attrNames, oldobjectValue, newObjectValue);
LogHelper.info(logger, "End - onPostUpdate");
// return false;
}
Here is my requirement. event.getPersister().getEntityMetamodel()
.getPropertyNames(); or event.getOldState(); or event.getState();
must return attribute names or value which i can update or insert.
Is there any way to control the return values of above one's.
Pleas help me on this regard.
Thanks,
Narendra
Jruby is hanging on connection to sqlserver and I cannot figure out why. Here is my code ...
puts "make connection"
ActiveRecord::Base.establish_connection(
:adapter => 'jdbc',
:driver => 'com.microsoft.jdbc.sqlserver.SQLServerDriver',
:url => 'jdbc:sqlserver://test:1433;databaseName=test;integratedSecurity=true',
:username=>'test',
:password=>'test'
)
puts "connected"
fish = ActiveRecord::Base.connection.execute("SELECT * FROM users")
puts "query ok"
the code spits out "make connection" and then "connected" but never reaches "query ok" any ideas?
Hi,
i have this page.
login: [email protected]
password: m
As you can see in IE7 the selects for the age, and radio buttons are not well organized. In FF and IE8 no problem.
Any idea?
Regards
Javi
Is it possible to switch to running Linux from RAM or RAM disk after starting starting initially from disk?
eg. You need to make an image of your hard disk, FTP it to a remote location, some time later you want the image back, so you start the system from disk as usual, restore the image you FTP'd from the remote location back into place.
More like a CloneZilla backup and restore, without booting the server from CD or USB disk, but starting from the normal hard disk?
Notes on environment
I should have mentioned it earlier. It is a remotely hosted VM where I cannot boot into a recovery console mode or do a netinstall. It will always boot onto the same disk. Which means that if there is some serious corruption I can't repair it offline, which is why being able to ftp a previously saved backup into place is so important
Using SQL Server 2005
I have the server connection name as (server1) in windows authentication mode, I want to change windows authentication mode to sql server authentication mode...
when i try to change sql server authentication mode with username = sa & password = sa, it showing error...
How to change the authentication mode or how to create a new sql connection?
halo,
After making the set up of the application(developed using VS 2008 and MS Access) the installation another system works fine. But whenever I try to change the Password or id it shows an error sayin "operation must use an updateable query"
Thank you,
Indranil
can you convert this perl code to python code :
$list = $ARGV[0];
open (PASSFILE, "$list") || die "[-] Can't open the List of password file !";
@strings = ;
close PASSFILE;
Thanks
I'm trying to connect to an oracle database with .net but i get the error:
ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
however, when I enter add a new database connection through toolsconnect to database. it works fine. even after copying the connection string which is:
Data Source=source here;Persist Security Info=True;User ID=userhere;Password=pass;Unicode=True
I am using Apache to authenticate users for Django, but I would like to do so without the popup form that Apache uses in its basic configuration.
How do I embed the login form within a page while still using Apache for authentication?
That is, I'd like a page that says "Please login" and provides a form asking for username and password, and passes this information on to Apache for authentication. (I'd do this over an SSL connection, of course.)
A friend of mine has recently setup his computer with a fresh install of Windows 7 and Photoshop CS5. He's having a strange issue with saved workspaces not remembering the state of docked panels. As an example, he's docked several panels on the right of the screen. The Layers panel is docked but is open, showing all layers in the document. If he saves this as a workspace, closes and reopens Photoshop and loads the workspace, the Layers panel is docked but is closed.
It's not the only panel this is happening with. It's not a big problem but he's having to open 4 panels and drag them to the appropriate height each time he starts Photoshop. Does anyone know of a possible fix for this? Any insight would be great.
when i am using sequel pro to connect to a remote database, the server says access denied. I am 100% percent sure that the username and password are correct. I also try to use phpmyadmin to connect to the server, it works. I don't know what happened when I am using sequel pro to connect to the server.
Does replacing chrome User Data with my own - works without leaving any trace behind? Where else chrome writes data outside of User Data folder?
I used to start office work by removing chrome User Data, replacing it with my own User Data copied from my external drive, saving the original User Data to other folder.
Before leaving in the evening, I will take back my own User Data, and bring back the original User Data where it is originally saved.
Is this process advisable?
Would I be safe this way or if not, where else does chrome save data outside of User Data folder in AppData?
Also, how is the process in Mozilla Firefox?
I want to use Wget to save single web pages (not recursively, not whole sites) for reference. Much like Firefox's "Web Page, complete".
My first problem is: I can't get Wget to save background images specified in the CSS. Even if it did save the background image files I don't think --convert-links would convert the background-image URLs in the CSS file to point to the locally saved background images.
Firefox has the same problem.
My second problem is: If there are images on the page I want to save that are hosted on another server (like ads) these wont be included. --span-hosts doesn't seem to solve that problem with the line below.
I'm using:
wget --no-parent --timestamping --convert-links --page-requisites --no-directories --no-host-directories -erobots=off http://domain.tld/webpage.html
In my web app I would like to be able to email self-authenticating links to users. These links will contain a unique token (uuid). When they click the link the token being present in the query string will be enough to authenticate them and they won't have to enter their username and password.
What's the best way to do this?
I've recently transferred my webapp from my localhost (LH) to a VPS, and have had hebrew chars-encoding probs since. Whenever I send a request with a heb-char it results in "?????" saved to the DB.
My LH config was tomcat6, MySQL, and centOS 6.2, opened to the web. In the VPS env I'm behind an Apache Web Server, and the rest is quite the same (though I haven't done anything to its installation).
Please note I already have had this problem before, on my LH when the request was sent from IE/chrome (not FF!). The solution was to apply a filter on the the context and change the char-type to UTF-8.
My webapp content char-encode is utf-8, MySql server set to utf8 using charset utf8;, and my centOS set to iw_IL.UTF8 using export LANG=iw_IL.UTF8. When I use locale the bash output seems to be set correctly.
Any suggestions?
I support a number of laptop users. In the past (before there were many laptops), each user's computer was set up so that their My Documents folder was mapped to a shared folder on the server. This worked very well for desktops, but has several obvious downsides for laptops (no files when you're off-site, etc).
I'm exploring several alternatives for laptops to better map the shared drives, and SyncToy seems the best so far. I have a couple trial users set up so that it syncs automatically whenever they log in, along with a desktop icon they can click if they know they'll need something saved before the next login.
My problem is that I'm concerned how I, as the maintainer of this system, can spot failures. I don't want my first indication of a problem to come after a user drops their laptop in a lake and it turns out nothing was synced for the last year. Any ideas?
I wrote a PowerShell script that check the executable in the < action tag for each task in the Task directory and mark the < enabled TRUEorFALSE< / enabled tag as false/true depending on the validity of the digital signature of the executable. After reading each task, the script re-saves the task file with the same name, type and location.
Now my issue is that I get this message when I lunch task scheduler:
“Task XYZ: The task image is corrupt or has been tampered with.”
This message appears for all the tasks that were scanned and saved.
Does editing task’s xml file directly corrupt the task? Is there any task decency that may cause this error(ex: registry value)?