How to deploy web application to Weblogic?

Does anyone know how to deploy web application to Weblogic8.1?

I found one error in what I have done. I add the '<context-root>' in '<weblogic-web-app>', which are not required in some other containers, and I can find the application of hello2. However, when I clicked 'submit' I got the following message:
Error 500--Internal Server Error
java.lang.NoClassDefFoundError: java/lang/StringBuilder
     at servlets.ResponseServlet.doGet(Unknown Source)
     at javax.servlet.http.HttpServlet.service(
     at javax.servlet.http.HttpServlet.service(
     at weblogic.servlet.internal.ServletStubImpl$
     at weblogic.servlet.internal.ServletStubImpl.invokeServlet(
     at weblogic.servlet.internal.ServletStubImpl.invokeServlet(
     at weblogic.servlet.internal.WebAppServletContext$
     at weblogic.servlet.internal.WebAppServletContext.invokeServlet(
     at weblogic.servlet.internal.ServletRequestImpl.execute(
     at weblogic.kernel.ExecuteThread.execute(
I do not want to make changes in 'web.xml' file as it worked in other container. I guess I miss something that is special, probably basic, to WebLogic, but I do not know what it is.
Bye the way, who know how to reward points to other people? I cannot find the 'assign points icon'.
Thanks hoos. Your answer give me confidence that a web application could be deployed by copy war file to some directory (I guess from my experience of other containers).

Similar Messages

  • How to deploy Servlet Application in Weblogic 8.1

    I am new to BEA Weblogic 8.1 .
    I was trying to create a sample application using InelliJ IDea 5.1 , and IntelliJIdea 10.5 . i configured weblogic with IDE , but now i do not know how to deploy my application in weblogic .
    I am new in IntelliJ also .
    So Can anyone tell me how can i deploy a servlet application in any IDE like i also have eclipse indigo.
    Thanks & Regards

    Hi Komi
    Basically you deploy your Servlet as a WAR File. I am not familiar with IntellJ IDE. But it should have a provision to export/create a WAR file that has your Servlet. Also I hope you already have web.xml file with 2 sections like this: First you mention full package of your servlet and give it a name. Then enter a mapping url. You will use this url to run your servlet like http://weblogichost:weblogicport/yourWebappcontextroot/myservlet
    Coming to deployment, I hope you already created a Weblogic Domain and have admin username/password. Start your domain. Login into weblogic console like http://host:port/console and use admin username/password. Then from Deployments section, deploy the above WAR file. In Weblogic you can deploy JAR (EJBs, java files), WAR (web jsp, html, webservices, servlets) or EAR (JAR + WAR). In your case its just a WAR file.
    Refer the online docs for more details on Deployments in Weblogic.
    Ravi Jegga

  • Exception occured while deploying  web application in weblogic

    I am trying to deploy one web application on weblogic server but i got one exception , if anybody knows how to resolve this problem please help me out.
    Thank you.
    Exception is as follows :
    java.lang.IllegalArgumentException: Renderer for type 'Time' already exists.

    javax.faces.FacesException: java.lang.IllegalArgumentException: Renderer for type 'Time' already exists.
         at com.sun.faces.config.ConfigBase.updateRenderKits(
         at com.sun.faces.config.ConfigBase.updateRuntimeComponents(
         at com.sun.faces.config.ConfigListener.contextInitialized(
         at weblogic.servlet.internal.EventsManager$
         at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(
         at weblogic.servlet.internal.WebAppServletContext.preloadResources(
         at weblogic.servlet.internal.WebAppServletContext.start(
         at weblogic.servlet.internal.WebAppModule.startContexts(
         at weblogic.servlet.internal.WebAppModule.start(
         at weblogic.application.internal.flow.ModuleListenerInvoker.start(
         at weblogic.application.internal.flow.ModuleStateDriver$
         at weblogic.application.utils.StateMachineDriver.nextState(
         at weblogic.application.internal.flow.ModuleStateDriver.start(
         at weblogic.application.internal.flow.StartModulesFlow.activate(
         at weblogic.application.internal.BaseDeployment$
         at weblogic.application.utils.StateMachineDriver.nextState(
         at weblogic.application.internal.BaseDeployment.activate(
         at weblogic.application.internal.DeploymentStateChecker.activate(
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(
         at weblogic.deploy.internal.targetserver.operations.StartOperation.doCommit(
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(
         at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$

  • How to deploy web application .war file into SAP NetWeaver Engine?

    Hi All,
    I want to deploy web application which is developped using JAVA web technology into SAP netweaver Engine.
    I tried to deploy .war file through SDM but it complained the following error
    - Hide quoted text -
    "Error loading archive
    C;\Document and Settings\cr1adm\Desktop\MyProject.war
      (server side name is: F:\usr\sap\JR1\JC01\SDM\program\temp\MyProject.war) The information about development component found in the manifest is either missing or incomplete!
    Manifest attributes are missing or have badly formatted value:
    attribute keylocation missing
    attribute keyname is missing
    attribute keyvendor is missing
    attribute keycounter is missing
    Can any one please suggest how to deploy external web application into SAP netweaver engine.
    Is there any procedure to follow to do this.
    your inputs will be highly appreciated...
    Thanks in advance

    I think first you need to wrap it into an EAR file, then you can deploy it.
    As far as I know standalone deployment of WAR is deprecated as of 640.
    similar threads:
    How to deploy .war on NWDI
    Deploying an existing WAR file into the Portal
    Hopefully this tutorial also gives some idea:

  • How to deploy shsc applications on weblogic server

    I have weblogic 8.1 with sp3. Any pointers on how to deploy sjsc created applications on Weblogic.
    I am able to deploy sample jsf programs created without using the IDE without any hitches, I am unable to deploy the war file created by the Sun java studio creator.

    Although we don't support incremental deployment
    to other App Servers, you can export a WAR file.
    In the Project Navigator, select the Project , right-click
    and choose context menu, "Export WAR File"
    Also, these pages may help:
    See #6
    How will web applications developed with Java Studio Creator be deployed to servers other than Java System Application Server 8, Platform Edition? SDN Standard subscription required.
    JSC QA

  • Deploy web application on weblogic

    i am a newbie to weblogic
    and i want to deploy my existing web application which was developed on tomcat
    onto weblogic
    what changes should i make
    and how to deploy it on weblogic
    i am using weblogic7
    thanks in advance

    If it has the proper directory structure and the web.xml is OK, you need not change anything. Copy the WAR or the directory into the $BEA_HOME/user_projects/<<server-name>>/applications
    and start WebLogic. It will get auto-deployed.
    $ Carol.

  • Probloms deploying web application in weblogic 8.1

    I've been using weblogic8.1 to host my web applications.
    The problem that i'm facing is that when i try to upload/deploy the (.war) file through weblogic console it shows the status as success but when i try to access a web resource, it gives me an error saying " The resource did not process correctly" on the browser, where as when i place the (.war) file directly in the applications folder of the user domain i'm able to access the web resource successfully on my browser.
    Can anyone help me in resolving this issue. I require it urgently.

    WLS 9.2 includes pretty advanced features in this area. Both deployment plans and application libraries could be used. There's also a domain/lib directory where jar files can be placed and are visible throughout the server instance.
              Unfortunately 8.1 has none of these features. In 8.1, your choices are to either add these into the $CLASSPATH, or package them in the application.
              -- Rob
              WLS Blog

  • Deploying web application in weblogic

    hi everybody
    i hava created one web application and i deployed it in weblogic server
    it was showing first page tat was index page
    the problem was
    when i was trying to access the servlet it was showing some error
    the error was
    error 500 internal server error
    javax.servlet.ServletException: [HTTP:101249][ServletContext(id=12188848,name=myWebApp,context-path=/myWebApp-1)]: Servlet class login for servlet login could not be loaded because the requested class was not found in the classpath C:\bea\user_projects\project\applications\myWebApp;C:\bea\user_projects\project\applications\myWebApp\WEB-INF\classes;C:\bea\user_projects\project\.\myserver\.wlnotdelete\extract\myserver_proj_myWebApp\jarfiles\WEB-INF\lib\msbase15983.jar;C:\bea\user_projects\project\.\myserver\.wlnotdelete\extract\myserver_proj_myWebApp\jarfiles\WEB-INF\lib\mssqlserver15984.jar;C:\bea\user_projects\project\.\myserver\.wlnotdelete\extract\myserver_proj_myWebApp\jarfiles\WEB-INF\lib\msutil15985.jar;C:\bea\user_projects\project\.\myserver\.wlnotdelete\extract\myserver_proj_myWebApp\jarfiles\WEB-INF\lib\multipartrequest15986.jar;C:\bea\user_projects\project\myserver\.wlnotdelete\extract\myserver_proj_myWebApp.
    java.lang.UnsupportedClassVersionError: login (Unsupported major.minor version 49.0).
         at weblogic.servlet.internal.ServletStubImpl.prepareServlet(
         at weblogic.servlet.internal.ServletStubImpl.getServlet(
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(
         at weblogic.servlet.internal.WebAppServletContext$
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(
         at weblogic.servlet.internal.ServletRequestImpl.execute(
         at weblogic.kernel.ExecuteThread.execute(
    and one more thing when i tried to deploy small program tat was executing nicely tat was invoking servlet from jsp output of this servlet was displaying the welcome msg
    in my proj when i m trying to invoke servlet from jsp it was showing the above mentioned error i don know y
    pls help me


  • How to deploy web applications on d:\web

    Hi all,
    I am new to this forum and like to know the procedure for deploying a web application
    other the default deployment directory. (Eg. I need to deloy a web application
    in D:\web directory).

    Yes. The new Weblogic J2EE book requires installation in 'c:\wlserver6.0' for the
    examples to work, so that is
    where I put it.
    "Mohan" <[email protected]> wrote:
    R u sure? I think u r refering to the default installation directory
    which is
    "Donald Stadler" <[email protected]> wrote:
    The installation program gives an option to change the default deployment
    I used it myself on intallation.
    "S.Mohan" <[email protected]> wrote:
    Hi all,
    I am new to this forum and like to know the procedure for deployinga
    web application
    other the default deployment directory. (Eg. I need to deloy a web
    in D:\web directory).

  • How to deploy javaFX application in weblogic ?

    Please tell me the steps to deploy the javaFx application as web application.

    Here is a link to a great example! This was an example used in the Java One conference.
    In this example they use http requests to send data to and from the web application to a javafx application.
    They do use JSON to parse the requests, but this can still give you an idea of the layout.
    Javafx has a built in parser, so I would suggest using XML instead(personal preference)
    Web Service: REST
    Server: Glassfishv3
    IDE: Netbeans
    Here is a link to the entire tutorial: [Lab5557|]

  • Deploy Web-Application to Weblogic 8 without ear-file

    Ciao, I've created a connection to
    Weblogic but I just have a war-file I've to deploy. I tried to replace
    ear.file with war.file but it hasn't work.
    Could you help me? Thanks a lot!
    Here is the default:
    ${java} ${jvm.max.heap.size}
    -classpath ${weblogic.jar} weblogic.Deployer
    -adminurl http://${hostname}:${port}
    -user ${username} -password ${password}
    -debug -verbose -activate -upload
    -source ${ear.file} -name ${}

    JDeveloper automatically creates an EAR file when you try to deploy a WAR file. What errors are you getting?
    - What version of JDev are you using?
    - Is your application jdk 1.4 and J2EE 1.3 compliant to deploy successfully on WebLogic 8.1?

  • How to deploy web components in weblogic 8.1 !!

    I have installed bea weblogic 8.1. But I am not getting a clear idea of deploying my webcomponents. Can anybody help me??
    thanks in advance...

    1. Read the J2EE tutorial
    2. Read your WebLogic documentation

  • How to deploy flexcube application in weblogic?

    Can someone help us how to install flexcube in weblogic?

    where do you stucked, you have generated the EAR file successfully with the FLEXCUBE installer?

  • How to use servlets in portal web application in Weblogic Portal 4.0

    We are developing a Portal Web application using Weblogic Portal 4.0 where in we
    have the following scenario. one JSP in webflow of a portlet calls the PipeLine
    which does some processing and calls the servlet which is having the typical download
    functionality. The servlet is supposed to read the data from the pipeline session
    and create a CSV String that is dumped to the client browser. The problem is even
    we are doing response.setContentType("application/save") in the servlet it is
    still displaying the content as html in the portlet. I guess since all our request
    are send to the webflow contolling servlet and it is setting the content type
    and hence our servlet is not working. How do I solve this problem? Thanks Yogesh

    Hi Renu
    Please go through the SAP Content Management here you find the documents related to Wab page Compoer and knowledge mangement. Also search for article / blog for more details.
    Hope it will helps
    Best Regards
    Arun Jaiswal

  • Error while deploying a application on weblogic 10.3

    Hi experts,
    deploy my application on weblogic 10.3
    this error occurs:
    java.lang.ClassCastException: com.ctc.wstx.stax.WstxInputFactory cannot be cast to
    If I remove wstx-asl-3.2.1.jar. And the application can be deployed.
    But My application really needs this wstx-asl-3.2.1.jar to connect to web service.
    Can anyone tell me how to fix this problem?

    Hi experts,
    deploy my application on weblogic 10.3
    this error occurs:
    java.lang.ClassCastException: com.ctc.wstx.stax.WstxInputFactory cannot be cast to
    If I remove wstx-asl-3.2.1.jar. And the application can be deployed.
    But My application really needs this wstx-asl-3.2.1.jar to connect to web service.
    Can anyone tell me how to fix this problem?

Maybe you are looking for

  • Forefox will not run due to error message '500 Internal Server Error'

    10 days ago the PC had to have its OS reinstalled on Dell's instructions. All other applications we use have been loaded but both Firefox and IE were runing slowly. we uninstalled firefox and reinstalled it - made no difference to speed. Then it star

  • AD Provisioning Issue OIM

    HI, We had created a Role to Provision AD Resource to user using Access Policy. Role is being assigned to user and We are able to see that resource is being assigned to user But its state is Provisioning not Provisioned. We had checked that System Va

  • PowerBuilder connectivity with Oracle 9i or 10g

    We are working on a project that involves migration of data from Informix to Oracle 9i/10g. The application is built on PowerBuilder 6.0. We need to have the application continue to run in PowerBuilder 6.0. We are trying to find out if necessary driv

  • 2 Workflow Notifications regions in Home page?

    Hello, I'm working in a environment. Has anyone tried to "put" 2 Workflow Worklists in the Home Page? My customer wants to see both and work with them independently. In the same page !!!!!!!!!!!! Is this possible? Are there implications in

  • Premiere Elements 9 Will No Longer Work

    I can no longer bring up my projects on Premiere Elements 9.  I get a serious error and need to close the software.  Working backwards by going to a project and starting from there, the software starts to load then disappears.  What is happening?