jFM is a file manager written as a java web application. It can be downloaded from http://jfm.dev.java.net/.
jGallery uses some Jakarta Libraries.
jGallery itself is licensed under the Gnu Public License (GPL).
What you need
JDK 1.4 or later, available from http://java.sun.com
Version 5.0 or later of Jakarta Tomcat, available from http://jakarta.apache.org or any other JSP 2.0 compatible web container
if [...]
Archive for May, 2009
jFM
Posted in Tomcat on May 25, 2009 | 1 Comment »
Apache Maven – Generating a basic project
Posted in Videos on May 24, 2009 | Leave a Comment »
GREAT ORACLE FOURMS SEARCH !!!
Posted in Uncategorized on May 21, 2009 | Leave a Comment »
AND HERES THE DIRECT LINK
http://forums.oracle.com/forums/search.jspa?threadID=&q=cluster&objID=c202&dateRange=all&userID=&numResults=30
How to create a distributed WebLogic domain ?
Posted in Uncategorized on May 21, 2009 | 2 Comments »
A simple domain, with a cluster distributed on several machines.
�
Architecture Schema
Usually, a best practice is to keep the admin server away from managed servers.
Because, if a strong load happens and overloads a managed server, it will consume all the resources available
on the machine, including those needed for the admin server to be safe & running.
�
Then [...]
Building a high available and scalable architecture with WebLogic Server
Posted in Uncategorized on May 21, 2009 | Leave a Comment »
For once, I’d like to talk about general points. As fas as I know, I still haven’t seen any process
that has been respecting all these simple rules.
�
Determine the target
Define your capacity planning.
What kind of business are you dealing with ?
Is it fault tolerant ?
Is there money involved ?
�
Your application
First of all, make sure you know [...]
Invoke ANT target from Maven
Posted in ANT on May 19, 2009 | Leave a Comment »
This snippet shows how to invoke a target in ANT from Maven 2. The ANT build script file name is build.xml and is residing in the same folder as of the pom.xml. “createthumbnail” is the name of the target that will be invoked in build.xml. The invocation will happen during deploy phase [that is when [...]
JBoss IP address binding – configuration
Posted in JBoss on May 19, 2009 | Leave a Comment »
By default JBoss 4.x plus will be available only on localhost. To make it available on LAN with a IP address or its network name, start run.bat with -b IP address. For example suppose your IP address on network is 192.168.2.44 and JBoss_Home is e:\jboss422, go to e:\jboss422\bin and type run -b 192.168.2.44
Now you should [...]
Configure https redirection for web application
Posted in JAVA on May 19, 2009 | Leave a Comment »
When user is accessing the web application using http, sometimes we may want to redirect to https. This can be done in JEE using the following configuration in web.xml.
<!– Force https for entire web application –>
<security-constraint>
<web-resource-collection>
<web-resource-name>Entire web application</web-resource-name>
<url-pattern>/*</url-pattern>
</web-resource-collection>
<user-data-constraint>
<transport-guarantee>CONFIDENTIAL</transport-guarantee>
</user-data-constraint>
</security-constraint>
But what if, we want to exclude few URL patterns from being redirected to https ? We can [...]
Validating connections in a pool in JBoss application server for MySQL
Posted in JBoss on May 18, 2009 | Leave a Comment »
MySQL connections in a pool times out after a long period of inactivity [I believe 8 hours is the time period by default.] Hence the connections in the pool become stale and this results in exceptions like java.sql.SQLException: Communication link failure.(The same scenario can also be
simulated by bringing JBoss up when MySQL is up and [...]
Configuring log4j for a SEAM based application in Tomcat
Posted in Tomcat on May 18, 2009 | Leave a Comment »
By default Tomcat uses JDK logging. I used the following in log4j.xml [which should go under WEB-INF\classes folder] to enable log4j for a SEAM based web application [infact also for any other web application] in Tomcat. In Maven please place it under, src\main\resources
<?xml version=”1.0″ encoding=”UTF-8″?>
<!DOCTYPE log4j:configuration SYSTEM “log4j.dtd”>
<log4j:configuration xmlns:log4j=”http://jakarta.apache.org/log4j/” debug=”false”>
<appender name=”CONSOLE” class=”org.apache.log4j.ConsoleAppender”>
<param name=”Target” value=”System.out”/>
<layout class=”org.apache.log4j.PatternLayout”>
<param [...]