Thursday, November 27, 2008

JBoss client jars

Following jars required for ejb client connection

set CLASSPATH=%CLASSPATH%;%JBOSS_CLIENT_DIR%\jboss-aop-jdk50-client.jar
set CLASSPATH=%CLASSPATH%;%JBOSS_CLIENT_DIR%\jboss-aspect-jdk50-client.jar
set CLASSPATH=%CLASSPATH%;%JBOSS_CLIENT_DIR%\jboss-ejb3-client.jar
set CLASSPATH=%CLASSPATH%;%JBOSS_CLIENT_DIR%\jboss-ejb3x.jar
set CLASSPATH=%CLASSPATH%;%JBOSS_CLIENT_DIR%\jbossall-client.jar

jndi.properties

java.naming.factory.initial=org.jboss.security.jndi.JndiLoginInitialContextFactory
java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces

java.naming.provider.url=qapo:1099
java.naming.security.principal=admin
java.naming.security.credentials=july321

Tuesday, November 25, 2008


When I try to use the "Open Table" feature in SQL Managment Studio
(Standard), I get the following error:

Class does not support aggregation (or class object is remote) (Exception
from HRESULT: 0x80040110 (CLASS_E_NOAGGREGATION))
(Microsoft.SqlServer.SqlTools.VSIntegration)


.. This is a management studio thing - when I opened up from another instance on my machine and connected remotely, I didn't get the problem

Sunday, November 23, 2008

Dual Monitor With Ubuntu

lspci to get the graphics card info (or look it up in /etc/X11/xorg.conf)

There were instructions at:
http://intellinuxgraphics.org/dualhead.html


I had to modify xorg.conf in /etc/X11 so that screen has virtual size big enough to hold both your screen resolutions (for me 2560 x 2048)

then I ran

xrandr --ouput VGA --right-of LVDS

Tuesday, November 18, 2008

GWT - How to change implementation based on properties

In module file:

<define-property name="entryPoint" values="snp,RunManagement,JobTracking">

<replace-with class="au.com.interdev.snp.client.runmgmt.RunManagementUI">
<when-type-is class="au.com.interdev.snp.client.SNPUI">
<when-property-is name="entryPoint" value="RunManagement">
</when-property-is>
</when-type-is></replace-with>
</define-property>

In html file:

<meta name="gwt:property" content="entryPoint=RunManagement">


You can also set the property via some javascript in the module file - see the module file fo i18n

Sunday, November 9, 2008

Web.xml security

http://forums.sun.com/thread.jspa?threadID=5233721