Category Archives: Java

Domain Creation Failed when configuring domain for UCM or Webcenter Content 11g

I installed the Oracle Weblogic 10.3.6 and Oracle ECM 11g. When I tried to configure the domain for UCM using Configuration Wizard, the wizard always fails, and the error message is as below – 2014-05-04 12:20:22 ERROR [create_gui] com.oracle.cie.wizard.domain.gui.tasks.DomainCreationGUITask – Generation Error!!Traceback … Continue reading

Posted in Java, WebLogic Server 11g | Tagged , , , | Leave a comment

What is the difference between RequestDispatcher’s forward(ServletRequest request, ServletResponse response) method and HttpServletResponse’s sendRedirect(String location) method?

The forward method of RequestDispatcher will forward the ServletRequest and ServletResponse that it is passed to the path that was specified in getRequestDispatcher(String path). The response will not be sent back to the client and so the client will not … Continue reading

Posted in Java | Tagged , , , , , , , , | Leave a comment

How to get the current system Date and Time in Java?

In order to get the current system Date and Time include the below code in you java class – import oracle.jbo.domain.Date;   /**       * Get Current Date       * @return       */ public Date getCurrentDateTime()     {     return … Continue reading

Posted in Java | Tagged , , , , | 4 Comments

What is PATH, Classpath and how to set them.

Path: In command prompt or Environment variables PATH is used to register the executable files. Classpath: The Classpath is an argument – set either on the command-line, or through an environment variable – that tells the Java Virtual Machine where to look for user-defined classes and packages … Continue reading

Posted in Java | Tagged , , | Leave a comment