TagLib in Default WebApp??

Hi,
          I can use Taglib with WEB-INF/web.xml, taglib.tld in my specified web
          application in WebLogic 5.1. but, how can i make it work for the default
          web application under myserver/public_html ??
          Insted of htttp://host:7001/myapp/tagtest.jsp, i want to use
          http://host:7001/tagtest.jsp.
          Where to put the WEB-INF dir to make weblogic recognize my taglib?
          Thanks in advance.
          Best Regards
          Li Zhongling (Alex)
          Carpe Diem, Seize the Day !!
          

Hi, Michael
          Thank you for your answer. I tried again, still there is some difference
          between the root webapp and customerize ones.
          1. I put WEB-INF under public_HTML, but i can not use web.xml to define
          anything there.
          2. I have to specify the uri of my taglib.tld directly, because i can not use
          web.xml to config it. For example, before, I use "uri=/mytag/tag1", then in
          web.xml I specify this uri map to mytag1.tld. Now here, in every jsp under
          public_html, I must directly say "uri=mytag1.tld", then put mytag1.tld under
          public_html/WEB-INF/
          3. The classes under public_html/WEB-INF/classes can not be found
          automatically, as other web apps do. Now I still put all the classes under
          myserver/servletclasses
          After that, everything works fine.
          Li Zhongling
          Michael Girdley wrote:
          > You may deploy the Web Application as an expanded directory hierarchy under
          > public_html.
          >
          > Thanks,
          > Michael
          >
          > --
          > ----
          > Michael Girdley
          > Product Manager, WebLogic Server & Express
          > BEA Systems Inc
          >
          > Li Zhongling (Alex) <[email protected]> wrote in message
          > news:[email protected]...
          > > Hi,
          > >
          > > I can use Taglib with WEB-INF/web.xml, taglib.tld in my specified web
          > > application in WebLogic 5.1. but, how can i make it work for the default
          > > web application under myserver/public_html ??
          > >
          > > Insted of htttp://host:7001/myapp/tagtest.jsp, i want to use
          > > http://host:7001/tagtest.jsp.
          > > Where to put the WEB-INF dir to make weblogic recognize my taglib?
          > >
          > > Thanks in advance.
          > >
          > > --
          > >
          > > Best Regards
          > >
          > > Li Zhongling (Alex)
          > >
          > > --
          > > Carpe Diem, Seize the Day !!
          > >
          > >
          Best Regards
          Li Zhongling (Alex)
          Carpe Diem, Seize the Day !!
          

