WAR file issue

          Hi! People,
          Is anybody able to use paths from
          web application root
          to access images, etc. from JSP pages???
          for eg:-
          regardless of where a particular jsp is in the web application,
          it should be able to resolve something like this:
          <IMG SRC="/imagefolder/image4.gif">
          Weblogic should be able to resolve it from WEB-APP document
          root, right?
          For me Weblogic is searching for the images in document root of WL server, and not in root of web application.
          Please help me as soon as possible. Please let me know how
          I can fix this.
          Thanks in advance.
          

First, it is a coincidence that your name is Ejb. I have a cousin named Ejb
          too. You might know him; perhaps you received your deployment at the same
          school. ;-)
          I hadn't thought of the XSL issue. Good point. Think think think. Is
          there no way that the context path could be passed as part of the incoming
          document? Aye carumba.
          Cameron Purdy
          http://www.tangosol.com
          "Ejb Developer" <[email protected]> wrote in message
          news:[email protected]...
          >
          > Thanks Cameron!
          >
          > Here is why I wanted to use absolute paths:
          >
          > Reason 1:
          > ---------
          > We have a bunch of XSL files which contain references
          > to images. These XSL files will be applied to XML that is
          > generated at runtime as part of request to a JSP.
          > Since many MANY jsps use the same XSL files,
          > relative references from XSL files don't work with
          > the jsps being in different levels of WAR file hierarchy.
          >
          > Reason 2:
          > ---------
          > We have a set of jsps with links
          > which point to other pages.
          > Now these need to be included from different jsps.
          > They only work when we have absolute paths available.
          >
          > I have made a set of tags to make absolute paths available
          > to all references within jsps
          > (basically using request.getContextPath()),
          > but it is proving slightly difficult to pass this
          > information for XSLT processing.
          >
          > Thanks,
          > Ejb
          >
          >
          > "Cameron Purdy" <[email protected]> wrote:
          > >The browser is what is searching the root of the server. Remember, the
          > >following is sent to the browser:
          > >
          > >> <IMG SRC="/imagefolder/image4.gif">
          > >
          > >The browser then figures out the "real" path, and since you led with a
          > >the browser goes to the root of the host.
          > >
          > >You either have to make a tag that provides the image directory
          (including
          > >the context path) or you have to use relative paths to load images. Be
          > >careful with relative paths if your URLs have any additional '/' in them
          > >(e.g. some .jsps are in a subdirectory of your war, or you use a '/'
          after
          > >your servlet name to pass more information as part of the URL).
          > >
          > >--
          > >
          > >Cameron Purdy
          > >http://www.tangosol.com
          > >
          > >
          > >"Ejb Developer" <[email protected]> wrote in message
          > >news:[email protected]...
          > >>
          > >> Hi! People,
          > >>
          > >> Is anybody able to use paths from
          > >> web application root
          > >> to access images, etc. from JSP pages???
          > >>
          > >> for eg:-
          > >>
          > >> regardless of where a particular jsp is in the web application,
          > >> it should be able to resolve something like this:
          > >>
          > >> <IMG SRC="/imagefolder/image4.gif">
          > >>
          > >> Weblogic should be able to resolve it from WEB-APP document
          > >> root, right?
          > >> For me Weblogic is searching for the images in document root of WL
          server,
          > >and not in root of web application.
          > >>
          > >> Please help me as soon as possible. Please let me know how
          > >> I can fix this.
          > >>
          > >> Thanks in advance.
          > >
          > >
          >
          

