Servlet 2.2 conformity of web-app deployment?

Hi,
          I am having quite a bit of difficulty getting a standard Servlet 2.2 app
          that runs in Resin, Tomcat and Orion app server just fine, to work at all on
          WebLogic. Is there some sort of trick? I installed WebLogic 5.1 trial via
          the download on my Win2K box. I set the weblogic.properties to use a webApp.
          When I hit the web-app via html pages..its fine. When I try to display JSP
          pages I get problems. I then figured out that for some reason WebLogic
          couldn't find tools.jar to compile JSP pages, so I added that to my System
          Environment classpath. Why it needs to be set there..and its not
          automatically done by the install I don't know. It seems obvious to me that
          to display JSP pages they have to be compiled, so tools.jar is needed.
          Anyways, the pages started converting into .java files, but when compiling I
          am getting some compile-time errors and thus the .class isn't showing up.
          I have:
          weblogic.httpd.webApp.myapp=c:/applications/bm/www
          in weblogic.properties. I am not trying clustering yet, so this is just to
          deploy a single instance of weblogic to run our site. I also commented out
          the docRoot=/public or whatever the line is..since I only want to run a
          Servlet 2.2 web-app, not a simple web-site.
          Below is the output of the console. I am not sure why it is giving me a
          class loader error. I am going to try the SP4 patch, but for some reason the
          wlconfig utility doesn't change the settings that I keep applying to it. I
          am trying to add a path to the classpath with wlconfig.
          Anyways..if anyone can shed some light I would be much appreciated.
          Thank you.
          Mon Aug 14 11:02:55 PDT 2000:<I> <ServletContext-myapp> *.jsp: init
          Mon Aug 14 11:02:55 PDT 2000:<I> <ServletContext-myapp> *.jsp: param verbose
          ini
          tialized to: true
          Mon Aug 14 11:02:55 PDT 2000:<I> <ServletContext-myapp> *.jsp: param
          packagePref
          ix initialized to: jsp_servlet
          Mon Aug 14 11:02:55 PDT 2000:<I> <ServletContext-myapp> *.jsp: param
          compileComm
          and initialized to: javac
          Mon Aug 14 11:02:55 PDT 2000:<I> <ServletContext-myapp> *.jsp: param
          srcCompiler
          initialized to weblogic.jspc
          Mon Aug 14 11:02:55 PDT 2000:<I> <ServletContext-myapp> *.jsp: param
          superclass
          initialized to null
          Mon Aug 14 11:02:55 PDT 2000:<I> <ServletContext-myapp> *.jsp: param
          workingDir
          initialized to: C:\applications\bm\www\_tmp_war
          Mon Aug 14 11:02:55 PDT 2000:<I> <ServletContext-myapp> *.jsp: param
          pageCheckSe
          conds initialized to: 1
          Mon Aug 14 11:02:55 PDT 2000:<I> <ServletContext-myapp> *.jsp:
          initialization co
          mplete
          Mon Aug 14 11:02:55 PDT 2000:<I> <ServletContext-myapp> *.jsp:
          pageCheckSeconds over-ruled in JSPServlet to : 1
          Mon Aug 14 11:02:55 PDT 2000:<E> <ServletContext-myapp> error checking JSP
          'jsp_
          servlet._index' for freshness, forcing re-compile
          java.lang.LinkageError: Class javax/servlet/ServletConfig violates loader
          constr
          aints
          at java.lang.ClassLoader.defineClass0(Native Method)
          at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
          at java.lang.ClassLoader.defineClass(ClassLoader.java:426)
          at
          weblogic.utils.classloaders.GenericClassLoader.findLocalClass(Generic
          ClassLoader.java:415)
          at
          weblogic.utils.classloaders.GenericClassLoader.reallyLoadClass(Generi
          cClassLoader.java:316)
          at
          weblogic.utils.classloaders.RecursiveReloadOnModifyClassLoader$Slave.
          loadClass(RecursiveReloadOnModifyClassLoader.java:234)
          at
          weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClass
          Loader.java:146)
          at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
          at jsp_servlet._index._isStale(_index.java:45)
          at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:158)
          at
          weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.
          java:164)
          at
          weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
          pl.java:99)
          at
          weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
          pl.java:123)
          at
          weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
          textImpl.java:742)
          at
          weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
          textImpl.java:686)
          at
          weblogic.servlet.internal.ServletContextManager.invokeServlet(Servlet
          ContextManager.java:247)
          at
          weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.jav
          a:361)
          at
          weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:261)
          at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
          Mon Aug 14 11:02:55 PDT 2000:<I> <ServletContext-myapp> Generated java file:
          C:\
          applications\bm\www\_tmp_war\jsp_servlet\_index.java
          Mon Aug 14 11:02:58 PDT 2000:<E> <ServletContext-myapp> Servlet failed with
          Exce
          ption
          java.lang.LinkageError: Class javax/servlet/ServletConfig violates loader
          constr
          aints
          at java.lang.ClassLoader.defineClass0(Native Method)
          at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
          at java.lang.ClassLoader.defineClass(ClassLoader.java:426)
          at
          weblogic.utils.classloaders.GenericClassLoader.findLocalClass(Generic
          ClassLoader.java:415)
          at
          weblogic.utils.classloaders.GenericClassLoader.reallyLoadClass(Generi
          cClassLoader.java:316)
          at
          weblogic.utils.classloaders.RecursiveReloadOnModifyClassLoader$Slave.
          loadClass(RecursiveReloadOnModifyClassLoader.java:234)
          at
          weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClass
          Loader.java:146)
          at
          weblogic.utils.classloaders.RecursiveReloadOnModifyClassLoader.findLo
          calClass(RecursiveReloadOnModifyClassLoader.java:109)
          at
          weblogic.utils.classloaders.GenericClassLoader.reallyLoadClass(Generi
          cClassLoader.java:316)
          at
          weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClass
          Loader.java:172)
          at
          weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClass
          Loader.java:146)
          at weblogic.servlet.jsp.OneOffJspLoader.loadClass(JspStub.java:429)
          at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
          at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
          at jsp_servlet._index._jspService(_index.java:58)
          at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
          at
          weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
          pl.java:105)
          at
          weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
          pl.java:123)
          at
          weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
          textImpl.java:742)
          at
          weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
          textImpl.java:686)
          at
          weblogic.servlet.internal.ServletContextManager.invokeServlet(Servlet
          ContextManager.java:247)
          at
          weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.jav
          a:361)
          at
          weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:261)
          at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
          

