How to deploy web application to Weblogic?

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

Hello,
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(HttpServlet.java:740)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1006)
     at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
     at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
     at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6718)
     at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
     at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
     at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3764)
     at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644)
     at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
     at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
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

    Hi,
    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
    Komi

    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
    <servlet>
         <servlet-name>MyServlet</servlet-name>
         <servlet-class>com.abd.def.MyServlet</servlet-class>
    </servlet>
    <servlet-mapping>
         <servlet-name>MyServlet</servlet-name>
         <url-pattern>/myservlet</url-pattern>
    </servlet-mapping>
    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.
    http://docs.oracle.com/cd/E13196_01/platform/docs81/deploy/deploy.html
    Thanks
    Ravi Jegga

  • Exception occured while deploying  web application in weblogic

    Hello,
    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.

    Thanx
    javax.faces.FacesException: java.lang.IllegalArgumentException: Renderer for type 'Time' already exists.
         at com.sun.faces.config.ConfigBase.updateRenderKits(ConfigBase.java:398)
         at com.sun.faces.config.ConfigBase.updateRuntimeComponents(ConfigBase.java:286)
         at com.sun.faces.config.ConfigListener.contextInitialized(ConfigListener.java:202)
         at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:374)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:83)
         at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1581)
         at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2678)
         at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:874)
         at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:326)
         at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:114)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
         at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:25)
         at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:640)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
         at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:252)
         at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:154)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:567)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:131)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:101)
         at weblogic.deploy.internal.targetserver.operations.StartOperation.doCommit(StartOperation.java:126)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:329)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:845)
         at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1246)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:432)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:161)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:181)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:12)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:67)
         at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)

  • 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)
    com.sap.sdm.util.sduread.IIIFormattedSduFileException: 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
    (F:\usr\sap\JR1\JC01\SDM\program\temp\MyProject.war)"
    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

    Hi,
    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:
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/70/13353094af154a91cbe982d7dd0118/frameset.htm
    Regards,
    Ervin

  • 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.
    Thanx
    Inder

    Hello,
    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:
    http://wiki.java.net/bin/view/People/DeployingCreatorApps
    http://developer.sun.com/prodtech/javatools/jscreator/reference/faqs/technical.jsp
    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.
    John
    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

    Hi,
    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.
    Thanks

    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 http://dev2dev.bea.com/blog/rwoollen/

  • 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(ServletStubImpl.java:794)
         at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:504)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:349)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6291)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:97)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3575)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2573)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151)
    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

    FYI
    http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=40&t=002818

  • 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.
    Cheers
    "Mohan" <[email protected]> wrote:
    >
    R u sure? I think u r refering to the default installation directory
    which is
    c:\bea.
    "Donald Stadler" <[email protected]> wrote:
    The installation program gives an option to change the default deployment
    directory.
    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
    application
    in D:\web directory).

  • How to deploy javaFX application in weblogic ?

    Hi
    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|http://developers.sun.com/learning/javaoneonline/j1lab.jsp?lab=LAB-5557&yr=2009&track=1]

  • 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 ${j2ee.app.name}

    Hi,
    JDeveloper automatically creates an EAR file when you try to deploy a WAR file. What errors are you getting?
    Also,
    - 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?
    Thanks
    Prasanth

  • 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?

    hi!
    where do you stucked, you have generated the EAR file successfully with the FLEXCUBE installer?
    greetings
    Adam

  • 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.
    [http://www.sdn.sap.com/irj/sdn/nw-ecm|http://www.sdn.sap.com/irj/sdn/nw-ecm]
    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 javax.xml.stream.XMLInputFactory
    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?
    Thanks

    Hi experts,
    deploy my application on weblogic 10.3
    this error occurs:
    java.lang.ClassCastException: com.ctc.wstx.stax.WstxInputFactory cannot be cast to javax.xml.stream.XMLInputFactory
    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?
    Thanks

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 11.1.1.5

    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 11.5.10.2 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?