Similar Messages

  • Deploying a .war file - outside of Tomcat default webapps?

    I would like to deploy a war file outside of the [tomcat]/webapps directory.
    How can I get tomact to recognize AND unpack a war file in a location other then the default webapps directory?
    I have tried the following;
    altering server.xml -
    added context pointing directly to .war in other directory.
    adding context.xml entry to my war -
    added context.xml to META-INF of my war file, indicating that the docBase should be in outside directory.
    Neither of these created the desired result.
    Any suggestions?

    The following is from tomcat docs
    - http://tomcat.apache.org/tomcat-5.5-doc/config/host.html
    appBase : The Application Base directory for this virtual host. This is the pathname of a directory that may contain web applications to be deployed on this virtual host. You may specify an absolute pathname for this directory, or a pathname that is relative to the $CATALINA_BASE directory. Going by that. try making the change as below in your server.xml
    <Host name="localhost" appBase="your_directory"
           unpackWARs="true" autoDeploy="true"
           xmlValidation="false" xmlNamespaceAware="false" deployXML="true">I am going by what the doc says.
    I havent tried it out myself, so do let us know if that worked.
    cheers,
    ram.

  • Forward to JSP in default-webapp

    I have a servlet in a deployed .war file on Sun Java System Web Server 6.1. I have a JSP that is not deployed in any .war file. How do I forward from the servlet to the JSP. I can't figure out how to obtain a context to the jsp pages in the default webapp which are outside of a .war file.
    I see that the jsp .class files are in /opt/sun/web/https-c3qweb1/ClassCache/https-c3qweb1/default-webapp where https-c3qweb1 is the name of our virtual server. There is not an explicit WEBAPP entry for the default webapp in server.xml.
    Is it possible to obtain the context of these jsps which are outside of .war files?

    I got this to work by doing the following:
            ServletConfig currentConfig = getServletConfig();
            ServletContext otherContext = currentConfig.getServletContext().getContext("/");
            RequestDispatcher dispatch = otherContext.getRequestDispatcher("/mbttest.jsp");
            request.setAttribute("anattribute", "set by DispatchOtherContext redirector servlet");
            dispatch.forward(request, response);

  • How to get virtual hosts to have their own default webapps?

    Is there a way to have several virtual hosts to have their own default
    webapps?
    I have five virtual hosts on my server, and I used to be able to deploy the
    webapps to the server, target a server and a virtual host, and then the
    default app to use. But I can't see that anymore in wls8.1. I looked
    around the web for some help, and all I could find was some reference to the
    <context-root> node. The problem with that solution is, when I put that in
    each of the webapps for the virtual hosts, only one gets the "/"
    context-root, and the rest can't use that.
    I would like to be able to have users just type out the virtual hosts URL to
    get access to the webapp. Surely a server as powerful as WebLogic can do
    that. I used to be able to do this in 7.0sp1. Any ideas? Thanks.

    Unfortunately you cannot split (nor merge) items purchased with an AppleID.  I am not clear on what you will have to do to allow them continued access to their music on your account.  Apple no longer has DRM protection in its music but then I also hear people have all kinds of authorization issues when trying to synch so it sounds like they still keep restrictions on what you can do with the music when trying to move it about.  I'll let somebody more experienced with syncing answer this part.  You may have to authorize their computers and devices to your AppleID to allow them all functionality with the music.
    Ideally you would have set them up with their own AppleIDs years ago but...
    Creating an iTunes Store, App Store, iBookstore, and Mac App Store account without a credit card - http://support.apple.com/kb/HT2534 - only works for new accounts!

  • Tomcat default webapp

    Hi Everyone,
    I apologise if this is the wrong place for this post but the majority of everyone here has a vast knowledge of tomcat and I have recieved alot of help when writing it from this forum.
    So I have created a simple web application, registered my domain and have mapped the ip of my web server with my domain registrar, so all requests for my web site are redirected to my static IP address.
    By default when tomcat receives a request to port 80 or 8080 whichever you are using it looks for the <welcome-file> you specify in your web.xml. In this case by default it looks for the index.jsp file in the webapps\ROOT directory.
    What I wish to do is configure it to look in
    webapps\myWebApp\index.jsp
    as opposed to root whenever a request comes in.
    Can anyone tell me how this is configured? i have read through some docs at
    http://jakarta.apache.org/tomcat/tomcat-5.5-doc/manager-howto.html
    but didn't find the answer.
    Also if this is the wrong way to deploy my app please let me know.
    Thanks in advance.
    Tas

    http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/context.html
    Under the section on "path"
    " If you specify a context path of an empty string (""), you are defining the default web application for this Host, which will process all requests not assigned to other Contexts. The value of this field must not be set except when statically defining a Context in server.xml, as it will be infered from the filenames used for either the .xml context file or the docBase."

  • Default Web Application is not visible in Weblogic Console

    We are using Weblogic 5.1.0 SP7
              We moved our Application from the Implicitly Defined Default Web
              Application which is configurated by the
              weblogic properties to a Web Application. Because we don't want to
              change any URL in our Application, we
              decided to deploy it as Explicitly Defined Default Web Application.
              By this we recordniced that the weblogic.httpd.defaultWebApp property
              worked not that way descibed in the
              Weblogic Documentation. You have to write the path to the WebApp not the
              name!
              So we have the following Entry in the weblogic.properties:
              weblogic.httpd.defaultWebApp=i:/if_home2/web
              This works fine. The Server starts and serves the WebApp the way we
              expected. But wenn we start the Weblogic
              Console the WebApp ist not visible in the "myserver/HTTP/Servlet web
              applications" folder. This one is empty
              now! Previously the "General" Entry for the Implicitly Defined Default
              Web Application was shown here, which
              showed our Servlets and JSP's and their hit count and parameters.
              So there is no chance to monitor the Servlets and JSP's of the default
              Web Application.
              I tried to deploy our WebApp a secound time with
              weblogic.httpd.webApp.OurApp=i:/if_home2/web
              but this create a second independent WebApp. OurApp is shown in the
              Weblogic Console but it does not monitor
              the hits to the default WebApp. So this is not a solution!
              Any idea to make the default Web Application visible in the Weblogic
              Console?
              

    in my development environment i checked in site collection feature, it isn't available in site collection feature but still i am getting those web parts in web part gallery while adding it on page.
    Also, in Production environment, feature is available in /templates/features folder after deployment, but not available in web part gallery while adding it on page.
    I tried with uploading .webpart file which is available in /templates/features production environment as i mentioned, is running for one web part. Not for second web part and giving me security error.
    As, uploading .webpart file is not feasible solution, please tell me how could i do that with .wsp file?
    please tell me what could be another workaround. 
     

  • Java.lang.StringIndexOutOfBoundsException while deploying webapp

    Hi all,
    I'm trying to deploy an expanded webapp on WebLogic 6.0sp1. It's a
    migration from 5.1, some hundred JSPs, some servlets and custom tags in
    WEB-INF/classes and a few static pages. I placed the web-application
    folder in the applications folder and the server begins the deployment.
    During deployment I get a StringIndexOutOfBoundsException and the
    deployment stops (see log extract below). By the time when this happens,
    there is a new .ear file and a war file (seem to be the same) containing
    my web application. This is a real show-stopper for me, so I'd be glad
    for any recommendations.
    Thanks,
    Daniel
    [java] <14.03.2001 18:28:11 GMT+01:00> <Info> <Management>
    <MBean=(fbsdomain:Name=futuna,Type=Application) Attribute=(LastModified)
    modified from (0) to (984590891366).>
    [java] <14.03.2001 18:28:11 GMT+01:00> <Info> <Management>
    <MBean=(fbsdomain:Name=futuna,Type=WebAppComponent,Application=futuna)
    Attribute=(Application) modified from (null) to (fbsdomain:Name=f
    utuna,Type=Application).>
    [java] <14.03.2001 18:28:11 GMT+01:00> <Info> <Management>
    <MBean=(fbsdomain:Name=futuna,Type=WebAppComponent,Application=futuna)
    Attribute=(Application) modified from (fbsdomain:Name=futuna,Type
    =Application) to (fbsdomain:Name=futuna,Type=Application).>
    [java] <14.03.2001 18:28:11 GMT+01:00> <Info> <Management>
    <MBean=(fbsdomain:Name=futuna,Type=WebAppComponent,Application=futuna)
    Attribute=(URI) modified from (null) to (futuna).>
    [java] <14.03.2001 18:28:11 GMT+01:00> <Info> <Management>
    <MBean=(fbsdomain:Name=futuna,Type=WebAppComponent,Application=futuna)
    Attribute=(ContextPath) modified from (null) to (futuna).>
    [java] <14.03.2001 18:28:11 GMT+01:00> <Info> <Management>
    <MBean=(fbsdomain:Name=futuna,Type=Application) Attribute=(LoadError)
    modified from (null) to (null).>
    [java] <14.03.2001 18:28:16 GMT+01:00> <Info> <HTTP> <[HTTP
    fbsserver] Loading web app: futuna>
    [java] <14.03.2001 18:28:16 GMT+01:00> <Info> <HTTP> <[HTTP
    fbsserver] Loading futuna from WAR file:
    c:\dev\fbs\application\config\fbsdomain\applications\.wl_temp_do_not_del
    ete\wl_local_comp19242
    .war>
    [java] <14.03.2001 18:28:16 GMT+01:00> <Info> <HTTP> <[Default
    WebApp] extracting classfiles to
    c:\dev\fbs\application\config\fbsdomain\applications\.wl_temp_do_not_del
    ete\WEB-INF\_tmp_war_fbsser
    ver_fbsserver_futuna:>
    [java] <14.03.2001 18:28:17 GMT+01:00> <Info> <HTTP> <[Default
    WebApp] extracted classfiles successfully...>
    [java] <14.03.2001 18:28:17 GMT+01:00> <Debug> <HTTP> <Exception
    thrown while loading futuna: java.lang.StringIndexOutOfBoundsException:
    String index out of range: -1>
    [java] <14.03.2001 18:28:17 GMT+01:00> <Error> <J2EE> <Error
    deploying application futuna: Could not load futuna>
    [java] <14.03.2001 18:28:17 GMT+01:00> <Info> <Management>
    <MBean=(fbsdomain:Name=futuna,Type=Application) Attribute=(Deployed)
    modified from (true) to (true).>
    [java] <14.03.2001 18:28:36 GMT+01:00> <Error> <HTTP>
    <HttpServer(4062427,null default ctx,fbsserver) found no context for
    "GET /futuna HTTP/1.1". This should not happen unless the default contex
    t failed to deploy.>
    [java] <14.03.2001 18:28:45 GMT+01:00> <Error> <HTTP>
    <HttpServer(4062427,null default ctx,fbsserver) found no context for
    "GET /futuna/ HTTP/1.1". This should not happen unless the default conte
    xt failed to deploy.>
    [java] <14.03.2001 18:30:27 GMT+01:00> <Info> <HTTP>
    <[WebAppServletContext(4114264,console)] *.html: init>
    [java] <14.03.2001 18:30:27 GMT+01:00> <Info> <HTTP>
    <[WebAppServletContext(4114264,console)] *.html: Using standard I/O>

    Hi Kumar,
    thanks for the hint, but that did not solve the problem. I reworked
    web.xml and weblogic.xml (some 5.1 things inside) and now it works.
    Daniel
    -----Ursprüngliche Nachricht-----
    Von: Kumar Allamraju [mailto:[email protected]]
    Bereitgestellt: Mittwoch, 14. März 2001 22:35
    Bereitgestellt in: install
    Unterhaltung: java.lang.StringIndexOutOfBoundsException while deploying
    webapp
    Betreff: Re: java.lang.StringIndexOutOfBoundsException while deploying
    webapp
    It appears your default webapp failed to deploy.
    Add the following entry (red ink) in your config.xml (carefully) and see
    if you are able to deploy default webapp
    <Application
    Deployed="true"
    Name="DefaultWebApp_myserver"
    Path="./config/myserver/applications"
    >
    <WebAppComponent
    Name="DefaultWebApp_myserver"
    Targets="myserver"
    WebServers="myserver"
    URI="DefaultWebApp_myserver"
    />
    </Application>
    Daniel Hoppe wrote:
    Hi all,
    I'm trying to deploy an expanded webapp on WebLogic 6.0sp1. It's a
    migration from 5.1, some hundred JSPs, some servlets and custom tags in
    WEB-INF/classes and a few static pages. I placed the web-application
    folder in the applications folder and the server begins the deployment.
    During deployment I get a StringIndexOutOfBoundsException and the
    deployment stops (see log extract below). By the time when this happens,
    there is a new .ear file and a war file (seem to be the same) containing
    my web application. This is a real show-stopper for me, so I'd be glad
    for any recommendations.
    Thanks,
    Daniel
    [java] <14.03.2001 18:28:11 GMT+01:00> <Info> <Management>
    <MBean=(fbsdomain:Name=futuna,Type=Application) Attribute=(LastModified)
    modified from (0) to (984590891366).>
    [java] <14.03.2001 18:28:11 GMT+01:00> <Info> <Management>
    <MBean=(fbsdomain:Name=futuna,Type=WebAppComponent,Application=futuna)
    Attribute=(Application) modified from (null) to (fbsdomain:Name=f
    utuna,Type=Application).>
    [java] <14.03.2001 18:28:11 GMT+01:00> <Info> <Management>
    <MBean=(fbsdomain:Name=futuna,Type=WebAppComponent,Application=futuna)
    Attribute=(Application) modified from (fbsdomain:Name=futuna,Type
    =Application) to (fbsdomain:Name=futuna,Type=Application).>
    [java] <14.03.2001 18:28:11 GMT+01:00> <Info> <Management>
    <MBean=(fbsdomain:Name=futuna,Type=WebAppComponent,Application=futuna)
    Attribute=(URI) modified from (null) to (futuna).>
    [java] <14.03.2001 18:28:11 GMT+01:00> <Info> <Management>
    <MBean=(fbsdomain:Name=futuna,Type=WebAppComponent,Application=futuna)
    Attribute=(ContextPath) modified from (null) to (futuna).>
    [java] <14.03.2001 18:28:11 GMT+01:00> <Info> <Management>
    <MBean=(fbsdomain:Name=futuna,Type=Application) Attribute=(LoadError)
    modified from (null) to (null).>
    [java] <14.03.2001 18:28:16 GMT+01:00> <Info> <HTTP> <[HTTP
    fbsserver] Loading web app: futuna>
    [java] <14.03.2001 18:28:16 GMT+01:00> <Info> <HTTP> <[HTTP
    fbsserver] Loading futuna from WAR file:
    c:\dev\fbs\application\config\fbsdomain\applications\.wl_temp_do_not_del
    ete\wl_local_comp19242
    .war>
    [java] <14.03.2001 18:28:16 GMT+01:00> <Info> <HTTP> <[Default
    WebApp] extracting classfiles to
    c:\dev\fbs\application\config\fbsdomain\applications\.wl_temp_do_not_del
    ete\WEB-INF\_tmp_war_fbsser
    ver_fbsserver_futuna:>
    [java] <14.03.2001 18:28:17 GMT+01:00> <Info> <HTTP> <[Default
    WebApp] extracted classfiles successfully...>
    [java] <14.03.2001 18:28:17 GMT+01:00> <Debug> <HTTP> <Exception
    thrown while loading futuna: java.lang.StringIndexOutOfBoundsException:
    String index out of range: -1>
    [java] <14.03.2001 18:28:17 GMT+01:00> <Error> <J2EE> <Error
    deploying application futuna: Could not load futuna>
    [java] <14.03.2001 18:28:17 GMT+01:00> <Info> <Management>
    <MBean=(fbsdomain:Name=futuna,Type=Application) Attribute=(Deployed)
    modified from (true) to (true).>
    [java] <14.03.2001 18:28:36 GMT+01:00> <Error> <HTTP>
    <HttpServer(4062427,null default ctx,fbsserver) found no context for
    "GET /futuna HTTP/1.1". This should not happen unless the default contex
    t failed to deploy.>
    [java] <14.03.2001 18:28:45 GMT+01:00> <Error> <HTTP>
    <HttpServer(4062427,null default ctx,fbsserver) found no context for
    "GET /futuna/ HTTP/1.1". This should not happen unless the default conte
    xt failed to deploy.>
    [java] <14.03.2001 18:30:27 GMT+01:00> <Info> <HTTP>
    <[WebAppServletContext(4114264,console)] *.html: init>
    [java] <14.03.2001 18:30:27 GMT+01:00> <Info> <HTTP>
    <[WebAppServletContext(4114264,console)] *.html: Using standard I/O>

  • Should not happen unless default context failed to deploy

              Can somebody please throw some light on this error?
              <Mar 5, 2001 10:07:26 AM EST> <Error> <HTTP> <HttpServer5173817,null
              default ctx,POSDev01) found no context for "GET /classes/ringout_statelessSession3@/RingoutSessionBeanHomeImpl_WLStub.class
              HTTP/1.0". This should not happen unless the default context failed
              to deploy.>
              Myself and lot of other people in my team are getting this error
              when using beans in a cluster.
              I am getting this error consistently whenever I make some code
              changes in my bean class (not interface changes) and redeploy it
              and try to lookup through a stand-alone client.
              The only way I could find to overcome this problem is:
              1) edit config.xml to remove the Application element completely
              corresponding to the bean
              2) remove jar files from the applications directory
              3) re-deploy and run the client again.
              Thanks a lot
              Kiran Ganuthula
              

    Partly it could be WLS problem also. Under any circumstances default webapp should be able
              to deploy. I have seen somebody else also reported the same problem. The current problem is
              if you delete anything from apps dir, the corresponding entry is not being deleted from config.xml
              So next time when you boot the server, it tries to deploy the webapp and eventually it fails.
              I 'm not sure if this is the situation in your case.
              In anycase somehow Targets tag is not being picking up. That's why i asked you add
              "WebServers" tag. I think we have done some major changes in SP1, to make sure that
              default webapp deploys all the times.
              If you still have problems, post it to servlet or management group, we will discuss there.
              Kumar
              Kiran G wrote:
              > I edited the config.xml ONLY after getting this error. And, it worked.
              >
              > BTW, can you please be more specific about the changes to config.xml
              > to solve the problem?
              > If possible, can you give pertinent portion(s) of config.xml, highlighting
              > the changes.
              >
              > Thanks
              > Kiran G
              >
              > Kumar Allamraju <[email protected]> wrote:
              > >
              > >
              > >It appears your "default webapp" failed to deploy.
              > >Did you messed up with the config.xml?.
              > >
              > >Add the following to your default webapp tag?
              > >
              > ><Application
              > > Deployed="true"
              > > Name="DefaultWebApp_vindev1"
              > > Path="./config/vindev1/applications"
              > > >
              > > <WebAppComponent
              > > Name="DefaultWebApp_vindev1"
              > > Targets="vindev1"
              > > WebServers="vindev1"
              > > URI="DefaultWebApp_vindev1"
              > > />
              > > </Application>
              > >
              > >
              > >Here vindev1 is my domain's name..
              > >
              > >BTW, this is not a clustering question. So you better
              > >post it to servlet newsgroup where you get much
              > >better answers..
              > >
              > >Kiran G wrote:
              > >
              > >> I forgot to give these details about the problem.
              > >> I am running this cluster using WebLogic 6.0 on a SUN
              > >sparc machine.
              > >>
              > >> The error text given in my original posting appears
              > >in the managed
              > >> weblogic server's log. The exception that the client
              > >receives while
              > >> lookup is :
              > >>
              > >> javax.naming.CommunicationException. Root exception
              > >is java.rmi.UnmarshalException:
              > >> failed to unmarshal class java.lang.Object; nested exception
              > >is:
              > >> java.lang.ClassNotFoundException: RingoutSessionBeanHomeImpl_WLStub
              > >> java.lang.ClassNotFoundException: RingoutSessionBeanHomeImpl_WLStub
              > >>
              > >> "Kiran G" <[email protected]> wrote:
              > >> >
              > >> >Can somebody please throw some light on this error?
              > >> >
              > >> ><Mar 5, 2001 10:07:26 AM EST> <Error> <HTTP> <HttpServer5173817,null
              > >> >default ctx,POSDev01) found no context for "GET /classes/ringout_statelessSession3@/RingoutSessionBeanHomeImpl_WLStub.class
              > >> >HTTP/1.0". This should not happen unless the default
              > >context
              > >> >failed
              > >> >to deploy.>
              > >> >
              > >> >Myself and lot of other people in my team are getting
              > >> >this error
              > >> >when using beans in a cluster.
              > >> >
              > >> >I am getting this error consistently whenever I make
              > >some
              > >> >code
              > >> >changes in my bean class (not interface changes) and
              > >redeploy
              > >> >it
              > >> >and try to lookup through a stand-alone client.
              > >> >
              > >> >The only way I could find to overcome this problem
              > >is:
              > >> >1) edit config.xml to remove the Application element
              > >completely
              > >> >corresponding to the bean
              > >> >2) remove jar files from the applications directory
              > >> >3) re-deploy and run the client again.
              > >> >
              > >> >Thanks a lot
              > >> >Kiran Ganuthula
              > >> >
              > >> >
              > >> >
              > >> >
              > >> >
              > >
              > >
              > ><!doctype html public "-//w3c//dtd html 4.0 transitional//en">
              > ><html>
              > >It appears your "default webapp" failed to deploy.
              > ><br>Did you messed up with the config.xml?.
              > ><p>Add the following to your default webapp tag?
              > ><p><Application
              > ><br> Deployed="true"
              > ><br> Name="DefaultWebApp_vindev1"
              > ><br> Path="./config/vindev1/applications"
              > ><br> >
              > ><br> <WebAppComponent
              > ><br> Name="DefaultWebApp_vindev1"
              > ><br> Targets="vindev1"
              > ><br> <b><font color="#CC0000">
              > >WebServers="vindev1"</font></b>
              > ><br> URI="DefaultWebApp_vindev1"
              > ><br> />
              > ><br> </Application>
              > ><br>
              > ><p>Here vindev1 is my domain's name..
              > ><br><br>
              > >BTW, this is not a clustering question. So you better
              > >post it to servlet
              > >newsgroup where you get much
              > ><br>better answers..
              > ><p>Kiran G wrote:
              > ><blockquote TYPE=CITE>I forgot to give these details about
              > >the problem.
              > ><br>I am running this cluster using WebLogic 6.0 on a
              > >SUN sparc machine.
              > ><p>The error text given in my original posting appears
              > >in the managed
              > ><br>weblogic server's log. The exception that the client
              > >receives while
              > ><br>lookup is :
              > ><p>javax.naming.CommunicationException. Root exception
              > >is java.rmi.UnmarshalException:
              > ><br>failed to unmarshal class java.lang.Object; nested
              > >exception is:
              > ><br> java.lang.ClassNotFoundException:
              > >RingoutSessionBeanHomeImpl_WLStub
              > ><br>java.lang.ClassNotFoundException: RingoutSessionBeanHomeImpl_WLStub
              > ><p>"Kiran G" <[email protected]> wrote:
              > ><br>>
              > ><br>>Can somebody please throw some light on this error?
              > ><br>>
              > ><br>><Mar 5, 2001 10:07:26 AM EST> <Error> <HTTP>
              > ><HttpServer5173817,null
              > ><br>>default ctx,POSDev01) found no context for "GET /classes/ringout_statelessSession3@/RingoutSessionBeanHomeImpl_WLStub.class
              > ><br>>HTTP/1.0". This should not happen unless the default
              > >context
              > ><br>>failed
              > ><br>>to deploy.>
              > ><br>>
              > ><br>>Myself and lot of other people in my team are getting
              > ><br>>this error
              > ><br>>when using beans in a cluster.
              > ><br>>
              > ><br>>I am getting this error consistently whenever I make
              > >some
              > ><br>>code
              > ><br>>changes in my bean class (not interface changes)
              > >and redeploy
              > ><br>>it
              > ><br>>and try to lookup through a stand-alone client.
              > ><br>>
              > ><br>>The only way I could find to overcome this problem
              > >is:
              > ><br>>1) edit config.xml to remove the Application element
              > >completely
              > ><br>>corresponding to the bean
              > ><br>>2) remove jar files from the applications directory
              > ><br>>3) re-deploy and run the client again.
              > ><br>>
              > ><br>>Thanks a lot
              > ><br>>Kiran Ganuthula
              > ><br>>
              > ><br>>
              > ><br>>
              > ><br>>
              > ><br>></blockquote>
              > ></html>
              > >
              > >
              [att1.html]
              

  • Default Web Application ist not visible in WebLogic Console

    We are using Weblogic 5.1.0 SP7
              We moved our Application from the Implicitly Defined Default Web
              Application which is configurated by the weblogic properties to a Web
              Application. Because we don't want to change any URL in our Application,
              we decided to deploy it as Explicitly Defined Default Web Application.
              By this we recordniced that the weblogic.httpd.defaultWebApp property
              worked not that way descibed in the Weblogic Documentation. You have to
              write the path to the WebApp not the name!
              So we have the following Entry in the weblogic.properties:
              weblogic.httpd.defaultWebApp=i:/if_home2/web
              This works fine. The Server starts and serves the WebApp the way we
              expected. But wenn we start the Weblogic Console the WebApp ist not
              visible in the "myserver/HTTP/Servlet web applications" folder. This one
              is empty now! Previously the "General" Entry for the Implicitly Defined
              Default Web Application was shown here, which showed our Servlets and
              JSP's and their hit count and parameters.
              So there is no chance to monitor the Servlets and JSP's of the default
              Web Application.
              I tried to deploy our WebApp a secound time with
              weblogic.httpd.webApp.OurApp=i:/if_home2/web
              but this create a second independent WebApp. OurApp is shown in the
              Weblogic Console but it does not monitor the hits to the default WebApp.
              So this is not a solution!
              Any idea to make the default Web Application visible in the Weblogic
              Console?
              

    Hello Nadar,
    Tell me how are you starting server in the cluster, through nodemanager or commnadline.
    Kuldeep

  • How to access non-default web app?

    Hello All,
    I have installed the trial version of WL 6.1 and am having a bit of trouble accessing
    any servlet that is not listed in config.xml as the WebServer's default web app.
    Here is our WebServer node from config.xml. What does this node even do? Do
    I need to configure a web server separately?
    <WebServer DefaultWebApp="ourApp"
    LogFileName="./config/TestServer/logs/access.log"
    LoggingEnabled="true" Name="TestServer"/>
    Besides configuring the applications in the admin console, what else do I need
    to do to be able to access my servlets? We had them running in a production version
    of tomcat and are trying to get them running inside of WL to no effect.
    TIA for any tips, answers, etc.
    Alex

    Hi.
    Try using the webapp name in your uri if it is not the default webapp. for example:
    http://host:port/myWebApp/myServlet
    Michael
    alex reuter wrote:
    Hello All,
    I have installed the trial version of WL 6.1 and am having a bit of trouble accessing
    any servlet that is not listed in config.xml as the WebServer's default web app.
    Here is our WebServer node from config.xml. What does this node even do? Do
    I need to configure a web server separately?
    <WebServer DefaultWebApp="ourApp"
    LogFileName="./config/TestServer/logs/access.log"
    LoggingEnabled="true" Name="TestServer"/>
    Besides configuring the applications in the admin console, what else do I need
    to do to be able to access my servlets? We had them running in a production version
    of tomcat and are trying to get them running inside of WL to no effect.
    TIA for any tips, answers, etc.
    Alex--
    Developer Relations Engineer
    BEA Support

  • Console.war as default web application...

    Hi,
    I tried to add the console.war as my default web application for my Admin
    server, but when restarting the server it complained with the following
    error:
    The WebLogic Server did not start up properly.
    "Exception raised: weblogic.management.configuration.ConfigurationException:
    undefined mbean reference:
    mydomain:Name=console,Server=myserver,Type=WebAppComponent"
    And the server does not start at all - I had to manually update the
    config.xml to remove the console.war as a default web application...
    Does anybody knows if this is a bug? Does it happens only with the
    console.war? or there are any other scenarios that it can happen as well?
    Thanks,
    Marcelo.

    It's 6.1 - I want to set up it as default on my Admin server instance, which
    is running as a Admin server only... Not critical, but...
    Thanks,
    Marcelo
    "Kumar Allamraju" <[email protected]> wrote in message
    news:[email protected]..
    Is this problem with 6.0 or 6.1?
    BTW, why do you want configure console.war as default webapp?
    Marcelo Caldas wrote:
    Hi,
    I tried to add the console.war as my default web application for my
    Admin
    server, but when restarting the server it complained with the following
    error:
    The WebLogic Server did not start up properly.
    "Exception raised:weblogic.management.configuration.ConfigurationException:
    undefined mbean reference:
    mydomain:Name=console,Server=myserver,Type=WebAppComponent"
    And the server does not start at all - I had to manually update the
    config.xml to remove the console.war as a default web application...
    Does anybody knows if this is a bug? Does it happens only with the
    console.war? or there are any other scenarios that it can happen aswell?
    >>
    Thanks,
    Marcelo.

  • Weblogic 6.0 SP1 default server starting problem

    Hi
    After I successfully installed WLS6.0SP1 on solaris, I was trying to run the default
    server as mentioned in your post-installation tasks. I am getting the following
    error:
    <Apr 11, 2001 12:11:33 PM PDT> <Error> <HTTP> <[Default WebApp] failure extracting
    WAR classes java.io.FileNotFoundException: /var/tmp/WEB-INF/_tmp_war_myserver_myserver_wl_ma
    nagement_internal2/weblogic/management/servlet/BootstrapServlet.class (Permission
    denied)
    at java.io.FileOutputStream.open(Native Method)
    However I can see the index page at port 7001 and also see the console thro' the
    browser.
    So I am not sure if or not I should ignore the above problem
    Please let me know
    thanx

    This solution was emailed to me by WebLogic and it works.
    Yes, I do have a fix for your issue. You received that
    exception because there was an attempt to run multiple
    instances in a single machine.
    By default, WLS 6.0 creates some temporary files
    in system swap space at /tmp/WEB-INF. The becomes
    a conflict if multiple users try to fire up WLS instances.
    Please add the following parameters into your startup
    script.
    Example:
    -Djava.io.tmpdir=/var/tmp/userid property
    java -ms64.... -classpath $CLASSPATH ..... -Djava.io.tmpdir=/export/home/chunan/tmp....
    For production, please keep the default.
    If you still need to run multiple instances for production,
    you may point it back to /tmp (system swap) to reduce
    hard disk delay.
    Chunan
    BEA Support Team
    "Santosh Joglekar" <[email protected]> wrote:
    >
    Hi
    After I successfully installed WLS6.0SP1 on solaris, I was trying to
    run the default
    server as mentioned in your post-installation tasks. I am getting the
    following
    error:
    <Apr 11, 2001 12:11:33 PM PDT> <Error> <HTTP> <[Default WebApp] failure
    extracting
    WAR classes java.io.FileNotFoundException: /var/tmp/WEB-INF/_tmp_war_myserver_myserver_wl_ma
    nagement_internal2/weblogic/management/servlet/BootstrapServlet.class
    (Permission
    denied)
    at java.io.FileOutputStream.open(Native Method)
    However I can see the index page at port 7001 and also see the console
    thro' the
    browser.
    So I am not sure if or not I should ignore the above problem
    Please let me know
    thanx

  • Taglib

    The system cannot find the file specified in open taglibrary
    taglib : d:\tomcat\webapps\tomapp\WEB-INF\taglib.tld
    this is my web.xml says:
    <web-app>
    <display-name> Tag Lib </display-name>
    <taglib>
    <taglib-uri>taglib</taglib-uri>
    <taglib-location>/taglib.tld</taglib-location>
    </taglib>
    </web-app>

    Hi rokar,
    I had replyed long back this type of question, any how look at this information
    /jakarta-tomcat-3.2.1/webapps/your_context/
    somewhere inside the war file of your application
    war file must be put inside /jakarta-tomcat-3.2.1/webapps/
    An example of tree of a web application (in a .war archive) can be:
    war-file
    |
    |----META-INF
    | |---MANIFEST.MF
    |
    |---WEB-INF
    | |---web.xml
    | |---jsp
    | | |---taglib (.tld)
    | |---classes
    | |---(.class/.properties)
    |---jsp
    | |---(.jsp/.html/.shtml)
    |
    |---images
    | |---(.gif/.png/.jpeg)
    |
    |---binaries
    |---(.zip/.tar/...)
    check examples in jakarta-tomcat-3.2.1/webapps/
    Please look at this url:
    http://forum.java.sun.com/thread.jsp?forum=45&thread=148934
    Regards,
    Tirumalarao
    Developer Technical Support,
    Sun Microsystems.

  • Mapping my webApp to the root of the appserver?

    Is it possible to map my web app (war file or Servlet 2.2 directory
    structure included)so I don't have to use the context name in the URL?

    See http://www.weblogic.com/docs51/classdocs/webappguide.html#deploywls
    "Michael Smith" <[email protected]> wrote:
    You were right! Thank you so much. I've been looking EVERYWEHERE in the
    documention and found NOTHING that talked about setting the default web app.
    Could you tell me where you found that? Is there a doc that lists all
    possible weblogic.properties settings?
    Thanks again!
    "Cameron Purdy" <[email protected]> wrote in message
    news:[email protected]..
    I think it is:
    weblogic.httpd.defaultWebApp=D:/weblogic510/examples/webapp/cookie/cookie.wa
    r
    Cameron Purdy
    http://www.tangosol.com
    "Kumar Allamraju" <[email protected]> wrote in message
    news:[email protected]..
    You have to register your webapp as default WebApp
    weblogic.httpd.defaultWebApp.cookie=D:/weblogic510/examples/webapp/cookie/co
    okie.war
    Kumar
    Michael Smith wrote:
    Is it possible to map my web app (war file or Servlet 2.2 directory
    structure included)so I don't have to use the context name in the URL?

  • Deployed web app can't be server default?

    hey folks.
    i've deployed a web app (i can see it in the console under "web
    apps").
    i want to make this web app the default for my server. i went
    to the "target" tab for the web app and made my server the target.
    however, when i go to my server's HTTP page, there's nothing but
    "none" in the "default web application" pulldown.
    anyone have a clue? if you have this working, can you show me
    the xml from config.xml? i will just enter it manually if all
    else fails.
    thanks in advance,
    -bml

    Hi, Gene.
    Check with support. Switching the default webapp by modifying config.xml is
    more compilicated than I descripted in my post. I wish support could address
    this regression ASAP.
    Cheers - Wei
    "Gene Chuang" <[email protected]> wrote in message
    news:[email protected]...
    This seems like a pretty serious regression!
    I created a new war directory (testwar), and tried manually modifyingconfig.xml to switch to a new
    DefaultWebApp, called "testwar". Unfortunately, I get the followingcomplaint of mbean unable to
    find "testwar" component when I restart the server. I looked inconfig.xml and sure enough,
    "testwar" component isn't registered there; seems like the admin serverwas able to detect my
    creation of a new war directory, gives me the message that testwar isdeployed, but did not write
    this info into config.xml!
    This is another reason why manual editting of config.xml is unadvisable,and that this regression
    further exacerbates the problem! Is there a quick patch fix to this???
    Gene
    <Mar 19, 2001 6:52:29 PM PST> <Notice> <Management> <Loading configurationfile
    ./config/mydomain/config.xml ...>
    The WebLogic Server did not start up properly.
    Exception raised:weblogic.management.configuration.ConfigurationException: undefined mbean
    reference: mydomain:Name=testwar,Type=WebAppComponent,Server=myserver
    weblogic.management.configuration.ConfigurationException: undefined mbeanreference:
    mydomain:Name=testwar,Type=WebAppComponent,Server=myserver
    "Wei Guan" <[email protected]> wrote in message
    news:[email protected]...
    It is a bug in SP1. We just create a case. At the same time, you can use
    your editor to open config.xml, search the following section:
    <WebServer
    ClusteringEnabled="true"
    Targets="mycluster"
    />
    Add or modify following line:
    <WebServer
    ClusteringEnabled="true"
    DefaultWebApp="myWebApp"
    Targets="mycluster"
    />
    Cheers - Wei
    "brian long" <[email protected]> wrote in message
    news:[email protected]...
    hey folks.
    i've deployed a web app (i can see it in the console under "web
    apps").
    i want to make this web app the default for my server. i went
    to the "target" tab for the web app and made my server the target.
    however, when i go to my server's HTTP page, there's nothing but
    "none" in the "default web application" pulldown.
    anyone have a clue? if you have this working, can you show me
    the xml from config.xml? i will just enter it manually if all
    else fails.
    thanks in advance,
    -bml

Maybe you are looking for

  • HT5622 RE Apple ID issues

    I have been receiving multiple emails RE my Apple ID being used to download apps I haven't, with software update but no content in email and then my Apple ID being disabled??? Are these legit? When I click on the link it leads me to a page to enter m

  • How can I change the icon for the bookmarks menu button

    Using linux, the default icon for the bookmarks menu button is quite ugly. Is there a way to change the icon for the button with some code in userChrome.css ?

  • Upload image with BuddyAPI

    I have a cast member as a place holder for a profile pic. I want the user to browse their computer for an image to use as their profile pic and then save that file to a specified location (the same location as the projector) and be the same size as t

  • Ideal drives setup for running Logic???

    Hello, I just purchased an internal 256GB Samsung 840 pro SSD drive. I have an external Firewire 800 2 TB external hard drive (7200 rpm) as well. What would be the ideal setup for running Logic? Thanks! 2011 iMac 27", 16 GB of RAM, Logic Pro 9.1.8, O

  • Is there any way to salvage contact info, media and call logs from an account that is currently suspended

    Is there any way to salvage contact info, media and call logs from an account that is currently suspended