Thanks. Playing with this now. The initial running does the same thing. I
          get the same ClassLoader problem. I sent you an email about editing these
          and I figured it out. Didn't find the .cmd files originally. Anyways,
          another problem I have..I had to set in the Win2K classpath the location of
          tools.jar. Is this not allowed to be distributed in the JRE? I am surprised
          if WebLogic (and other app servers too) need access to the javac compiler,
          why it is not part of JRE so they can access it. I set that in my
          environment. Are you saying I shouldn't need to set any environment
          variables..not to my WEB-INF\classes, \ib, or any JAVA dir? That instead I
          can just set it in the .cmd script to start the server?
          Lastly, I will need to run WebLogic as a service. I have a Java as NT
          service utility that works pretty easily..so can I just use that?
          Thanks.
          "Roberto Nanamura" <[email protected]> wrote in message
          news:[email protected]...
          > Hi Kevin,
          >
          > WebLogic should work just fine without setting any environment variables
          but
          > setting them in the startWebLogic.cmd script (I am supposing you are
          starting WL
          > through the command line). Look for the first lines in the
          startWebLogic.cmd
          > script like that:
          >
          > if "%JAVA_HOME%" == "" set JAVA_HOME=.\jre1_2\jre
          > set JAVA_HOME=.\jre1_2\jre
          >
          > And see if the JAVA_HOME is already set up and if the value is where your
          jre
          > 1.2 should be. That should take care of the 'tools.jar' problem.
          >
          > Try to run it again and see if the problem still persists.
          >
          > Hope this will help,
          >
          > Roberto N Nanamura
          > Technical Consultant
          > Summa Technologies
          >
          > Kevin Duffey wrote:
          > >
          > > Hi,
          > >
          > > I am having quite a bit of difficulty getting a standard Servlet 2.2 app
          > > that runs in Resin, Tomcat and Orion app server just fine, to work at
          all on
          > > WebLogic. Is there some sort of trick? I installed WebLogic 5.1 trial
          via
          > > the download on my Win2K box. I set the weblogic.properties to use a
          webApp.
          > > When I hit the web-app via html pages..its fine. When I try to display
          JSP
          > > pages I get problems. I then figured out that for some reason WebLogic
          > > couldn't find tools.jar to compile JSP pages, so I added that to my
          System
          > > Environment classpath. Why it needs to be set there..and its not
          > > automatically done by the install I don't know. It seems obvious to me
          that
          > > to display JSP pages they have to be compiled, so tools.jar is needed.
          > > Anyways, the pages started converting into .java files, but when
          compiling I
          > > am getting some compile-time errors and thus the .class isn't showing
          up.
          > >
          > > I have:
          > >
          > > weblogic.httpd.webApp.myapp=c:/applications/bm/www
          > >
          > > in weblogic.properties. I am not trying clustering yet, so this is just
          to
          > > deploy a single instance of weblogic to run our site. I also commented
          out
          > > the docRoot=/public or whatever the line is..since I only want to run a
          > > Servlet 2.2 web-app, not a simple web-site.
          > >
          > > Below is the output of the console. I am not sure why it is giving me a
          > > class loader error. I am going to try the SP4 patch, but for some reason
          the
          > > wlconfig utility doesn't change the settings that I keep applying to it.
          I
          > > am trying to add a path to the classpath with wlconfig.
          > >
          > > Anyways..if anyone can shed some light I would be much appreciated.
          > >
          > > Thank you.
          > >
          > > Mon Aug 14 11:02:55 PDT 2000:<I> <ServletContext-myapp> *.jsp: init
          > > Mon Aug 14 11:02:55 PDT 2000:<I> <ServletContext-myapp> *.jsp: param
          verbose
          > > ini
          > > tialized to: true
          > > Mon Aug 14 11:02:55 PDT 2000:<I> <ServletContext-myapp> *.jsp: param
          > > packagePref
          > > ix initialized to: jsp_servlet
          > > Mon Aug 14 11:02:55 PDT 2000:<I> <ServletContext-myapp> *.jsp: param
          > > compileComm
          > > and initialized to: javac
          > > Mon Aug 14 11:02:55 PDT 2000:<I> <ServletContext-myapp> *.jsp: param
          > > srcCompiler
          > > initialized to weblogic.jspc
          > > Mon Aug 14 11:02:55 PDT 2000:<I> <ServletContext-myapp> *.jsp: param
          > > superclass
          > > initialized to null
          > > Mon Aug 14 11:02:55 PDT 2000:<I> <ServletContext-myapp> *.jsp: param
          > > workingDir
          > > initialized to: C:\applications\bm\www\_tmp_war
          > > Mon Aug 14 11:02:55 PDT 2000:<I> <ServletContext-myapp> *.jsp: param
          > > pageCheckSe
          > > conds initialized to: 1
          > > Mon Aug 14 11:02:55 PDT 2000:<I> <ServletContext-myapp> *.jsp:
          > > initialization co
          > > mplete
          > > Mon Aug 14 11:02:55 PDT 2000:<I> <ServletContext-myapp> *.jsp:
          > > ######
          > > ########
          > > ############
          > > ##############
          > > pageCheckSeconds over-ruled in JSPServlet to : 1
          > > ##############
          > > ############
          > > ########
          > > ######
          > >
          > > Mon Aug 14 11:02:55 PDT 2000:<E> <ServletContext-myapp> error checking
          JSP
          > > 'jsp_
          > > servlet._index' for freshness, forcing re-compile
          > > java.lang.LinkageError: Class javax/servlet/ServletConfig violates
          loader
          > > constr
          > > aints
          > > at java.lang.ClassLoader.defineClass0(Native Method)
          > > at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
          > > at java.lang.ClassLoader.defineClass(ClassLoader.java:426)
          > > at
          > > weblogic.utils.classloaders.GenericClassLoader.findLocalClass(Generic
          > > ClassLoader.java:415)
          > > at
          > > weblogic.utils.classloaders.GenericClassLoader.reallyLoadClass(Generi
          > > cClassLoader.java:316)
          > > at
          > > weblogic.utils.classloaders.RecursiveReloadOnModifyClassLoader$Slave.
          > > loadClass(RecursiveReloadOnModifyClassLoader.java:234)
          > > at
          > > weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClass
          > > Loader.java:146)
          > > at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
          > > at jsp_servlet._index._isStale(_index.java:45)
          > > at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:158)
          > > at
          > > weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.
          > > java:164)
          > > at
          > > weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
          > > pl.java:99)
          > > at
          > > weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
          > > pl.java:123)
          > > at
          > > weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
          > > textImpl.java:742)
          > > at
          > > weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
          > > textImpl.java:686)
          > > at
          > > weblogic.servlet.internal.ServletContextManager.invokeServlet(Servlet
          > > ContextManager.java:247)
          > > at
          > > weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.jav
          > > a:361)
          > > at
          > > weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:261)
          > >
          > > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
          > >
          > > Mon Aug 14 11:02:55 PDT 2000:<I> <ServletContext-myapp> Generated java
          file:
          > > C:\
          > > applications\bm\www\_tmp_war\jsp_servlet\_index.java
          > > Mon Aug 14 11:02:58 PDT 2000:<E> <ServletContext-myapp> Servlet failed
          with
          > > Exce
          > > ption
          > > java.lang.LinkageError: Class javax/servlet/ServletConfig violates
          loader
          > > constr
          > > aints
          > > at java.lang.ClassLoader.defineClass0(Native Method)
          > > at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
          > > at java.lang.ClassLoader.defineClass(ClassLoader.java:426)
          > > at
          > > weblogic.utils.classloaders.GenericClassLoader.findLocalClass(Generic
          > > ClassLoader.java:415)
          > > at
          > > weblogic.utils.classloaders.GenericClassLoader.reallyLoadClass(Generi
          > > cClassLoader.java:316)
          > > at
          > > weblogic.utils.classloaders.RecursiveReloadOnModifyClassLoader$Slave.
          > > loadClass(RecursiveReloadOnModifyClassLoader.java:234)
          > > at
          > > weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClass
          > > Loader.java:146)
          > > at
          > > weblogic.utils.classloaders.RecursiveReloadOnModifyClassLoader.findLo
          > > calClass(RecursiveReloadOnModifyClassLoader.java:109)
          > > at
          > > weblogic.utils.classloaders.GenericClassLoader.reallyLoadClass(Generi
          > > cClassLoader.java:316)
          > > at
          > > weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClass
          > > Loader.java:172)
          > > at
          > > weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClass
          > > Loader.java:146)
          > > at
          weblogic.servlet.jsp.OneOffJspLoader.loadClass(JspStub.java:429)
          > > at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
          > > at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
          > > at jsp_servlet._index._jspService(_index.java:58)
          > > at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
          > > at
          > > weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
          > > pl.java:105)
          > > at
          > > weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
          > > pl.java:123)
          > > at
          > > weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
          > > textImpl.java:742)
          > > at
          > > weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
          > > textImpl.java:686)
          > > at
          > > weblogic.servlet.internal.ServletContextManager.invokeServlet(Servlet
          > > ContextManager.java:247)
          > > at
          > > weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.jav
          > > a:361)
          > > at
          > > weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:261)
          > >
          > > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
          

Similar Messages

  • Invalid element 'servlet-mapping' in content of 'web-app'

    Hello, JDev gurus!
    When compling, JDev 9.0.2.822 produce following error
    "oracle.xml.parser.v2.XMLParseException: Invalid element 'servlet-mapping' in content of 'web-app', expected elements '[taglib, resource-ref, security-constraint, login-config, security-role, env-entry, ejb-ref]'."
    on line <%@ taglib uri="http://xmlns.oracle.com/bibeans" prefix="orabi" %>
    This line was added automatically from component palette.
    How can I resolve this error?

    Hi,
    Did you change something into your web.xml file?
    Look at your web.xml. You must preserve the order given by the error message:
    Servlet-mapping
    session-config
    mime-mapping
    ejb-ref
    Jamil

  • Jdev101304 SU5 - ADF Faces - Web app deployment best practice|configuration

    Hi Everybody:
    1.- We have several web applications that provides a service/product used for public administration purposes.
    2.- the apps are using adf faces adf bc.
    2.- All of the apps are participating on javaSSO.
    3.- The web apps are deployed in ondemand servers.
    4.- We have notice, that with the increase of users on this dates, the sessions created by the middle tier in the database, are staying inactive but never destroyed or removed.
    5.- Even when we only sing into the apps using javasso an perform no transacctions (like inserting or deleting something), we query the v$sesisons in the database, and the number of inactive sessions is always increasing, until the server colapse.
    So, we want to know, if this is an issue of the configurations made on the Application Module's properties. And we want to know if there are some "best practices" that you could provide us to configure a web application and avoid this behavior.
    The only configurations that we found recomended for web apps is set the jbo.locking.mode to optimistic, but this doesn't correct the "increasing inactive sessions" problem.
    Please help us to get some documentation or another resource to correct configure our apps.
    Thnks in advance.
    Edited by: alopez on Jan 8, 2009 12:27 PM

    hi alopez
    Maybe this can help, "Understanding Application Module Pooling Concepts and Configuration Parameters"
    see http://www.oracle.com/technology/products/jdev/tips/muench/ampooling/index.html
    success
    Jan Vervecken

  • Office Web Apps deploy certificate error

    IIS Using Domain Certificate, when access "https://fqdn/hosting/discovery"  with certificate error. 
    Office web apps using same CA with Front End Server.
    new web farm with this new certificate name.
    Any suggest?
    Thanks.

    When you get the certificate are you able to view the certificate details? Do they match the name of the site?
    Do you have the appropriate root certificate installed on the client that you are browsing from?
    If this helped you please click "Vote As Helpful" if it answered your question please click "Mark As Answer"
    Georg Thomas | Lync MVP
    Blog www.lynced.com.au | Twitter
    @georgathomas
    Lync Edge Port Check (Beta)
    This forum post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Deploying a web app under 9.2

    Hello,
    I am trying to deploy a web app using bea 9.2 console and i am getting error with deployment descriptor (which 8.2 specific). So i tried to use appc and got the same error (listed below). Can anyone tell me what is wrong with my descriptor?
    Thanks
    sl
    javax.xml.stream.XMLStreamException: ';' expected a valid beginning name character
    at weblogic.xml.stax.XMLStreamReaderBase.prime(XMLStreamReaderBase.java:78)
    at weblogic.xml.stax.XMLStreamReaderBase.setInput(XMLStreamReaderBase.java:101)
    at weblogic.xml.stax.XMLStreamInputFactory.createXMLStreamReader(XMLStreamInputFactory.java:325)
    at weblogic.xml.stax.XMLStreamInputFactory.createXMLStreamReader(XMLStreamInputFactory.java:49)
    at weblogic.application.descriptor.BasicMunger2.<init>(BasicMunger2.java:107)
    at weblogic.application.descriptor.BasicMunger2.<init>(BasicMunger2.java:125)
    at weblogic.application.descriptor.VersionMunger.<init>(VersionMunger.java:40)
    at weblogic.servlet.internal.WlsWebAppReader2.<init>(WlsWebAppReader2.java:59)
    at weblogic.servlet.internal.WebAppDescriptor$MyWlsWebAppDescriptor.createXMLStreamReader(WebAppDescriptor.java:291)
    at weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDescriptorLoader2.java:369)
    at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(AbstractDescriptorLoader2.java:720)
    at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDescriptorLoader2.java:729)
    at weblogic.servlet.internal.WebAppDescriptor.getWeblogicWebAppBean(WebAppDescriptor.java:148)
    at weblogic.servlet.jsp.JspcInvoker.parseDescriptors(JspcInvoker.java:277)
    at weblogic.servlet.jsp.JspcInvoker.compile(JspcInvoker.java:187)
    at weblogic.application.compiler.AppcUtils.compileWAR(AppcUtils.java:353)
    at weblogic.application.compiler.WARCompiler.compile(WARCompiler.java:72)
    at weblogic.application.compiler.flow.AppCompilerFlow.compileInput(AppCompilerFlow.java:118)
    at weblogic.application.compiler.flow.AppCompilerFlow.compile(AppCompilerFlow.java:43)
    at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
    at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36)
    at weblogic.application.compiler.FlowDriver.run(FlowDriver.java:26)
    at weblogic.application.compiler.Appc.runBody(Appc.java:163)
    at weblogic.utils.compiler.Tool.run(Tool.java:158)
    at weblogic.utils.compiler.Tool.run(Tool.java:115)
    at weblogic.application.compiler.Appc.main(Appc.java:174)
    at weblogic.appc.main(appc.java:14)
    Caused by: Error at line:2 col:61 ';' expected a valid beginning name character
    at weblogic.xml.babel.scanner.Name.read(Name.java:33)
    at weblogic.xml.babel.scanner.Name.read(Name.java:20)
    at weblogic.xml.babel.scanner.OpenTag.read(OpenTag.java:58)
    at weblogic.xml.babel.scanner.Scanner.startState(Scanner.java:251)
    at weblogic.xml.babel.scanner.Scanner.scan(Scanner.java:178)
    at weblogic.xml.babel.baseparser.BaseParser.prime(BaseParser.java:268)
    at weblogic.xml.babel.baseparser.BaseParser.initScanner(BaseParser.java:118)
    at weblogic.xml.babel.baseparser.BaseParser.init(BaseParser.java:244)
    at weblogic.xml.babel.baseparser.BaseParser.<init>(BaseParser.java:84)
    at weblogic.xml.stax.XMLStreamReaderBase.prime(XMLStreamReaderBase.java:54)
    ... 27 more

    I have created a web application and have a jsp host.
    I have 2 questions:
    1-How do I deploy to the host. please explain. is this host a 3rd party? if so, ask them.
    if the host is tomcat running on a machine that you have control of, create a WAR file and put it in the /webapps directory.
    >
    2-I also want to add a tomcat realm and have been
    told to edit the server.xml file and web.xml file you should not edit the server.xml. just put a WAR file in the /webapps directory. no need to edit server.xml.
    web.xml is part of the standard web app deployment. your app should have one, and it needs to be in the WEB-INF directory.
    are these found on the host??
    please offer a confused guy some helpYou should read "My First Web App" on the Tomcat page.
    %

  • Deploying a Web App

    I have created a web application and have a jsp host. I have 2 questions:
    1-How do I deploy to the host.
    2-I also want to add a tomcat realm and have been told to edit the server.xml file and web.xml file are these found on the host??
    please offer a confused guy some help

    I have created a web application and have a jsp host.
    I have 2 questions:
    1-How do I deploy to the host. please explain. is this host a 3rd party? if so, ask them.
    if the host is tomcat running on a machine that you have control of, create a WAR file and put it in the /webapps directory.
    >
    2-I also want to add a tomcat realm and have been
    told to edit the server.xml file and web.xml file you should not edit the server.xml. just put a WAR file in the /webapps directory. no need to edit server.xml.
    web.xml is part of the standard web app deployment. your app should have one, and it needs to be in the WEB-INF directory.
    are these found on the host??
    please offer a confused guy some helpYou should read "My First Web App" on the Tomcat page.
    %

  • Deploying a web app with errors

    Good day,
    We are migrating an older application into a WebLogic Portal 10.2 environment. We have Ant scripts to do the deployment from the command line but we want to use the Workspace Studio capabilities to deploy JSP changes to the application. The problem is that the application was architected to dynamically include JSP fragments into other JSPs. These fragments have objects defined in other JSPs and therefore show up with errors in the problems tab in Eclipse.
    Is there a way to force an application to deploy even in this case or do we have to keep deploying/redeploying from the command line? This takes much longer than pushing the single files so this is why we are trying to figure out how to do it within the tool.
    Thanks,
    Sean

    I have created a web application and have a jsp host.
    I have 2 questions:
    1-How do I deploy to the host. please explain. is this host a 3rd party? if so, ask them.
    if the host is tomcat running on a machine that you have control of, create a WAR file and put it in the /webapps directory.
    >
    2-I also want to add a tomcat realm and have been
    told to edit the server.xml file and web.xml file you should not edit the server.xml. just put a WAR file in the /webapps directory. no need to edit server.xml.
    web.xml is part of the standard web app deployment. your app should have one, and it needs to be in the WEB-INF directory.
    are these found on the host??
    please offer a confused guy some helpYou should read "My First Web App" on the Tomcat page.
    %

  • Cannot display BIG5 characters for web applications deployed to 9iAS

    I have just installed the J2EE and Webcache module of Oracle9iAS Release 2 to
    my Windows NT Server 4.0 and deployed a simple web application to it. However,
    I found that the JSP cannot display chinese (Big5) characters correctly. My JSP
    is something like:
    <%@ page contentType="text/html; charset=BIG5" %>
    <HTML><BODY>
    <% String s = SOME_BIG5_CHARACTERS; %>
    <%= s %>
    </BODY></HTML>
    On the other hand, I tried to re-direct the standard output to a log file and
    do the following in my servlet.
    System.out.println(SOME_BIG5_CHARACTERS);
    Now, the Big5 characters CAN be displayed correctly in the log file. So, I am
    confused with where the problem is.
    Here are my settings to my 9iAS:
    1) Using regedit, I have set the NLS_LANG variable of the corresponding
    ORACLE_HOME to TRADITIONAL CHINESE_TAIWAN.ZHT16BIG5
    2) In the file %ORACLE_HOME%\Apache\Jserv\conf\jserv.properties, I have
    inserted the following line:
    wrapper.env=NLS_LANG=TRADITIONAL CHINESE_TAIWAN.ZHT16BIG5
    3) In the file %ORACLE_HOME%\Apache\Apache\conf\httpd.conf, I have added the
    following line:
    PassEnv NLS_LANG
    4) In the file %ORACLE_HOME%\opmn\conf\opmn.xml, I have added the following
    line to the corresponding OC4J instance:
    <environment>
    <prop name="NLS_LANG" value="TRADITIONAL CHINESE_TAIWAN.ZHT16BIG5"/>
    </environment>
    5) For my application server, I set the java option with -Dfile.encoding=Big5
    6) I have replaced the file font.properties with font.properties.zh_TW under
    %ORACLE_HOME%\jdk\jre\lib.
    7) I have set the following in the file orion-web.xml of my web application:
    <orion-web-app
    deployment-version="9.0.2.0.0"
    default-charset="Big5"
    jsp-cache-directory="./persistence"
    temporary-directory="./temp"
    internationalize-resources="false"
    default-mime-type="application/octet-stream"
    servlet-webdir="/servlet/">
    </orion-web-app>
    Anyone have idea on fixing my problem? Thanks in advance.
    Regards,
    Kae

    I met a similar problem before but not exactly your case. When I compile the JSP by Jdeveloper, it will convert the chinese characters to strange characters. It makes me crazy to handle the chinese characters ...
    Anyway, by my experience, you better isolate the chinese characters from your JSP or Java programs. Instead, put all language dependent text in a properties file and then use native2ascii to covert your properties file into Unicode. Of course, u need to change your page charset to UTF-8.
    U can get more idea from the following site.
    Brief Description of Internationalization:
    http://java.sun.com/products/jdk/1.2/docs/guide/internat/faq.html
    Detail Tutorial:
    http://java.sun.com/docs/books/tutorial/i18n/
    Native-to-ASCII converter:
    http://java.sun.com/products/jdk/1.2/docs/tooldocs/win32/native2ascii.html

  • Using a weblogic.jar class to estimate number of web app users

    Hi,
    I'm trying to somehow estimate the number of people using a particular web app
    deployment in Weblogic Server 6.1 SP3. Though I know that sessions are stateless,
    there must be some way of getting an idea aboout usage mustn't there?! Any ideas
    on how and which class to look at in weblogic.jar would be much appreciated.
    Regards,
    Rob

    Robert:
    So I get kind of tired writing stuff up and sending it out on newsgroups and
    then not being able to go back and find the text and link to it as
    references in subsequent posts. So I am going to try something different.
    We'll see how this goes.
    http://www.niffgurd.com/mark/work/blog/index.html#105380147933921144
    Cheers
    mbg
    "Robert Hedges" <[email protected]> wrote in message
    news:3eccfb32$[email protected]..
    >
    ...I think I've narrowed my search down to the classweblogic/management/console/webapp._domain/__webappcomponentruntimetable.cla
    ss
    but I've no idea how to call the method I need.
    Rob
    "Robert Hedges" <[email protected]> wrote:
    Thanks for that, Sam. I'm actually aware of the monitoring facility,
    but am really
    searching for a way to view the number of sessions independently from
    the the
    console, i.e. by calling some particular Java class in weblogic.jar.
    Again, any
    thoughts appreciated.
    Rob
    Sam Pullara <[email protected]> wrote:
    In the console you can turn on session monitoring for a web application.
    That should allow you to see the sessions that are being created.
    Sam
    On 5/19/03 11:33 AM, in article 3ec9157b$[email protected], "Rob
    Hedges"
    <[email protected]> wrote:
    Hi,
    I'm trying to somehow estimate the number of people using a particularweb app
    deployment in Weblogic Server 6.1 SP3. Though I know that sessionsare
    stateless,
    there must be some way of getting an idea aboout usage mustn't there?!Any
    ideas
    on how and which class to look at in weblogic.jar would be much
    appreciated.
    >>>>
    Regards,
    Rob

  • Implementing single sign on across multiple web apps

    Hi
    I was wondering if somebody could help me. I need to implement single sign on
    for multiple web apps deployed in separate WARs in a single EAR file. I need
    to authenticate against an LDAP server and ensure that the user only has to sign
    on once per user session even if the user navigates between web apps. The weblogic
    docs only seem to go so far, i.e. "Single sign on works if each web app uses the
    same cookie" etc. So I see that, apart from buying WebLogic Enterprise Security
    there are only two ways of doing this:
    1. Implement single sign on.
    2. Create my own security realm with my own authenticator implementations.
    So my questions are:
    1. We don't want to effect the normal weblogic user/passwords used to access the
    WLS console but need to have single sign on. Should we implement single sign on
    (option 1,above) or create our own realm?
    2. Can somebody point me to somewhere on the web/in the the WLS documentation
    that shows me how to implement single sign on using session cookies?
    TIA
    Mik

    "Mik Quinlan" <[email protected]> wrote in message
    news:[email protected]..
    >
    Hi
    I was wondering if somebody could help me. I need to implement singlesign on
    for multiple web apps deployed in separate WARs in a single EAR file. Ineed
    to authenticate against an LDAP server and ensure that the user only hasto sign
    on once per user session even if the user navigates between web apps. Theweblogic
    docs only seem to go so far, i.e. "Single sign on works if each web appuses the
    same cookie" etc. So I see that, apart from buying WebLogic EnterpriseSecurity
    there are only two ways of doing this:
    1. Implement single sign on.
    2. Create my own security realm with my own authenticator implementations.
    So my questions are:
    1. We don't want to effect the normal weblogic user/passwords used toaccess the
    WLS console but need to have single sign on. Should we implement singlesign on
    (option 1,above) or create our own realm?
    2. Can somebody point me to somewhere on the web/in the the WLSdocumentation
    that shows me how to implement single sign on using session cookies?
    http://e-docs.bea.com/wls/docs81/security/thin_client.html#1039551
    That also has a pointer to:
    For more information, see session-descriptor in Assembling and Configuring
    Web Applications.

  • OC4J shuts down servlet in web-app A during deployment of web-app B ?!

    Hey all,
    We have a web-app A deployed to OAS 10g that contains a servlet with <load-on-startup> set to 2.
    This servlet loads fine when the app is deployed.
    However, when we deploy web-app B to our server, we notice in the logs that the destroy() method on the above servlet is invoked in web-app A! After web-app B is finished deploying, the init() method on the above servlet in web-app A is fired again.
    What's going on?
    Thanks.

    I have posted this on the JDeveloper forum and been pointed in the direction of this discussion as it seems I am experiencing the same problem.....
    I currently have an instance of the OC4J 10.1.2 standalone (current production version) server running, and am deploying 5 servlets to the same server. Once they are all deployed they all run fine without any problems at all.
    However, if I need/want to make an update to one of these 5 servlets and then redploy it the server, the server effectively restarts terminating any open sessions that users may have on any of the other four servlets as well (i.e. users are forced to login again to the particular servlet they are using).
    Is this a bug in the OC4J 10.1.2 standalone (current production version) server? or have I not set something in the deployment profile for each of these servlets/applications to prevent this from happening?
    All advice/suggestions would be gratefully appreciated as soon as possible.
    Thanks in advance
    David

  • Unable to deploy Web App in Exploded format

    Using WLS 6.1 sp2, I am unable to deploy a web application successfully using the
    web app "ora" from http://www.thejspbook.com/examples.jspbook.zip. I've moved
    the /ora directory under the /WEB-INF/applications directory.
    The error I am getting is:
    java.lang.reflect.InvocationTargetException: weblogic.management.DistributedManagementException:
    Distributed Management [1 exceptions]
         at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:543)
         at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:361)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
         at $Proxy9.addDeployment(Unknown Source)
         at weblogic.management.internal.DynamicMBeanImpl.updateDeployments(DynamicMBeanImpl.java:1516)
         at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:895)
         at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:847)
         at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:295)
         at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1356)
         at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1331)
         at weblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:322)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:204)
         at $Proxy18.setTargets(Unknown Source)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.management.console.info.FilteredMBeanAttribute.doSet(FilteredMBeanAttribute.java:92)
         at weblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEditMBeanAction.java:135)
         at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171)
         at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2503)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2204)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    Distributed update exception
    - remote object: efs-developer3:Location=efsserver,Name=efsserver,Type=ServerConfig
    - remote server: weblogic.management.internal.RemoteMBeanServerImpl@5420eb
    - actionName: addDeployment
    - params: [Ljava.lang.Object;@10c03e
    - signature: [Ljava.lang.String;@3d4a20
    Distributed update exception
    - remote object: efs-developer3:Location=efsserver,Name=efsserver,Type=ServerConfig
    - remote server: weblogic.management.internal.RemoteMBeanServerImpl@5420eb
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
         at java.lang.String.substring(String.java:1525)
         at weblogic.servlet.internal.WebAppHelper.resolveManifestName(WebAppHelper.java:476)
         at weblogic.servlet.internal.WebAppHelper.extractClassFiles(WebAppHelper.java:232)
         at weblogic.servlet.internal.WebAppServletContext.extractClassFiles(WebAppServletContext.java:3415)
         at weblogic.servlet.internal.WebAppServletContext.setDocroot(WebAppServletContext.java:3384)
         at weblogic.servlet.internal.WebAppServletContext.init(WebAppServletContext.java:862)
         at weblogic.servlet.internal.WebAppServletContext.(WebAppServletContext.java:815)
         at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:428)
         at weblogic.j2ee.WebAppComponent.deploy(WebAppComponent.java:74)
         at weblogic.j2ee.Application.addComponent(Application.java:163)
         at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:117)
         at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:329)
         at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:144)
         at weblogic.management.mbeans.custom.WebServer.addWebDeployment(WebServer.java:76)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
         at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
         at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
         at $Proxy34.addWebDeployment(Unknown Source)
         at weblogic.management.configuration.WebServerMBean_CachingStub.addWebDeployment(WebServerMBean_CachingStub.java:1121)
         at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:315)
         at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:144)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
         at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
         at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
         at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:491)
         at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:361)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
         at $Proxy9.addDeployment(Unknown Source)
         at weblogic.management.internal.DynamicMBeanImpl.updateDeployments(DynamicMBeanImpl.java:1516)
         at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:895)
         at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:847)
         at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:295)
         at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1356)
         at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1331)
         at weblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:322)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:204)
         at $Proxy18.setTargets(Unknown Source)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.management.console.info.FilteredMBeanAttribute.doSet(FilteredMBeanAttribute.java:92)
         at weblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEditMBeanAction.java:135)
         at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171)
         at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2503)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2204)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    --------------- nested within: ------------------
    weblogic.j2ee.DeploymentException: Could not load ora - with nested exception:
    [java.lang.StringIndexOutOfBoundsException: String index out of range: -1]
         at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:431)
         at weblogic.j2ee.WebAppComponent.deploy(WebAppComponent.java:74)
         at weblogic.j2ee.Application.addComponent(Application.java:163)
         at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:117)
         at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:329)
         at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:144)
         at weblogic.management.mbeans.custom.WebServer.addWebDeployment(WebServer.java:76)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
         at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
         at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
         at $Proxy34.addWebDeployment(Unknown Source)
         at weblogic.management.configuration.WebServerMBean_CachingStub.addWebDeployment(WebServerMBean_CachingStub.java:1121)
         at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:315)
         at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:144)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
         at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
         at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
         at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:491)
         at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:361)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
         at $Proxy9.--------------- nested within: ------------------
    weblogic.management.console.utils.SetException: An error occurred while updating
    Targets-Server on Proxy for efs-developer3:Application=ora,Name=ora,Type=WebAppComponent
    - with nested exception:
    [java.lang.reflect.InvocationTargetException - with target exception:
    [weblogic.management.DistributedManagementException: Distributed Management [1
    exceptions]]]
         at weblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEditMBeanAction.java:151)
         at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171)
         at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2503)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2204)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    Any help is appreciated.
    Thanks,
    Dennis

    you are probably using a older version of 6.1. please use the latest service pack. Service Packs are mostly bug fix releases and they are safe to be upgraded even on production systems. Please note - we always recommend using the latest service pack
    http://www.sun.com/download/products.xml?id=47d5d3eb

  • How to deploy web app from PC to Linux with Netbeans ?

    I am developing a web app in Netbeans 6.0 on my PC, using the Tomcat comes with the IDE, now I need to deploy it to a Linux server running Tomcat, can I do it from inside the IDE ? Can it copy all the servlets and other java classes to the Linux for me ? If so, what info does it need from me ? Login, password ... ?
    If not, how can I do it by hand ?
    Frank

    RTFM
    You need to consult the NetBeans Help to see if it will export a WAR/EAR. Regarding getting it over to Linux, there are some issues there. But if you have visibility to the Linux deploy directory from your PC then it's possible. It's certainly possible to do ALL of this using Apache Ant.

  • How do I change the context-root of a web app with a deployment plan?

    I've been trying to figure this out for several hours.
    I'm deploying a .ear file which sets the context root for the single web application it deploys in its application.xml deployment descriptor:
    <application>
    <display-name>MyApp</display-name>
    <module>
    <web>
    <web-uri>MyAppViewControler.war</web-uri>
    <context-root>MyApp</context-root>
    </web>
    </module>
    </application>
    I want to change the context-root from /MyApp to something else when deploying the ear file. It seemed to me that using a deployment plan was the way to do this. But when I use this plan:
    <deployment-plan>
    <application-name>MyApp<application-name>
    <variable-definition>
    <variable>
    <name>NEWCONTEXTROOT</name>
    <value>foobar</value>
    </variable>
    </variable-definition>
    <module-override>
    <module-name>MyApp</module-name>
    <module-type>ear</module-type>
    <module-descriptor external="false">
    <root-element>application</root-element>
    <uri>META-INF/application.xml</uri>
    <variable-assignment>
    <name>NEWCONTEXTROOT</name>
    <xpath>/application/module/web/context-root</xpath>
    </variable-assignment>
    </module-descriptor>
    </module-override>
    </deployment-plan>
    I get an error:
    weblogic.descriptor.DescriptorException: VALIDATION PROBLEMS WERE FOUND
    /bea/user_projects/domains/devod1/nullplan.xml:0: problem: cvc-complex-type.2.4a: Expected element 'web-uri@http://java.sun.com/xml/ns/javaee' instead of 'context-root@http://java.sun.com/xml/ns/javaee' here in element web@http://java.sun.com/xml/ns/javaee:<nullplan.xml>
    I looked at http://e-docs.bea.com/wls/docs103/pdf/deployment.pdf which says:
    "You cannot use a deployment plan to change the context-root in an application.xml
    file. However, if an application is deployed as a library, you can either change the
    context-root through an weblogic-application.xml file or use the deployment plan
    to change the context-root in an weblogic-application.xml file."
    I don't understand what this means. I'm not deploying my application as a library.
    Does anyone know how to change the context-root for an application?
    Any help would be greatly appreciated!

    Hi James,
    I am quite new to Welogic if i am wrong please correct me.I have re-deployed my application (.war) with this Plan.xml
    &lt;?xml version='1.0' encoding='UTF-8'?&gt;
    &lt;deployment-plan xmlns="http://www.bea.com/ns/weblogic/deployment-plan" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.bea.com/ns/weblogic/deployment-plan http://www.bea.com/ns/weblogic/deployment-plan/1.0/deployment-plan.xsd" global-variables="false"&gt;
    &lt;application-name&gt;BrowserR08.003&lt;/application-name&gt;
    *&lt;variable-definition&gt;*
    * &lt;variable&gt;*
    * &lt;name&gt;CONTEXTROOT&lt;/name&gt;*
    * &lt;value&gt;BrowserWeb/servlet/BrowserServlet&lt;/value&gt;*
    * &lt;/variable&gt;*
    * &lt;/variable-definition&gt;*
    &lt;module-override&gt;
    &lt;module-name&gt;BrowserWeb.war&lt;/module-name&gt;
    &lt;module-type&gt;war&lt;/module-type&gt;
    &lt;module-descriptor external="true"&gt;
    &lt;root-element&gt;weblogic-web-app&lt;/root-element&gt;
    &lt;uri&gt;WEB-INF/weblogic.xml&lt;/uri&gt;
    &lt;hash-code&gt;1231953167814&lt;/hash-code&gt;
    *&lt;variable-assignment&gt;*
    * &lt;name&gt;CONTEXTROOT&lt;/name&gt;*
    * &lt;xpath&gt;/weblogic-web-app/context-root&lt;/xpath&gt;*
    * &lt;operation&gt;add&lt;/operation&gt;*
    * &lt;/variable-assignment&gt;*
    &lt;/module-descriptor&gt;
    &lt;module-descriptor external="false"&gt;
    &lt;root-element&gt;web-app&lt;/root-element&gt;
    &lt;uri&gt;WEB-INF/web.xml&lt;/uri&gt;
    &lt;/module-descriptor&gt;
    &lt;module-descriptor external="true"&gt;
    &lt;root-element&gt;wldf-resource&lt;/root-element&gt;
    &lt;uri&gt;META-INF/weblogic-diagnostics.xml&lt;/uri&gt;
    &lt;/module-descriptor&gt;
    &lt;/module-override&gt;
    &lt;config-root&gt;/export/home1/tecapp/BrowserR08.003/plan&lt;/config-root&gt;
    &lt;/deployment-plan&gt;
    I do not know wether i will require the other module descriptor definition in this Plzn.xml. Now when I go to following link.
    Deployments --&gt; MyApp --&gt; Testing
    It gives me following url as a test page:
    http://localhost:7001/BrowserWeb/servlet/BrowserServlet
    as soon as i click on to the above link it redirects me to following.
    http://localhost:7001/BrowserWeb/servlet/BrowserServlet/servlet/BrowserServlet
    Same if i remove these context-root part my normal Testing menu shows me following link as my webapp access path
    http://localhost:7001/BrowserWeb &lt;-- My war file name is BrowserWeb.war so it is default name of my deployed application if i am not wrong
    and as soon as i click on above link it redirects me to the following one.
    http://localhost:7001/BrowserWeb/servlet/BrowserServlet
    It means application server know that my full web access page is with '*servlet/BrowserServlet*' because its adding it in both the cases.
    What I want is a constant URL whcih does not change?
    Hope this helps :)

  • Issue while accessing deployed web-app on Weblogic 10.3.5

    We have deployed a web app on Weblogic server 10.3.5 as a WAR file. The deployment looks fine and application is in "Active" state. However when we try to access the application it fails to detect the Struts tags and gives following error -
    weblogic.servlet.jsp.CompilationException: Failed to compile JSP /view/login/login.jsp
    login.jsp:4:1: Type mismatch: cannot convert from Tag to JspTag
    *<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtm*
    *l1-transitional.dtd">*
    *^---------------------------------------------------------------------------------------------------*
    *<title><s:property value="customerLoginContentVO.pageTitle" /> Dashboard</title>*
    ------^
    I looks like it doesn't get the Struts libraries. We have included the Struts libraries in WEB-INF/lib of the web app and set prefer-web-inf-classes to true in weblogic.xml. Why is it that it is able to find the jars to deploy but not to access the application.
    One alternate method suggested is to have package the war into a  ear and provide the mapping for struts libraries as prefer-application-packages in weblogic-application.xml. But we think creating a ear just for library load in not a right approach & we are definitely missing something.
    Any help on this issue will be appreciated.
    Thanks,
    Jiten S

    WLS 10.3.5 (and some versions before that too, one of the 10.3.x releases changed this) should also support prefer-application-packages. It doesn't appear as though the documentation has been updated to reflect that.
    Needs updating:
    http://download.oracle.com/docs/cd/E21764_01/web.1111/e13712/weblogic_xml.htm#i1075205
    http://download.oracle.com/docs/cd/E12840_01/wls/docs103/programming/classloading.html#wp1098468
    I'll file a documentation bug.
    In the meantime, you can see that it is there in the XSD:
    http://xmlns.oracle.com/weblogic/weblogic-web-app/1.2/weblogic-web-app.xsd
    which is linked to from here:
    http://download.oracle.com/docs/cd/E21764_01/web.1111/e13706/overview.htm#g1088563
    Here is an example of what a weblogic.xml might look like.
    <?xml version="1.0" encoding="UTF-8"?>
    <wls:weblogic-web-app xmlns:wls="http://xmlns.oracle.com/weblogic/weblogic-web-app" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd http://xmlns.oracle.com/weblogic/weblogic-web-app http://xmlns.oracle.com/weblogic/weblogic-web-app/1.2/weblogic-web-app.xsd">
        <wls:weblogic-version>10.3.5</wls:weblogic-version>
        <wls:context-root>FilterWeb</wls:context-root>
        <wls:container-descriptor>
            <wls:prefer-application-packages>
                <wls:package-name>my.foo.package</wls:package-name>
            </wls:prefer-application-packages>
        </wls:container-descriptor>
    </wls:weblogic-web-app>