Similar Messages

  • Urgent! War File Issue

    Hi! people,
    Can anybody please guide me? I want to know if we can read the contents of a
    folder in a WAR file.
    Here is the scenario:
    I have a folder by the name: myFolder in the web-app directory root.
    (The folder name/location are fixed).
    This folder has an arbitrary number of files.(XML files). (The names are
    also arbitrary).
    I have to parse all of these files in the init() of a servlet.
    What I have already tried:
    String str = getServletContext().getRealPath("") ;
    This gets me the path to the root folder of the Web Application, and I
    read all the files in this folder.
    This only works from a web-app deployed from a directory, not from a WAR
    file.
    For a WAR file web-app, getServletContext().getRealPath("") returns
    null.
    Please help as soon as possible.
    Thanks in advance.

    Thanks very much for your reply.
    The situation is that I need to read a bunch of XML/XSL files and pre-parse
    them for efficiency.
    There could be any number of these in the WAR file in a fixed name folder.
    The other thing that you brought up is reading the contents of the war file.
    How will I know the name/path in which my war file is deployed?
    If I cannot know that, how will I open it?
    Thanks again.
    "Cameron Purdy" <[email protected]> wrote in message
    news:[email protected]...
    I assume by your question that you will not know the names of the XMLfiles?
    For example, all of the XMLs in a typical WAR or JAR or EAR are knownbased
    on the spec and the vendor implementation. In the case of WL 5.1, youhave
    potentially hundreds of XML files, but their names are either specified by
    the standard or the names are referred from XML files whose names are
    specified by the standard.
    AFAIK If you do not know the name you are looking for, you have no choice
    but to open the WAR/JAR/EAR using a zip class (see java.util.jar.JarFile).
    Cameron Purdy
    http://www.tangosol.com
    "Ejb Developer" <[email protected]> wrote in message
    news:[email protected]...
    Thanks for replying.
    getResourceAsStream() lets you read a file - basically provides an
    InputStream.
    What I want to do is read all of the xml files in a folder inside the
    WAR
    file.
    There could be any number of files, with any name. Can you think of away?
    Thanks.....
    "Cameron Purdy" <[email protected]> wrote in message
    news:[email protected]...
    I'm not certain what you are asking, but it is possible to load
    resources
    from the WAR file. I believe that ServletContext.getResourceAsStreamdoes
    that, and I know that I have successfully used the resource loadingmethods
    from the class loader itself.
    Cameron Purdy
    http://www.tangosol.com
    "Ejb Developer" <[email protected]> wrote in message
    news:[email protected]...
    Hi! people,
    Can anybody please guide me? I want to know if we can read the
    contents
    of
    a
    folder in a WAR file.
    Here is the scenario:
    I have a folder by the name: myFolder in the web-app directory
    root.
    (The folder name/location are fixed).
    This folder has an arbitrary number of files.(XML files). (Thenames
    are
    also arbitrary).
    I have to parse all of these files in the init() of a servlet.
    What I have already tried:
    String str = getServletContext().getRealPath("") ;
    This gets me the path to the root folder of the Web Application,
    and
    I
    read all the files in this folder.
    This only works from a web-app deployed from a directory, not
    from
    a
    WAR
    file.
    For a WAR file web-app, getServletContext().getRealPath("")
    returns
    null.
    Please help as soon as possible.
    Thanks in advance.

  • Deploying a WAR file on WebLogic 9.2 - Issues

    Hi all,
    I tried deploying a sample WAR file on the admin console of the Weblogic 9.2. This was done under the deployments tab on the admin console.
    When i tried to deploy i get the following exception and the log on the admin console is as follows:
    <Error> <J2EE> <BEA-160197> <Unable to load descriptor C:\bea92\user_projects\domains\base_domain92_ap2\.\servers\AdminServer\stage\_appsdir_HelloWorld_war\HelloWorld.war/WEB-INF/web.xml of module HelloWorld.war. The error is weblogic.descriptor.DescriptorException: Unmarshaller failed
    at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:147)
    at weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:280)
    at weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:248)
    at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(AbstractDescriptorLoader2.java:749)
    at weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDescriptorLoader2.java:378)
    at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(AbstractDescriptorLoader2.java:720)
    at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDescriptorLoader2.java:729)
    at weblogic.servlet.internal.WebAppDescriptor.getWebAppBean(WebAppDescriptor.java:134)
    at weblogic.servlet.internal.WebAppModule.loadDescriptor(WebAppModule.java:778)
    at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:275)
    at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
    at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
    at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:360)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
    at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:56)
    at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:46)
    at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:621)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
    at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:208)
    at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:147)
    at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:61)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:189)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:87)
    at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
    at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:718)
    at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1185)
    at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:247)
    at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:157)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:12)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:45)
    at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
    Because of this exception, When i try to access the war file,web service, it gives me:
    Error 403--Forbidden
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    10.4.4 403 Forbidden
    One thing I have noticed is that the web.xml for the WAR file had the following XSD:
    <web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee"
    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/web-app_2_5.xsd">
    I also changed the version to 2.4 and checked. It was not working.
    I am not sure about the problem with deployment. If someone could help me out in this issue, it will be a great help to me.
    Thanks,
    Hari.

    Restart the server and see if you get any deployment error in log files. Do you see proper deployment msg in the logs? May be there is some issue in weblogic.xml which is not allowing app to deploy properly. How does the app appear in Admin console under deployments?

  • An issue of deploying war file on tomcat 5.5

    Hi,
    I know the regular process to deply a war file is like this - stop tomcat server, remove your previous war file and directory, say abc.war and dir abc, copy your new version abc.war into webapps and restart tomcat server.
    However, I found an interesting issue today - I was deploying a new release war file as described. While I stopped tomcat, removed all previous version direcotry, and restarted tomcat server, I got an http 404 error saying that the resource /abc/ is not available. I noticed that the org folder was not generated at work/Catalina/locahost/abc.
    I stuck there for a long time to try to fix but did not find a solution. I am pretty sure the war file should be ok since it works fine on my local machine. This only happened in the unix box. Later, occasionally, I removed the director abc without stopping the tomcat server. In another word, I removed the war file while tomcat is still running. A new abc directory was created soon and now it works.
    Anyone has any idea about that? Thanks!
    Michael

    Any thoughts? Thanks

  • JSP precompilation and my .java files compilation issues /  building WAR file using ANT

    Hello.
    I am new to working with WAR files and the whole process of it. A little
    background on what we are using. We are using, WLS 6.1 SP3. I am using the
    ant.bat that is supplied in the bin directory of the WLS install.
    I am trying to work with ANT and getting it to build the file. I am making
    progress, but at a point where I am having trouble getting my java code
    files to compile using ant. I am having one issue and looking to do one
    other item.
    1) I would like to precompile the JSPs if possible prior to putting into the
    WAR file. Not sure if this is done or not, but there was a utility when I
    was working with ibm's app server that gave us the ability to do a batch
    complile. Was thinking that maybe a similair concept is possibly here.
    2) Having issue getting ant to compile code properly. In the compile
    section of the build.xml file for ant, I tell it where the source files are,
    and the destionation folder for the compiled class files. I then try to set
    the classpath so that it finds the .jar files that are necessary for my
    source files to complile. But, it won't find them. And not sure how come.
    I may be going about this all wrong, but dont know. Here is the compile
    section of the build.xml I am using:
    <target name="compile" depends="prepare">
    <javac srcdir="classes" destdir="${deploy.home}/WEB-INF/classes"
    classpath="$(lib.home)"
    debug="on" optimize="on" deprecation="off"/>
    </target>
    One note, I've tried many different items in the classpath line, which
    don't work. if I do *.jar it fails at complie time, invalid argument. As
    well as if I use *.* and so on. if I list the explicit file names, it still
    doesn't seem to find them.
    I was wondering if anyone could help, if you need anymore information let me
    know, I can send the entire build.xml if necessary. I may be missing
    items, seeing that this is my first try at using ANT.
    Any help is appreciated and thanks in advance. Hopefully not sounding too
    off the wall. Hopefully get some clarification and understanding.
    Thank you.
    Kevin.

    Kevin Price wrote:
    Hello.
    I am new to working with WAR files and the whole process of it. A little
    background on what we are using. We are using, WLS 6.1 SP3. I am using the
    ant.bat that is supplied in the bin directory of the WLS install.
    I am trying to work with ANT and getting it to build the file. I am making
    progress, but at a point where I am having trouble getting my java code
    files to compile using ant. I am having one issue and looking to do one
    other item.
    1) I would like to precompile the JSPs if possible prior to putting into the
    WAR file. Not sure if this is done or not, but there was a utility when I
    was working with ibm's app server that gave us the ability to do a batch
    complile. Was thinking that maybe a similair concept is possibly here.you can use weblogic.jspc
    http://e-docs.bea.com/wls/docs70/jsp/reference.html#57794
    or just set the precompile flag in weblogic.xml
    You can configure WebLogic Server to precompile your JSPs when a Web
    Application is deployed or re-deployed or when WebLogic Server starts up
    by setting the precompile parameter to true in the <jsp-descriptor>
    element of the weblogic.xml deployment descriptor.
    >
    2) Having issue getting ant to compile code properly. In the compile
    section of the build.xml file for ant, I tell it where the source files are,
    and the destionation folder for the compiled class files. I then try to set
    the classpath so that it finds the .jar files that are necessary for my
    source files to complile. But, it won't find them. And not sure how come.
    I may be going about this all wrong, but dont know. Here is the compile
    section of the build.xml I am using:
    <target name="compile" depends="prepare">
    <javac srcdir="classes" destdir="${deploy.home}/WEB-INF/classes"
    classpath="$(lib.home)"
    debug="on" optimize="on" deprecation="off"/>
    </target>
    maybe because you are not using curly braces there on lib.home??
    if you do it the way above, you would have to list all your jars
    classpath="$(lib.home)\lib1.jar:$(lib.home)\lib2.jar"
    or you can nest
    <javac srcdir="classes" destdir="${deploy.home}/WEB-INF/classes"
    debug="on" optimize="on" deprecation="off">
         <classpath>
              <fileset dir="${lib.home}" includes="*.jar" />
         </classpath>
    </javac>
    One note, I've tried many different items in the classpath line, which
    don't work. if I do *.jar it fails at complie time, invalid argument. As
    well as if I use *.* and so on. if I list the explicit file names, it still
    doesn't seem to find them.
    I was wondering if anyone could help, if you need anymore information let me
    know, I can send the entire build.xml if necessary. I may be missing
    items, seeing that this is my first try at using ANT.
    Any help is appreciated and thanks in advance. Hopefully not sounding too
    off the wall. Hopefully get some clarification and understanding.
    Thank you.
    Kevin.

  • Classloader issue when deploying a war file

    Hello,
    Using Jdev 11.1.1.3 with WebLogic 10.3.2.0 when we deploy a new version of our war file we get a ClassCastException for an entity class that cannot be cast on itself ! We are using standalone JPA for persistence.
    Caused by: javax.faces.el.EvaluationException: java.lang.ClassCastException: gouv.micc.intimm.pers.model.entite.Personne cannot be cast to gouv.micc.intimm.pers.model.entite.Personne
    It looks like a classloader cache issue. This happend even if we first delete the war file before we upload a new one. The only way to solve this is to restart WebLogic. Any idea?

    Seems like a WebLogic issue - try asking on that forum:
    http://forums.oracle.com/forums/category.jspa?categoryID=193

  • Classpath issue with .war files on iPlanet 6.0

    Hi there,
    I'm using iPlanet 6.0 Web Server (SP1, I think), and I have an issue.
    We deploy a .war file as per normal. We go to the URL, and get a 500 error. Checking the error file gives us the following error (the application name has been blanked out with #####, and the server's domain name with <server>, but the actual package names remain -- they are libraries from ESRI):
    [08/Jul/2003:13:27:20] info ( 2705): Internal Info: loading servlet /#####/index.jsp
    [08/Jul/2003:13:27:21] info ( 2705): JSP: JSP1x compiler threw exception
    org.apache.jasper.JasperException: Unable to compile class for JSP/opt/iplanet/servers/https-<server>/c
    onfig/../ClassCache/_jsps/_#####/_index_jsp.java:15: Package com.esri.aims.mtier.io not found in import.
    import com.esri.aims.mtier.io.*;
    ^
    /opt/iplanet/servers/https-<server>/config/../ClassCache/_jsps/_#####/_index_jsp.java:16: Class com
    .esri.aims.mtier.model.map.layer.FeatureLayer not found in import.
    import com.esri.aims.mtier.model.map.layer.FeatureLayer;
    ^
    /opt/iplanet/servers/https-<server>/config/../ClassCache/_jsps/_#####/_index_jsp.java:17: Class com
    .esri.aims.mtier.model.envelope.Envelope not found in import.
    import com.esri.aims.mtier.model.envelope.Envelope;
    ^
    /opt/iplanet/servers/https-<server>/config/../ClassCache/_jsps/_#####/_index_jsp.java:18: Class com
    .esri.aims.mtier.model.acetate.Point not found in import.
    import com.esri.aims.mtier.model.acetate.Point;
    ^
    /opt/iplanet/servers/https-<server>/config/../ClassCache/_jsps/_#####/_index_jsp.java:19: Class com
    .esri.aims.mtier.model.map.layer.query.Filter not found in import.
    import com.esri.aims.mtier.model.map.layer.query.Filter;
    ^
    /opt/iplanet/servers/https-<server>/config/../ClassCache/_jsps/_#####/_index_jsp.java:20: Class com
    .esri.aims.mtier.model.map.layer.renderer.symbol.SimpleMarkerSymbol not found in import.
    import com.esri.aims.mtier.model.map.layer.renderer.symbol.SimpleMarkerSymbol;
    ^
    /opt/iplanet/servers/https-<server>/config/../ClassCache/_jsps/_#####/_index_jsp.java:21: Class com
    .esri.aims.mtier.model.map.Map not found in import.
    import com.esri.aims.mtier.model.map.Map;
    ^
    7 errors
    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:284)
    at com.iplanet.server.http.servlet.NSServletEntity.load(NSServletEntity.java:252)
    at com.iplanet.server.http.servlet.NSServletEntity.update(NSServletEntity.java:173)
    at com.iplanet.server.http.servlet.NSServletRunner.Service(NSServletRunner.java:416)
    [08/Jul/2003:13:27:21] warning ( 2705): Internal error: Failed to get GenericServlet. (uri=/#####/index.jsp,SCRIPT_NA
    ME=/#####/index.jsp)
    Hopefully that is readable -- basically, it can't find a bunch-o-classes. Now, normally, I would snicker, and say something smart about classpaths. However, I have already done this, and looked in all the places that I think should have these classes in (I shall just use the last eg, com.esri.aims.mtier.model.map.Map, rather than all of them):
    # find /home/websites/#####/ |grep com.esri.aims.mtier.model.map.Map
    /home/websites/#####/WEB-INF/classes/com/esri/aims/mtier/model/map/Map.class
    # jar tvf /home/websites/#####/WEB-INF/lib/arcims_jconnect.jar |grep com.esri.aims.mtier.model.map.Map
    33267 Wed Dec 04 15:50:14 GMT+09:30 2002 com/esri/aims/mtier/model/map/Map.class
    So, as you can see, the relevant files are in not just one, but two places that I had assumed were in the classpath. Judging from the error messages, they are not. Am I doing something wrong here?
    Here's some of the config...
    The relevant line from web-apps.xml:
    <web-app uri="/#####" dir="/export/home/websites/#####" enable="true"/>
    The classpath from jvm12.conf:
    jvm.classpath=/opt/iplanet/servers/plugins/servlets/examples/legacy/beans.10/SDKBeans10.jar
    That's all that I can find that is relevant. Please ask if there is anything else I can give you (apart from access to the server or the application -- I can't give that).
    Any ideas?

    The solution was to download the DTD file and change
    the URL to a file: link, so iPlanet could
    successfully use the DTD. Did you have to define the file link as an absolute path? Or where you able to use a relative link.? If so, can you please provide the full syntax?
    We faced a similar problem and after much trial and error ended up placing the DTD on the server in /usr. But we'd like to try and find a way to define a relative file path and put the DTD right in the WEB-INF directory (or somewhere similar) so that we have one less configuration hassle and platform/server independence (i.e. the war file has everything it needs). But we have not been able to determine a way of doing this.
    Thanks

  • Unable to deploy a war file: could path length in a war file be an issue on WIN2K?

    Hi all,
    I am unable to auto deploy a web app as a war file but has no problem to auto deploy it as an exploded directory that I drop under the
    $PortalHome/config/mydomain/applications directory of the WebLogic Server installation.
    Portal Server runs under W2K.
    I noticed that the generated war file located under $PortalHome/config/mydomain/applications.wlnotdelete contains files which path is 10 level deep and may be over
    255 char.
    Could this be a problem?
    The error I got is:
    ####<Dec 27, 2001 3:29:13 PM PST> <Info> <HTTP> <EBRIDONNEAU> <portalServer> <main> <system> <> <101059> <[portalServer] Loading efs40 from WAR file:
    D:\Bea\wlportal4.0\.\config\portalDomain\applications\.wlnotdelete\wl_comp19136.war>
    ####<Dec 27, 2001 3:29:13 PM PST> <Info> <HTTP> <EBRIDONNEAU> <portalServer> <main> <system> <> <101031> <[WebAppServletContext
    (23419224,personalizedPortal,/personalizedPortal)] extracting classfiles to D:\Bea\wlportal4.0\config\portalDomain\applications\.wlnotdelete\WEB-INF
    \_tmp_war_portalServer_portalServer_personalizedPortal:>
    ####<Dec 27, 2001 3:29:20 PM PST> <Error> <HTTP> <EBRIDONNEAU> <portalServer> <main> <system> <> <101034> <[WebAppServletContext
    (23419224,personalizedPortal,/personalizedPortal)] failure extracting WAR classes>
    java.io.IOException: The system cannot find the path specified
         at java.io.Win32FileSystem.createFileExclusively(Native Method)
         at java.io.File.checkAndCreate(File.java:1162)
         at java.io.File.createTempFile(File.java:1247)
         at weblogic.servlet.internal.WebAppHelper.extractClassFiles(WebAppHelper.java:95)
         at weblogic.servlet.internal.WebAppServletContext.extractClassFiles(WebAppServletContext.java:3359)
         at weblogic.servlet.internal.WebAppServletContext.setDocroot(WebAppServletContext.java:3330)
         at weblogic.servlet.internal.WebAppServletContext.init(WebAppServletContext.java:854)
    <snip>
    Thanks for any input.

    Puthanampatti, thanks for responding.
    What is the complete command line to deploy the war to a managed server, not Admin Server ?
    Our thinking is to deploy an exploded war directory but copy the descriptor files first.
    What do you think ?

  • Apache Turbine Application (WAR file) Deployment Issue in WL 8.1

    If I try to deploy my Turbine War file in WebLogic 8.1 server as that of simple servlets War and I try access it, I get the following error:
    Error 500--Internal Server Error
    org.apache.turbine.services.InstantiationException: ServiceBroker:
    unknown service PoolService requested at
    org.apache.turbine.services.BaseServiceBroker.getServiceInstance(BaseServiceBroker.java:354) at
    org.apache.turbine.services.BaseServiceBroker.getService(BaseServiceBroker.java:296) at
    org.apache.turbine.util.RunDataFactory.putRunData(RunDataFactory.java:226)
    at org.apache.turbine.Turbine.doGet(Turbine.java:643)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)at
    weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1006)at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419) at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)at
    weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6718)at
    weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)at
    weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)at
    weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3764) at
    weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    While deploying, it doesn't show any error. Only when I access the application, I get the error.
    Could any one please help me out on this? Please give proper steps to be followed to deploy Turbine WAR file in WL 8.1
    Thanks in advance,
    Ravi K.

    If I try to deploy my Turbine War file in WebLogic 8.1 server as that of simple servlets War and I try access it, I get the following error:
    Error 500--Internal Server Error
    org.apache.turbine.services.InstantiationException: ServiceBroker:
    unknown service PoolService requested at
    org.apache.turbine.services.BaseServiceBroker.getServiceInstance(BaseServiceBroker.java:354) at
    org.apache.turbine.services.BaseServiceBroker.getService(BaseServiceBroker.java:296) at
    org.apache.turbine.util.RunDataFactory.putRunData(RunDataFactory.java:226)
    at org.apache.turbine.Turbine.doGet(Turbine.java:643)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)at
    weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1006)at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419) at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)at
    weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6718)at
    weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)at
    weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)at
    weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3764) at
    weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    While deploying, it doesn't show any error. Only when I access the application, I get the error.
    Could any one please help me out on this? Please give proper steps to be followed to deploy Turbine WAR file in WL 8.1
    Thanks in advance,
    Ravi K.

  • Issue after deploying war file???

    We are moving from a windows box to a unix box...
    We had installed jdeveloper - jdev11113install.exe (along with weblogic server and adf libraries) earlier version on the windows box and deployed a ADF application war file on that box which worked fine.
    Now i have installed jdevloper -jdev11115install.jar (along with weblogic server and adf libraries) a newer version. Now if i deploy my adf war file on this weblogic server its not fully functional. I have some bars and charts which dont load on one tab but loads on the other.
    Here are my logs :
    AdminServer-Diagnostic .log
    [2011-05-13T00:59:05.835-07:00] [AdminServer] [WARNING] [J2EE JMX-46041] [oracle.as.jmx.framework.MessageLocalizationHelper] [tid: JMX FRAMEWORK Domain Runtime MBeanServer pooling thread] [userId: <anonymous>] [ecid: 0000IzcNPGiEGRG5yz_AiW1DnEIq000002,0] The resource for bundle "oracle.jrf.i18n.MBeanMessageBundle" with key "oracle.jrf.JRFServiceMBean.checkIfJRFAppliedOnMutipleTargets" cannot be found.
    [2011-05-13T01:00:11.288-07:00] [AdminServer] [ERROR] [] [org.apache.beehive.netui.pageflow.internal.AdapterManager] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000IzcNfGTEGRG5yz_AiW1DnEIq000003,0] [APP: consoleapp] ServletContainerAdapter manager not initialized correctly.
    [2011-05-13T01:14:04.821-07:00] [AdminServer] [NOTIFICATION] [] [oracle.mds] [tid: [STANDBY].ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: ed56844b40a119ce:1ebfa2f5:12fe85d6867:-8000-0000000000000015,0] [APP: STUsageApp] "Metadata Services: Metadata archive (MAR) not found."
    [2011-05-13T01:14:05.208-07:00] [AdminServer] [NOTIFICATION] [] [oracle.security.jps.wls.util.JpsWlsUtil] [tid: [STANDBY].ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: ed56844b40a119ce:1ebfa2f5:12fe85d6867:-8000-0000000000000015,0] [APP: STUsageApp] JPS-00126
    [2011-05-13T01:15:17.280-07:00] [AdminServer] [NOTIFICATION] [] [oracle.adf.mbean.share.connection.ConnectionsMXBeanImpl] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: ed56844b40a119ce:1ebfa2f5:12fe85d6867:-8000-000000000000001a,0] [APP: STUsageApp] Registering Connection Runtime MBean
    [2011-05-13T01:15:19.989-07:00] [AdminServer] [NOTIFICATION] [] [oracle.adf.mbean.share.connection.ADFConnectionLifeCycleCallBack] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: ed56844b40a119ce:1ebfa2f5:12fe85d6867:-8000-000000000000001a,0] [APP: STUsageApp] Registered the ADF connection MBean for application STUsageApp
    [2011-05-13T01:15:26.200-07:00] [AdminServer] [NOTIFICATION] [] [oracle.adf.mbean.share.config.ADFConfigLifeCycleCallBack] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: ed56844b40a119ce:1ebfa2f5:12fe85d6867:-8000-000000000000001a,0] [APP: STUsageApp] ADF config mbean registered for STUsageApp.
    [2011-05-13T01:17:22.266-07:00] [AdminServer] [NOTIFICATION] [] [oracle.mds] [tid: [ACTIVE].ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: ed56844b40a119ce:1ebfa2f5:12fe85d6867:-8000-0000000000000027,0] [APP: STUsageApp] MBean: oracle.mds.lcm:name=MDSAppRuntime,type=MDSAppRuntime,Application=STUsageApp already exists
    [2011-05-13T01:17:22.275-07:00] [AdminServer] [NOTIFICATION] [] [oracle.mds] [tid: [ACTIVE].ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: ed56844b40a119ce:1ebfa2f5:12fe85d6867:-8000-0000000000000027,0] [APP: STUsageApp] MBean: oracle.mds.lcm:name=MDSAppRuntime,type=MDSAppRuntime,Application=STUsageApp deregistered
    [2011-05-13T01:17:22.278-07:00] [AdminServer] [NOTIFICATION] [] [oracle.mds] [tid: [ACTIVE].ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: ed56844b40a119ce:1ebfa2f5:12fe85d6867:-8000-0000000000000027,0] [APP: STUsageApp] "Metadata Services: Metadata archive (MAR) not found."
    [2011-05-13T01:17:42.347-07:00] [AdminServer] [NOTIFICATION] [] [oracle.adf.mbean.share.connection.ConnectionsMXBeanImpl] [tid: [STANDBY].ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: ed56844b40a119ce:1ebfa2f5:12fe85d6867:-8000-0000000000000029,0] [APP: STUsageApp] Registering Connection Runtime MBean
    [2011-05-13T01:17:42.598-07:00] [AdminServer] [NOTIFICATION] [] [oracle.adf.mbean.share.connection.ADFConnectionLifeCycleCallBack] [tid: [STANDBY].ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: ed56844b40a119ce:1ebfa2f5:12fe85d6867:-8000-0000000000000029,0] [APP: STUsageApp] Registered the ADF connection MBean for application STUsageApp
    [2011-05-13T01:17:46.568-07:00] [AdminServer] [NOTIFICATION] [] [oracle.adf.mbean.share.config.ADFConfigLifeCycleCallBack] [tid: [STANDBY].ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: ed56844b40a119ce:1ebfa2f5:12fe85d6867:-8000-0000000000000029,0] [APP: STUsageApp] ADF config mbean registered for STUsageApp.
    [2011-05-13T01:20:34.868-07:00] [AdminServer] [NOTIFICATION] [] [oracle.mds] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: ed56844b40a119ce:1ebfa2f5:12fe85d6867:-8000-0000000000000038,0] [APP: STUsageApp] "Metadata Services: Metadata archive (MAR) not found."
    [2011-05-13T01:20:35.142-07:00] [AdminServer] [NOTIFICATION] [] [oracle.security.jps.wls.util.JpsWlsUtil] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: ed56844b40a119ce:1ebfa2f5:12fe85d6867:-8000-0000000000000038,0] [APP: STUsageApp] JPS-00126
    [2011-05-13T01:21:07.963-07:00] [AdminServer] [NOTIFICATION] [] [oracle.adf.mbean.share.connection.ConnectionsMXBeanImpl] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: ed56844b40a119ce:1ebfa2f5:12fe85d6867:-8000-000000000000003c,0] [APP: STUsageApp] Registering Connection Runtime MBean
    [2011-05-13T01:21:08.177-07:00] [AdminServer] [NOTIFICATION] [] [oracle.adf.mbean.share.connection.ADFConnectionLifeCycleCallBack] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: ed56844b40a119ce:1ebfa2f5:12fe85d6867:-8000-000000000000003c,0] [APP: STUsageApp] Registered the ADF connection MBean for application STUsageApp
    [2011-05-13T01:21:11.460-07:00] [AdminServer] [NOTIFICATION] [] [oracle.adf.mbean.share.config.ADFConfigLifeCycleCallBack] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: ed56844b40a119ce:1ebfa2f5:12fe85d6867:-8000-000000000000003c,0] [APP: STUsageApp] ADF config mbean registered for STUsageApp.
    [2011-05-13T01:23:52.056-07:00] [AdminServer] [NOTIFICATION] [] [oracle.jbo.uicli.mom.CpxUtils$Visitor] [tid: [ACTIVE].ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: ed56844b40a119ce:1ebfa2f5:12fe85d6867:-8000-000000000000004a,0] [APP: STUsageApp] zip:/usr/Oracle/Middleware/user_projects/domains/base_domain/servers/AdminServer/tmp/_WL_user/STUsageApp/aszvbi/war/WEB-INF/lib/_wl_cls_gen.jar!/st/view/DataBindings.cpx
    [2011-05-13T01:23:53.108-07:00] [AdminServer] [NOTIFICATION] [ADFC-54008] [oracle.adfinternal.controller.faces.lifecycle.JSFLifecycleImpl] [tid: [ACTIVE].ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: ed56844b40a119ce:1ebfa2f5:12fe85d6867:-8000-000000000000004a,0] [APP: STUsageApp] ADFc: Initializing ADF Page Lifecycle for the JSF environment, LifecycleContextBuilder is 'oracle.adfinternal.controller.application.model.JSFDataBindingLifecycleContextBuilder'.
    [2011-05-13T01:23:58.753-07:00] [AdminServer] [WARNING] [] [oracle.adf.share.jndi.ReferenceStoreHelper] [tid: [ACTIVE].ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: ed56844b40a119ce:1ebfa2f5:12fe85d6867:-8000-000000000000004c,0] [APP: STUsageApp] Incomplete connection reference object for connection:oc
    [2011-05-13T01:25:08.181-07:00] [AdminServer] [WARNING] [] [org.apache.myfaces.trinidad.webapp.ResourceServlet] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: ed56844b40a119ce:1ebfa2f5:12fe85d6867:-8000-00000000000000d2,0] [APP: STUsageApp] ResourceServlet._setHeaders(): Content type for /bi/jsLibs/engine_20110409.swf is NULL![[
    Cause: Unknown file extension
    ]]

    basedomain.log
    n.java:323)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
         at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:68)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused By: javax.naming.NameAlreadyBoundException: AdsTimerManager is already bound; remaining name 'app/webapp/STUsage-ViewController-context-root/15580269/comp/env/tm'
         at weblogic.jndi.internal.BasicNamingNode.bindHere(BasicNamingNode.java:357)
         at weblogic.jndi.internal.BasicNamingNode.bind(BasicNamingNode.java:317)
         at weblogic.jndi.internal.BasicNamingNode.bind(BasicNamingNode.java:324)
         at weblogic.jndi.internal.WLEventContextImpl.bind(WLEventContextImpl.java:277)
         at weblogic.deployment.BaseEnvironmentBuilder.addTimerManager(BaseEnvironmentBuilder.java:843)
         at weblogic.deployment.EnvironmentBuilder.addResourceReferences(EnvironmentBuilder.java:164)
         at weblogic.servlet.internal.CompEnv.activate(CompEnv.java:138)
         at weblogic.servlet.internal.WebAppServletContext.activate(WebAppServletContext.java:3144)
         at weblogic.servlet.internal.WebAppModule.activateContexts(WebAppModule.java:1493)
         at weblogic.servlet.internal.WebAppModule.activate(WebAppModule.java:438)
         at weblogic.application.internal.flow.ModuleStateDriver$2.next(ModuleStateDriver.java:375)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.flow.ModuleStateDriver.activate(ModuleStateDriver.java:95)
         at weblogic.application.internal.flow.ScopedModuleDriver.activate(ScopedModuleDriver.java:194)
         at weblogic.application.internal.flow.ModuleListenerInvoker.activate(ModuleListenerInvoker.java:227)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$2.next(DeploymentCallbackFlow.java:541)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:175)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:167)
         at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:636)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:205)
         at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:58)
         at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)
         at weblogic.deploy.internal.targetserver.operations.StartOperation.doCommit(StartOperation.java:140)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
         at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:68)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    >
    ####<13-May-2011 1:17:50 o'clock AM PDT> <Error> <Deployer> <server_name> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <ed56844b40a119ce:1ebfa2f5:12fe85d6867:-8000-000000000000002c> <1305274670833> <BEA-149202> <Encountered an exception while attempting to commit the 7 task for the application 'STUsageApp'.>
    ####<13-May-2011 1:17:50 o'clock AM PDT> <Warning> <Deployer> <server_name> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <ed56844b40a119ce:1ebfa2f5:12fe85d6867:-8000-000000000000002f> <1305274670836> <BEA-149004> <Failures were detected while initiating start task for application 'STUsageApp'.>
    ####<13-May-2011 1:17:50 o'clock AM PDT> <Warning> <Deployer> <server_name> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <ed56844b40a119ce:1ebfa2f5:12fe85d6867:-8000-000000000000002f> <1305274670837> <BEA-149078> <Stack trace for message 149004
    weblogic.application.ModuleException: Could not setup environment
         at weblogic.servlet.internal.WebAppModule.activateContexts(WebAppModule.java:1495)
         at weblogic.servlet.internal.WebAppModule.activate(WebAppModule.java:438)
         at weblogic.application.internal.flow.ModuleStateDriver$2.next(ModuleStateDriver.java:375)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.flow.ModuleStateDriver.activate(ModuleStateDriver.java:95)
         at weblogic.application.internal.flow.ScopedModuleDriver.activate(ScopedModuleDriver.java:194)
         at weblogic.application.internal.flow.ModuleListenerInvoker.activate(ModuleListenerInvoker.java:227)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$2.next(DeploymentCallbackFlow.java:541)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:175)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:167)
         at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:636)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:205)
         at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:58)
         at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)
         at weblogic.deploy.internal.targetserver.operations.StartOperation.doCommit(StartOperation.java:140)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
         at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:68)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused By: javax.naming.NameAlreadyBoundException: AdsTimerManager is already bound; remaining name 'app/webapp/STUsage-ViewController-context-root/15580269/comp/env/tm'
         at weblogic.jndi.internal.BasicNamingNode.bindHere(BasicNamingNode.java:357)
         at weblogic.jndi.internal.BasicNamingNode.bind(BasicNamingNode.java:317)
         at weblogic.jndi.internal.BasicNamingNode.bind(BasicNamingNode.java:324)
         at weblogic.jndi.internal.WLEventContextImpl.bind(WLEventContextImpl.java:277)
         at weblogic.deployment.BaseEnvironmentBuilder.addTimerManager(BaseEnvironmentBuilder.java:843)
         at weblogic.deployment.EnvironmentBuilder.addResourceReferences(EnvironmentBuilder.java:164)
         at weblogic.servlet.internal.CompEnv.activate(CompEnv.java:138)
         at weblogic.servlet.internal.WebAppServletContext.activate(WebAppServletContext.java:3144)
         at weblogic.servlet.internal.WebAppModule.activateContexts(WebAppModule.java:1493)
         at weblogic.servlet.internal.WebAppModule.activate(WebAppModule.java:438)
         at weblogic.application.internal.flow.ModuleStateDriver$2.next(ModuleStateDriver.java:375)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.flow.ModuleStateDriver.activate(ModuleStateDriver.java:95)
         at weblogic.application.internal.flow.ScopedModuleDriver.activate(ScopedModuleDriver.java:194)
         at weblogic.application.internal.flow.ModuleListenerInvoker.activate(ModuleListenerInvoker.java:227)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$2.next(DeploymentCallbackFlow.java:541)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:175)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:167)
         at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:636)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:205)
         at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:58)
         at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)
         at weblogic.deploy.internal.targetserver.operations.StartOperation.doCommit(StartOperation.java:140)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
         at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:68)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    >
    ####<13-May-2011 1:18:32 o'clock AM PDT> <Warning> <netuix> <server_name> <AdminServer> <[ACTIVE] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'> <weblogic> <> <ed56844b40a119ce:1ebfa2f5:12fe85d6867:-8000-0000000000000030> <1305274712736> <BEA-423420> <Redirect is executed in begin or refresh action. Redirect url is /console/console.portal?_nfpb=true&_pageLabel=AppDeploymentsControlPage.>
    ####<13-May-2011 1:19:47 o'clock AM PDT> <Warning> <Socket> <server_name> <AdminServer> <ExecuteThread: '3' for queue: 'weblogic.socket.Muxer'> <<WLS Kernel>> <> <ed56844b40a119ce:1ebfa2f5:12fe85d6867:-8000-0000000000000011> <1305274787906> <BEA-000450> <Socket 21 internal data record unavailable (probable closure due idle timeout), event received -32>
    ####<13-May-2011 1:20:34 o'clock AM PDT> <Warning> <J2EE> <server_name> <AdminServer> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <weblogic> <> <ed56844b40a119ce:1ebfa2f5:12fe85d6867:-8000-0000000000000038> <1305274834453> <BEA-160195> <The application version lifecycle event listener oracle.security.jps.wls.listeners.JpsAppVersionLifecycleListener is ignored because the application STUsageApp is not versioned.>
    ####<13-May-2011 1:21:22 o'clock AM PDT> <Notice> <HTTP> <server_name> <AdminServer> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <ed56844b40a119ce:1ebfa2f5:12fe85d6867:-8000-0000000000000042> <1305274882683> <BEA-101352> <There are no active sessions. The webapp module STUsage-ViewController-context-root of application STUsageApp is ready to go into admin mode.>

  • Updating War File for existing Application Issue

    I have a web application that is currently deployed and running on a linux SunOne WebServer 7.0 U2.
    I use the web admin interface to update the (running) web application with a new WAR file and using the "PreCompile JSP" option.
    Once the web application has been updated and deployed, I get a 500 server error on the web application. Here is a snippet from the log.
    [28/May/2008:07:19:59] info ( 2427): CORE3276: Installing a new configuration
    [28/May/2008:07:19:59] info ( 2427): WEB0100: Loading web module in virtual server [interakt] at [/ssl/onlineenroll]
    [28/May/2008:07:20:00] info ( 2427): PWC1412: WebModule[/ssl/onlineenroll] ServletContext.log():Initializing Spring root WebApplicationContext
    [28/May/2008:07:20:02] info ( 2427): CORE3280: A new configuration was successfully installed
    [28/May/2008:07:20:02] info ( 2427): PWC1412: WebModule[/ssl/onlineenroll] ServletContext.log():Destroying Spring FrameworkServlet 'onlineenroll'
    [28/May/2008:07:20:02] info ( 2427): PWC1412: WebModule[/ssl/onlineenroll] ServletContext.log():Closing Spring root WebApplicationContext
    [28/May/2008:07:20:46] info ( 2427): for host 127.0.0.1 trying to GET /ssl/onlineenroll/action/enroll;jsessionid=AC1B582906B8ECBD422B72634CFDE128, service-j2ee reports: PWC1412: WebModule[/ssl/onlineenroll] ServletContext.log():Initializing Spring FrameworkServlet 'onlineenroll'
    [28/May/2008:07:20:46] failure ( 2427): for host 127.0.0.1 trying to GET /ssl/onlineenroll/action/enroll;jsessionid=AC1B582906B8ECBD422B72634CFDE128, service-j2ee reports: WebModule[/ssl/onlineenroll]StandardWrapper.Throwable
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tilesConfigurer' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is org.apache.struts.tiles.DefinitionsFactoryException: IO Error while parsing file '/WEB-INF/tile-defs/definitions.xml'. */apps/SunWebsvr7/https-interakt/generated/interakt/ssl/onlineenroll/loader/org/apache/struts/resources/tiles-config_1_1.dtd (No such file or directory)*
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1302)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:463)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:404)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:375)
         at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:263)
         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:170)
         at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:260)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:184)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:163)
         at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:430)
         at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:729)
         at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:381)
         at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:354)
         at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:292)
         at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:262)
         at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:126)
         at javax.servlet.GenericServlet.init(GenericServlet.java:241)
         at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1165)
         at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:819)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:184)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:255)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:188)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:586)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:556)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:187)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:586)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:556)
         at com.sun.webserver.connector.nsapi.NSAPIProcessor.service(NSAPIProcessor.java:160)
    Caused by: org.apache.struts.tiles.DefinitionsFactoryException: IO Error while parsing file '/WEB-INF/tile-defs/definitions.xml'. /apps/SunWebsvr7/https-interakt/generated/interakt/ssl/onlineenroll/loader/org/apache/struts/resources/tiles-config_1_1.dtd (No such file or directory)
         at org.apache.struts.tiles.xmlDefinition.I18nFactorySet.parseXmlFile(I18nFactorySet.java:523)
         at org.apache.struts.tiles.xmlDefinition.I18nFactorySet.parseFrom what I can tell, the following folder is deleted when a new deployment is made "/apps/SunWebsvr7/https-interakt/generated/interakt/ssl/onlineenroll/loader/org/apache/struts/"
    If I stop the server instance and start it back then the directory "/apps/SunWebsvr7/https-interakt/generated/interakt/ssl/onlineenroll/loader/org/apache/struts/" is created when the web application starts up and the web application runs as expected.
    Does anyone know what I can do to be able to hot deploy a web application and not get this error?
    Any help would be appreciated.
    Marty Jones

    after more research I have determined that the update process is deleting the loader folder when it completes the update process. The problem is that the web application needs this folder because the third party tag library definitions are stored underneath the loader folder. Here is where the loader folder is located.
    /<SunOneInstallDir>/<ServerName>/generated/<web-app-name>/<context>/loader
    When I stop the server instance and start it back up then the loader folder is created and sets the tab library definitions appropriately.
    So the problem seems to be with the update process.

  • Error while deploying a war file:Urgent

    Hi,
    I am trying to deploy a war file and i am getting the followinig error on the emd console.
    "Failed to deploy application 'xxxx'. No config data persisted for component apache, transaction ID 192.168.40.44.5789f3......"
    The opmn log file in the oracle directory is showing the following exceptioin
    java.net.ConnectException: Connection refused
    Can any one please help me resolve this issue.
    Regards
    Badari

    Hi,
    For a tutorial with source on how to create and deploy a simple quickstart JEE5 JPA enterprise 3-tier application on your Oracle WebLogic 10.3 server - see the following example that uses the EclipseLink JPA provider. You should be able to transition all of your mapping information (the @ManyToOne and table/column overrides and named queries for example) using either JPA via entity annotations or native extensions if you do not want to implement EJB3.
    see...
    http://wiki.eclipse.org/EclipseLink/Examples/JPA/WebLogic_Web_Tutorial
    We also have a similar version for Tomcat 6 except the JPA entity beans run outside a container-managed JTA transaction on the web container - for reference.
    http://wiki.eclipse.org/EclipseLink/Examples/JPA/Tomcat_Web_Tutorial
    thank you
    /michael
    www.eclipselink.org

  • Error auto-deploying a Web App (.WAR file)

    Hello,
    Weblogic 6.1 throws a FileNotFoundException about 10% of the time for me when
    auto-deploying a Web app. Has anyone else run into this? I searched the newsgroups
    but didn't come up with anything, so I thought I'd start here.
    My build/deploy cycle is managed by an Ant build file that creates a WAR file
    of my web application and then drops it into $WL_HOME/config/mydomain/applications.
    Occasionally when I do this, I get the error shown below. Originally I was building
    the WAR file right in the ../applications directory, so I thought that might be
    an issue. So, I started building the WAR file in a staging directory and copying
    it into ../applications. No luck. Next, I tried deleting the original WAR file
    from ../applications, and THEN copying the new one over from the staging directory.
    Still fails occasionally.
    Let's see. This is Weblogic 6.1 on Win2K. The only other thing is that my dev/build/staging
    environment is on a network share, and it's from there that I'm copying the WAR
    file to my local machine (where WL is running).
    If someone has seen and/or knows what is up with this, great. If not, it's not
    a show-stopper.
    Thanks!
    Cheers,
    David
    ========================================================
    <Apr 8, 2002 9:05:00 AM PDT> <Error> <Management> <IOException opening application
    mydomain:Name=private-banking,Type=Application, loading from path .\config\mydomain\applications\private-banking.war
    java.io.FileNotFoundException: error in opening zip file
         at weblogic.management.mbeans.custom.Application.findType(Application.java:1833)
         at weblogic.management.mbeans.custom.Application.adminLoad(Application.java:444)
         at weblogic.management.mbeans.custom.Application.load(Application.java:387)
         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 $Proxy8.load(Unknown Source)
         at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:840)
         at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:733)
         at weblogic.management.mbeans.custom.ApplicationManager.update(ApplicationManager.java:206)
         at weblogic.management.mbeans.custom.ApplicationManager$ApplicationPoller.run(ApplicationManager.java:1050)

    Michael,
    This is a problem with 6.1 SP2 also -- a very annoying error. Without auto deploy
    working properly, developers are spending alot of time waiting for WebLogic to restart.
    HELP!!! we need this fixed.
    I see the EXACT same stack trace (ERROR).
    Tom Markel
    Sr. Java Engineer
    Michael Young <[email protected]> wrote:
    Hi.
    This may be a known issue that was addressed in sp2. If you are not already
    at that sp level I suggest you upgrade.
    Regards,
    Michael
    David Ventimiglia wrote:
    Hello,
    Weblogic 6.1 throws a FileNotFoundException about 10% of the time forme when
    auto-deploying a Web app. Has anyone else run into this? I searchedthe newsgroups
    but didn't come up with anything, so I thought I'd start here.
    My build/deploy cycle is managed by an Ant build file that creates a WARfile
    of my web application and then drops it into $WL_HOME/config/mydomain/applications.
    Occasionally when I do this, I get the error shown below. OriginallyI was building
    the WAR file right in the ../applications directory, so I thought thatmight be
    an issue. So, I started building the WAR file in a staging directoryand copying
    it into ../applications. No luck. Next, I tried deleting the originalWAR file
    from ../applications, and THEN copying the new one over from the stagingdirectory.
    Still fails occasionally.
    Let's see. This is Weblogic 6.1 on Win2K. The only other thing is thatmy dev/build/staging
    environment is on a network share, and it's from there that I'm copyingthe WAR
    file to my local machine (where WL is running).
    If someone has seen and/or knows what is up with this, great. If not,it's not
    a show-stopper.
    Thanks!
    Cheers,
    David
    ========================================================
    <Apr 8, 2002 9:05:00 AM PDT> <Error> <Management> <IOException openingapplication
    mydomain:Name=private-banking,Type=Application, loading from path .\config\mydomain\applications\private-banking.war
    java.io.FileNotFoundException: error in opening zip file
    at weblogic.management.mbeans.custom.Application.findType(Application.java:1833)
    at weblogic.management.mbeans.custom.Application.adminLoad(Application.java:444)
    at weblogic.management.mbeans.custom.Application.load(Application.java:387)
    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 $Proxy8.load(Unknown Source)
    at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:840)
    at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:733)
    at weblogic.management.mbeans.custom.ApplicationManager.update(ApplicationManager.java:206)
    at weblogic.management.mbeans.custom.ApplicationManager$ApplicationPoller.run(ApplicationManager.java:1050)--
    Michael Young
    Developer Relations Engineer
    BEA Support

  • Getting an error while deploying war file into weblogic serve

    Hi All,
    We have build a sample war file from JDeveloper11.1.1.6.0 tool (which is java based web service).
    And we are trying to deploy into the WebLogic(10.3.6) Server using Ant scripts(apache-ant-1.8.4) from command prompt.
    While doing this getting an bellow error :
    [wldeploy] Task 0 initiated: [Deployer:149026]deploy application ViewController
    on AdminServer.
    [wldeploy] Task 0 failed: [Deployer:149026]deploy application ViewController on
    AdminServer.
    [wldeploy] Target state: deploy failed on Server AdminServer
    [wldeploy] java.lang.ClassNotFoundException: javax.faces.webapp.FacesServlet
    [wldeploy]
    [wldeploy]
    [wldeploy] Target Assignments:
    [wldeploy] + ViewController AdminServer
    BUILD FAILED
    D:\JDeveloper_Practice\otn\otnapp\ViewController\deploy\build.xml:50: weblogic.D
    eployer$DeployerException: weblogic.deploy.api.tools.deployer.DeployerException:
    Task 0 failed: [Deployer:149026]deploy application ViewController on AdminServe
    r.
    Target state: deploy failed on Server AdminServer
    java.lang.ClassNotFoundException: javax.faces.webapp.FacesServlet
    Could you please help me on this, if anyone know the solution.
    Thanks & Regards,
    Ramesh.

    Hi Ramesh,
    Try to include faces jars with in your classpath.
    It talk about the " java.lang.ClassNotFoundException: javax.faces.webapp.FacesServlet"
    you check for this blog which help to say about this issue using JDev.
    http://andrejusb.blogspot.in/2009/10/how-to-solve-javalangclassnotfoundexcep.html
    Regards,
    Kal

  • Problem reading a file from inside a war file

    Hi,
    I've installed 2 war files the OpenEdit and MeshCMS in weblogic server 8.1.5 but i've problems when i access to their pages.
    <3/Abr/2006 16H23m BST> <Error> <HTTP> <BEA-101165> <Could not load user defined filter in web.xml: com.openedit.servlet.OpenEditFilter.java.lang.NullPointerException
    at java.io.File.<init>(Ljava/lang/String;)V(Unknown Source)
    at com.openedit.servlet.OpenEditFilter.init(Ljavax/servlet/FilterConfig;)V(OpenEditFilter.java:85)
    at weblogic.servlet.internal.WebAppServletContext$FilterInitAction.run()Ljava/lang/Object;(WebAppServletContext.java:7008)
    <3/Abr/2006 16H08m BST> <Error> <HTTP> <BEA-101020> <[ServletContext(id=13727982,name=meshcms,context-path=/meshcms)] Servlet failed with Exception java.lang.NullPointerException
    at java.io.File.<init>(Ljava/lang/String;)V(Unknown Source)
    at com.cromoteca.meshcms.WebApp.<init>(Ljavax/servlet/ServletContext;)V(WebApp.java:62)
    at com.cromoteca.meshcms.HitFilter.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Ljavax/servlet/FilterChain;)V(HitFilter.java:61)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V(FilterChainImpl.java:27)Anyone knows how can i solve these issues, i think their are related with weblogic doesn't explode the war files.
    Thanks in advanced,
    rjc

    I think your guess is probably correct. FWIW, WLS 9.x does explode WAR files.
    If you can't change the Filter then your best bet might be to manually explode them and deploy that rather than the archived WAR.
    -- Rob
    WLS Blog http://dev2dev.bea.com/blog/rwoollen/

Maybe you are looking for