Tuesday, 7 June 2011

Deploy a JSP in WebLogic 10.3.4

Easy Steps :

1. Place the JSP in a new folder say Temp.
2. Create the war file using the command - jar -cvf TestJSP.war myJSP.jsp
3. Upload this war file from the weblogic deployments console
4. Access the JSP with URL - http://localhost:7001/TestJSP/myJSP.jsp

Sunday, 15 May 2011

org.hibernate.QueryException: ClassNotFoundException: org.hibernate.hql.ast.HqlToken

This is in sequence to my earlier post.

There are 2 ways as given below. But in my environment , I had to apply both the following steps as solution for above issue.

1. Changes in weblogic-application.xml

Add the antlr.* in the tag

2. Changes in weblogic.xml

WebLogic has it's own version of ANTLR. Set the prefer-web-inf-classes element in weblogic.xml to true.



**** take care of the closing tags in the above XMLs by opening the XML file in any browser.