Aug 26 2008

“Application is not deployed in the Grid Execution Environment” in websphere

Tag: Websphere-XDYogesh @ 1:06 pm

If you get this error "Application is not deployed in the Grid Execution Environment"

> Are you running the upplication under Xd?

>Check if ParallelJobManager has started.

>make sure that the application name in the xjcl and the name of the actual Application match.


Aug 12 2008

How to Install Zend Optimizer in Xampp under windows

Tag: UncategorizedYogesh @ 6:31 am

Zend Optimizer is a package that supposedly optimizes the php runtime code for optimum performance,
However the actual reason it is used is, there is a package called as zend guard which encodes the php code so that no one can view the source of your code and the zend optimizer decodes it at runtime.

Installation:
1) download Zend optimizer for windows (its free but you may have to register)
2) install Zend
3) make sure the apache server is stopped
4) when it asks for the php.ini file select the php folder within your xampp installation folder
5) when it asks for the apache folder select the apache folder within xampp
6) complete the installation
7) now open the php.ini files in apache/bin and php/
8) search for [zend]
9) you should see entries like these

zend_extension_ts="C:\Program Files\Zend\ZendOptimizer-3.3.0\lib\ZendExtensionManager.dll"
zend_extension_manager.optimizer_ts="C:\Program Files\Zend\ZendOptimizer-3.3.0\lib\Optimizer-3.3.0"
zend_optimizer.enable_loader = 0
zend_optimizer.optimization_level=15

(make sure there is no ; at the start of these lines)

change zend_optimizer.enable_loader = 1 in both the files, restart the webserver

-fin


Jul 31 2008

How to enable Auto Commit in Hibernate Transactions

Tag: JavaYogesh @ 9:40 am

Use

 
<property name="connection.autocommit">true</property>

in the hibernate config xml.


Next Page »