when i run an web application developed using netbeans 6.9.1,it runs successfully because tomcat is bundled along with netbeans.But i want to install that web application in bea weblogic.therefore i need to know to configure tomcat with bea weblogic 8.
All you need to do is to configure your Netbeans with the weblogic server and run the applications on it.
Alternatively you can export the application from the Netbeans as a war file and write WebLogic Specific Deployment descriptor and deploy it on the WebLogic Server.
All you need to do is to configure your Netbeans with the weblogic server and run the applications on it.
Alternatively you can export the application from the Netbeans as a war file and write WebLogic Specific Deployment descriptor and deploy it on the WebLogic Server.
i know to deploy the war application,but i dont know how to solve the jsp compiling error as follows
**********************************************
Compilation of 'H:\bea\user_projects\domains\cmpfirst\.\myserver\.wlnotdelete\extract\myserver_myapp_HiberWeb\jsp_servlet\__index.java' failed:
--------------------------------------------------------------------------------
H:\bea\user_projects\domains\cmpfirst\.\myserver\.wlnotdelete\extract\myserver_myapp_HiberWeb\jsp_servlet\__index.java:17: cannot access myapps.clss.InsertData
probably occurred due to an error in /index.jsp line 7:
<%@page contentType="text/html" pageEncoding="UTF-8" import="myapps.clss.InsertData "%>
--------------------------------------------------------------------------------
Full compiler error(s):
H:\bea\user_projects\domains\cmpfirst\.\myserver\.wlnotdelete\extract\myserver_myapp_HiberWeb\jsp_servlet\__index.java:17: cannot access myapps.clss.InsertData
bad class file: H:\bea\user_projects\domains\cmpfirst\myserver\.wlnotdelete\extract\myserver_myapp_HiberWeb\jarfiles\_wl_cls_gen.jar(myapps/clss/InsertData.class)
class file has wrong version 49.0, should be 48.0
Please remove or make sure it appears in the correct subdirectory of the classpath.
import myapps.clss.InsertData; //[ /index.jsp; Line: 7]
^
1 error
************************************
my domain name is cmpfirst i am accessing the class myapps.clss.InsertData from my jsp page called index.jsp
i am trying to run an hibernate web application using weblogic 8.1
The Tomcat that is bundled with the NetBeans 6.9.1 works on JDK 1.6 Update 13 or later. The 6.9.1 version of the IDE can not be installed using JDK 5.0. Hence the Hibernate application that works fine with TomCat server is compiled with JDK 1.6.
However the weblogic server 8.1 is shipped with JDK 1.4.
This could cause the problem.
You can try deploying the application on WebLogic Server 10.3 and later as they are shipped with JDK 1.6 and later.
anandraj tadkal wrote:The Tomcat that is bundled with the NetBeans 6.9.1 works on JDK 1.6 Update 13 or later. The 6.9.1 version of the IDE can not be installed using JDK 5.0. Hence the Hibernate application that works fine with TomCat server is compiled with JDK 1.6.
However the weblogic server 8.1 is shipped with JDK 1.4.
This could cause the problem.
You can try deploying the application on WebLogic Server 10.3 and later as they are shipped with JDK 1.6 and later.