anandraj tadkal wrote:Hi Sriram,
WebLogic Server provides many features for deploying the application.
The most easier one is to use the weblogic admin console to do so.
1. Login into the console, navigate to the Deployments tab from the left panel.
2. Click install and specify the file to be installed.
Alternatively you can also use the weblogic.Deployer utility to deploy the application.
1. Open a command prompt , set the classpath by running the setDomainEnv script.
2. Execute the below command.
Deploying application on admin server:
java weblogic.Deployer -adminurl url -username username -password password -name myapp -deploy c:/myapps/myapp.ear
Deploying application on managed server:
java weblogic.Deployer -adminurl url -username username -password password -name myapp -deploy c:/myapps/myapp.ear -targets ManagedServer1
Refer the WebLogic Deployer link for more details on the utility.
Cheers,
Anandraj
http://weblogic-wonders.com
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