• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

configure tomcat with bea weblogic

 
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
drifter
Posts: 1364
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What do you mean by " configure tomcat with bea weblogic 8"? WebLogic Server has its own servlet container.
 
Ranch Hand
Posts: 98
Oracle Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sriram,

WebLogic server has its own servlet container.

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.

Cheers,
Anandraj
http://weblogic-wonders.com
 
shriram iyer
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

anandraj tadkal wrote:Sriram,

WebLogic server has its own servlet container.

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.

Cheers,
Anandraj
http://weblogic-wonders.com



Actually i want to deploy my web application in weblogic

thanks
shriram iyer
 
anandraj tadkal
Ranch Hand
Posts: 98
Oracle Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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

 
shriram iyer
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
 
anandraj tadkal
Ranch Hand
Posts: 98
Oracle Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.

Else try to recompile the application in JDK 1.4.

javac -source 1.4 FIleName.java

Cheers,
Anandraj
http://weblogic-wonders.com
 
shriram iyer
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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.

Else try to recompile the application in JDK 1.4.

javac -source 1.4 FIleName.java

Cheers,
Anandraj
http://weblogic-wonders.com



thanks, it is working now
 
anandraj tadkal
Ranch Hand
Posts: 98
Oracle Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Glad to hear that one Shriram!!

Cheers,
Anandraj
http://weblogic-wonders.com
 
Acetylsalicylic acid is aspirin. This could be handy too:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic