Getting the error below when running in Eclipse?
Exception Description: An exception was thrown while weaving: XXXXX
Internal Exception: Exception [EclipseLink-40002] (Eclipse Persistence Services - 2.3.0.v20110604-r9504): org.eclipse.persistence.exceptions.StaticWeaveException
Exception Description: No source was specified for weaving
Try running in a separate JRE:
Ant View, Right Click entry, Run As >> External tools configuration
Select this build.xml, JRE, Separate JRE
Tuesday, May 22, 2012
Wednesday, May 2, 2012
Postgres puttycyg no password prompt
I couldn't figure out why I would never get a password prompt when
issuing postgres commands in puttycyg/cygwin terminal. Sounds alot like
this issue from 7 years ago.
http://archives.postgresql.org/pgsql-general/2005-11/msg00295.php
Solutions:
Put passwords in here:/AppData/Roaming/postgresql/pgpass.conf
or use the Windows CMD shell.
http://archives.postgresql.org/pgsql-general/2005-11/msg00295.php
Solutions:
Put passwords in here:
or use the Windows CMD shell.
Monday, April 16, 2012
Postgres not starting due to 1069 error
Problem: The postgres service fails to start with a 1069 (logon failure) error, even after I reset the password for the service login (postgres). Windows 7
Solution: The account was locked. Unlock it using the User and Groups tool, right click the user and look for the 'Account is locked out' checkbox.
Solution: The account was locked. Unlock it using the User and Groups tool, right click the user and look for the 'Account is locked out' checkbox.
Friday, March 23, 2012
Vaadin Sub-Window Scroll Bars not Appearing
Create a Sub-Window. Add more content than what fits in view. No scroll bars appear and I can't see some of the content. Why?
The cause: I was using VerticalLayout as the content of the Window and I had called setSizeFull(). VerticalLayout.setSizeFull() sets the Height to 100%. This effectively disables scolling in the sub-window. It seems that sub window content should always have undefined height.
From the Book of Vaadin: https://vaadin.com/book/-/page/layout.settings.html
The default layout of
The cause: I was using VerticalLayout as the content of the Window and I had called setSizeFull(). VerticalLayout.setSizeFull() sets the Height to 100%. This effectively disables scolling in the sub-window. It seems that sub window content should always have undefined height.
From the Book of Vaadin: https://vaadin.com/book/-/page/layout.settings.html
The default layout of
Window
and Panel
is VerticalLayout
with undefined height. If you insert enough components in such a layout, it will grow outside the bottom of the view area and scrollbars will appear in the browser. If you want your application to use all the browser view, nothing more or less, you should use setFullSize()
for the root layout. Friday, February 24, 2012
When Windows won't let you delete a file....
http://technet.microsoft.com/en-us/sysinternals/bb896655
Monday, January 2, 2012
NFCU Scan Deposit on OSX
NFCU's scan deposit feature wasn't working for me. The applet was complaining about 64 bit Java. I fixed this by opening Java Preferences >> General and moving 32 bit java above 64 bit java. Upon retrying the scan deposit feature, the applet complained about not finding a TWAIN compliant scanner, but also a dialog popped up asking if I wanted to install Rosetta to run TwainProxy. I agreed to install Rosetta, and the now it works.
Subscribe to:
Posts (Atom)