Maybe you are looking for

  • Microsoft office outlook 2013 slower than 2000

    If you want to be able to send and receive Gmail emails through Outlook.com, Microsoft's service will only use POP to fetch them which means that delivery is not immediate (POP fetching usually happens in 15 minute intervals). Why? 

  • PSE 10 organizer displays SAMSUNG CAMERA PICTURES title for every imported image.   How to eliminate?

    PSE 10 organizer now displays SAMSUNG CAMERA PICTURES as the title for every imported image.  This is very annoying.   How to I prevent PSE from assigning this attribute to the title metadata upon import?   I have thousands of photos, and going throu

  • Problem while modifying sample adapter

    Hi I am trying to modify the sample adapter but am stuck with a problem. I am trying to create a connection to my data base (datasource.getconnection()) in place where the sample adapter creates fileoutputstream. But i get this error ; Catching com.s

  • Extention Manager CC update problem

    Over several weeks I have tried to install the Extension Manager CC update and it always fails.  I completed everything that is noted in FAQ and troubleshooting.  My last attempt included, uninstalling Extension Manager and re-installing.  I continue

  • Can't login...MacBook Pro keyboard doesn't work

    Have. MacBook Pro...purchased in 12/2013...trying to login but keyboard and trackpad not working...when I plug in mouse the cursor moves but that's it...help!  Please