Upload big WAR files

Hi
My Web Server doesn't allow me to upoad a WAR file larger than 10 MB, and i need to upload a 13 MB WAR file.
�how can i upload it ?? (i'm using Web Server 6.1 on Solaris 9)
thanks a lot :)

Try this:
http://docs.sun.com/source/817-5170-10/rn60sp7.html#wp34269
Thanks
Manish

Similar Messages

  • How to upload MAM.war file to WebConsole

    Does anyone know how to upload MAM.war file to webconsole?  We just finish installed the middleware and client MI but don't know how to install MAM application.  I know the application have to deploy from the Webconsole but where can I find application?  Any helps would be appricated.

    Hi Dai Ly,
    Look at all these links for finding your solution...
    <b>A Similar topic dicussed here...</b>
    How to deploy MAM 2.5 into MI Server
    <b>MAM Enhancement Guides.....( All in One )</b>
    https://websmp105.sap-ag.de/~form/sapnet?_SHORTKEY=01200252310000047008&
    <b>Export a .war file</b>
    Export MAM into .war
    <b>
    How to name MAM application in WebConsole</b>
    How to name MAM application in WebConsole
    <b>Look at this link about MAM Installation.</b>
    MAM Installation
    <b>Look at this thread...</b>
    MAM help
    <b>
    FAQ's on MAM.</b>
    http://sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/mi/mobile applications/mobile application faq/mam client faq.faq
    <b>MAM Documents...</b>
    MAM document needed
    Hope it helps.
    Regards,
    Maheswaran.B

  • Upload a WAR file in Tomcat 4.1.18.Please help

    Hello there
    i have installed Jakarta 4.1.18 and after installing this,
    I am saying http://localhost:8080 and there is the admin
    screen.
    How do I upload the WAR URL?
    I am shown 3 options
    Path : Config URL: WAR URL : [Intall button]
    does any one know this?

    war files are the zip files with war extention..
    and has all dir structure build inside i.e.
    WEB-INF/classes
    WEB-INF/web.xml
    WEB-INF/lib
    etc.
    I'm puting this details here cause I'm bit confuse after reading ur details ...
    U are saying
    "c:>SymbianTest
    which contains the Wap.war
    Folder WEB-INF under SymbianTest
    which has the web.xml file "
    well if ur war file is right build ...u can use 'upload war file'utility of tomcat manager.
    Browse ur war file and then click install..
    Tomcat will extract the war file and will install the application under wabapps dir of tomcat...
    Try it

  • Best strategy to upload a big data file and then to insert in db the content

    Hi,
    Here's our requirement. We have a web business application developed on JSF 1.2, JE66, WebLogic for application server, and Oracle for the data back end tier. We need to upload big data files (80 to 100 Mb) from a web page, and persist the content in database tables.
    What's the best way in terms of performance to implement this use case ? Once the file is uploaded on server a command button is available on the web page  to trigger a JSF controller action in order to save data in database.
    Actually we plan to keep in memory the content of the http request, and call insert line on each line of the file. But i think it's bad and not scalable.
    Is is better to write the file on server's disk and then use multiple threads to send the lines to the database ? How to use multi threading in a JSF managed bean ?
    Thanks

    In addition, LoadFromFile is overloaded to handle both BLOB and CLOB:
    PROCEDURE LOADFROMFILE
    Argument Name                  Type                    In/Out Default?
    DEST_LOB                       BLOB                    IN/OUT
    SRC_LOB                        BINARY FILE LOB         IN
    AMOUNT                         NUMBER(38)              IN
    DEST_OFFSET                    NUMBER(38)              IN     DEFAULT
    SRC_OFFSET                     NUMBER(38)              IN     DEFAULT
    <BR>
    PROCEDURE LOADFROMFILE
    Argument Name                  Type                    In/Out Default?
    DEST_LOB                       CLOB                    IN/OUT
    SRC_LOB                        BINARY FILE LOB         IN
    AMOUNT                         NUMBER(38)              IN
    DEST_OFFSET                    NUMBER(38)              IN     DEFAULT
    SRC_OFFSET                     NUMBER(38)              IN     DEFAULT

  • Problem regarding running war file in Tomcat 4.1

    i uploaded a war file in Tomcat application manager..
    Running status of application is false ...
    By pressing START in COMMANDS still it shows false in RUNNING ..
    i got error
    FAIL - Application at context path /kannan could not be started...........

    hi
    restart your system and again you deploy in tomcat manager,
    or
    better you place your .war file under webapps and restart ur tomcat server once again ..
    after u c one folder create with ur war file name,
    after u go and access
    thats it..
    i hope it will helps u

  • Uploading big files via http post to XDB table

    Hello,
    I ve created a web form for to upload files as blobs to the database using XML DB, DBPS_EPG package and preconfigured DAD.
    The issue is that small files (~10kb) are being uploaded ok, but file which is 100K during http post returns connection reset from the server side.
    To my opinion there might be some max file size parameter for oracle server to accept during oracle listener tcp connection (as apach has maxrequestlimit).
    Is there any workaround for to load large files to the XDB table via webform?
    Here is a piece of code:
    CREATE USER web IDENTIFIED BY web_upload;
    ALTER USER web DEFAULT TABLESPACE XML_DATA;
    ALTER USER web QUOTA UNLIMITED ON XML_DATA;
    ALTER USER web TEMPORARY TABLESPACE TEMP;
    GRANT CONNECT, ALTER SESSION TO web;
    GRANT CREATE TABLE, CREATE PROCEDURE TO web;
    ALTER SESSION SET CURRENT_SCHEMA = XDB;
    BEGIN DBMS_EPG.CREATE_DAD('WEB', '/upload/*'); END;
    BEGIN
        DBMS_EPG.SET_DAD_ATTRIBUTE('WEB', 'database-username', 'WEB');
        DBMS_EPG.SET_DAD_ATTRIBUTE('WEB', 'document-table-name', 'uploads');
        DBMS_EPG.SET_DAD_ATTRIBUTE('WEB', 'nls-language', '.al32utf8');
        DBMS_EPG.SET_DAD_ATTRIBUTE('WEB', 'default-page', 'upload');
        COMMIT;
    END; 
    ALTER SESSION SET CURRENT_SCHEMA = SYS;
    CREATE TABLE web.uploads (
        name VARCHAR2(256) NOT NULL
            CONSTRAINT pk_uploads PRIMARY KEY,
        mime_type VARCHAR2(128),
        doc_size NUMBER,
        dad_charset VARCHAR2(128),
        last_updated DATE,
        content_type VARCHAR2(128) DEFAULT 'BLOB',
        blob_content BLOB
    CREATE OR REPLACE PROCEDURE web.upload
    AS
      url VARCHAR2(256) := 'http://demo.test.com:9090/upload/uploaded';
    BEGIN
        HTP.P('<html>');
        HTP.P('<head>');
        HTP.P('  <title>Upload</title>');
        HTP.P('</head>');
        HTP.P('<body>');
        HTP.P('  <h1>Upload</h1>');
        HTP.P('  <form method="post"');
        HTP.P('      action="' || url || '"');
        HTP.P('      enctype="multipart/form-data">');
        HTP.P('    <p><input type="file" name="binaryfile" /></p>');
        HTP.P('    <p><input type="file" name="binaryfile" /></p>');
        HTP.P('    <p><button type="submit">Upload</button></p>');
        HTP.P('  </form>');
        HTP.P('</body>');
        HTP.P('</html>');
    END;
    CREATE OR REPLACE PROCEDURE web.uploaded (
        binaryfile OWA.VC_ARR
    AS
    BEGIN
        HTP.P('<html>');
        HTP.P('<head>');
        HTP.P('  <title>Uploaded</title>');
        HTP.P('</head>');
        HTP.P('<body>');
        HTP.P('  <h1>Uploaded</h1>');
        FOR i IN 1 .. binaryfile.COUNT LOOP
            IF binaryfile(i) IS NOT NULL THEN
                HTP.P('  <p>File: ' || binaryfile(i) || '</p>');
            END IF;
        END LOOP;
        HTP.P('</body>');
        HTP.P('</html>');
    END;
    /帖子经 anatoly编辑过

    Welcome to Apple Discussions!
    Much of what is available on Bittorrent is not legal, beta, or improperly labelled versions. If you want public domain software, see my FAQ*:
    http://www.macmaps.com/macosxnative.html#NATIVE
    for search engines of legitimate public domain sites.
    http://www.rbrowser.com/ has a light mode that supports binary without SSH security.
    http://rsug.itd.umich.edu/software/fugu/ has ssh secure FTP.
    Both I find are quick and a lot more reliable than Fetch. I know Fetch used to be the staple FTP program, but it grew too big for my use.
    - * Links to my pages may give me compensation.

  • Keeping "CS Web Service session" alive while uploading big files.

    Hi.
    I have a problem when I'm uploading big files, which takes longer than the session timeout value, causing the upload to fail.
    As you all know uploading a file is a three step process:
    1). Create a new DocumentDefinition Item on the server as a placeholder.
    2). Open an HTTP connection to the created placeholder and transfer the data using the HTTPConnection.put() method.
    3). Create the final document using the FileManager by passing in the destination folder and the document definition.
    The problem is that step 2 take so long that the "CS Web Service Session" times out and thus step 3 can not be completed. The Developer guide gives a utility method for creating an HTTP connection for step 2 and it states the folllowing "..you must create a cookie for the given domain and path in order to keep the session alive while transferring data." But this only keeps the session of the HTTP Connection alive and not the "CS Web Service Session". As in my case step 2 completes succesfully and the moment I peform step 3 it throws an ORACLE.FDK.SessionError:ORACLE.FDK.SessionNotConnected exception.
    How does one keep the "CS Web Service Session" alive?
    Thanks in advance
    Regards.

    Okay, even a thread that pushes dummy stuff through once in a while doesn't help. I'm getting the following when the keep alive thread kicks in while uploading a big file.
    "AxisFault
    faultCode: {http://xml.apache.org/axis/}HTTP
    faultSubcode:
    faultString: (409)Conflict
    faultActor:
    faultNode:
    faultDetail:
    {}:return code: 409
    &lt;HTML&gt;&lt;HEAD&gt;&lt;TITLE&gt;409 Conflict&lt;/TITLE&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;H1&gt;409 Conflict&lt;/H1&gt;Concurrent Requests On The Same Session Not Supported&lt;/BODY&gt;&lt;/HTML&gt;
    {http://xml.apache.org/axis/}HttpErrorCode:409
    (409)Conflict
         at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:732)
         at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:143)
         at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
         at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
         at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
         at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
         at org.apache.axis.client.Call.invokeEngine(Call.java:2765)
         at org.apache.axis.client.Call.invoke(Call.java:2748)
         at org.apache.axis.client.Call.invoke(Call.java:2424)
         at org.apache.axis.client.Call.invoke(Call.java:2347)
         at org.apache.axis.client.Call.invoke(Call.java:1804)
         at oracle.ifs.fdk.FileManagerSoapBindingStub.existsRelative(FileManagerSoapBindingStub.java:1138)"
    I don't understand this, as the exception talks about "Concurrent Requests On The Same Session", but if their is already a request going on why is the session timing out in the first place?!
    I must be doing something really stupid somewhere. Aia ajay jay what a unproductive day...
    Any help? It will be greatly appreciated...

  • Upload files into a .war file

    Hi,
    I`m working in a webapp that upload a file from a client browser into a
    directory inside the structure of my aplication. This looks like :
    MyApp\targetdirectory
    I`m using getServlet().getServletContext().getRealPath("/") to get the real
    path of root of MyApp and then upload the file ...
    Everything work when I`m working with the "exploded" structure but it fails
    when I deploy it in weblogic as part of a .war file.
    Tomcat seems to handle this "exploding" the .war file at deploying time ...
    does weblogic has something similar ?
    regards,
    Hans Nemarich
    ORDEN
    www.orden.cl

    This has been discussed before if you search back ... generally, you should
    NOT be doing what you described.
    Peace,
    Cameron Purdy
    Tangosol Inc.
    Tangosol Coherence: Clustered Coherent Cache for J2EE
    Information at http://www.tangosol.com/
    "Hans Nemarich" <[email protected]> wrote in message
    news:[email protected]..
    Hi,
    I`m working in a webapp that upload a file from a client browser into a
    directory inside the structure of my aplication. This looks like :
    MyApp\targetdirectory
    I`m using getServlet().getServletContext().getRealPath("/") to get thereal
    path of root of MyApp and then upload the file ...
    Everything work when I`m working with the "exploded" structure but itfails
    when I deploy it in weblogic as part of a .war file.
    Tomcat seems to handle this "exploding" the .war file at deploying time...
    does weblogic has something similar ?
    regards,
    Hans Nemarich
    ORDEN
    www.orden.cl

  • Problems uploading big files via FTP and downloading files

    I've been having problems uploading big files like video files (.mov 12MB) via FTP to my website (small files like .html or .doc I can upload but it takes longer than usual). I'm using Fetch 4.0.3. as FTP. Same problems when downloading files via Bit Torrent. I recently moved to Spain, since then I seem to have the problem. But my roommate with a PC doesn't have that problem. Connecting to internet with Ethernet cable also didn't resolve the problem. I also tested it from a Starbucks coffee connecting to Internet from there but still couldn't upload that 12MB file to the FTP. The security settings for firewall are set to "allow all incoming connections". I didn't change any of my settings so I don't know what the problems could be. I have a MacBook Pro, Mac OS X (10.5.7) Any suggestions? Thanks!

    Welcome to Apple Discussions!
    Much of what is available on Bittorrent is not legal, beta, or improperly labelled versions. If you want public domain software, see my FAQ*:
    http://www.macmaps.com/macosxnative.html#NATIVE
    for search engines of legitimate public domain sites.
    http://www.rbrowser.com/ has a light mode that supports binary without SSH security.
    http://rsug.itd.umich.edu/software/fugu/ has ssh secure FTP.
    Both I find are quick and a lot more reliable than Fetch. I know Fetch used to be the staple FTP program, but it grew too big for my use.
    - * Links to my pages may give me compensation.

  • War file -- uploading

              Hi everybody, I have a requirement where i need to upload word document into the
              server.
              When the directory structure was expanded i created an folder called upload in
              the root directory of the
              application and would put all the documents uploaded into that. But now i want
              to deploy
              this application into the production and want to deploy all the application as
              a single war file.
              so how can i write into the upload directory now which is also a part of war file.
              Do i need to write in
              some other directory which is not a part of the war file etc. Any ideas???
              Thanks in Advance
              bobby
              

    [from previous post]
              Do not give in to the dark side. To keep your application clean and secure,
              you must treat the application space (the server and the applications under
              it) as sacred. At runtime, in fact, it is best if your application server
              and the applications that it serves are "read only", even by OS level
              security where possible. That prevents a huge number of potential cracks in
              and of itself.
              Where there are items being uploaded from the browser to your app, and those
              items need to be persisted, then they should go to a database or to a
              designated data directory with the naming and organization being controlled
              100% by the app. You must avoid allowing the user to "browse" or "request"
              directly from that directory ... e.g. FileServlet. Likewise, you must avoid
              allowing the user to control how things are stored to that directory. It
              should be as transparent as a typical mail client is -- you don't know
              (unless you look) how the messages are being stored. Are they in Microsoft
              structured storage? In a database? Perhaps stored as files in a directory?
              You don't know from the interface, and you shouldn't. Similarly, a web user
              shouldn't know from the interface, and that includes the point that they
              should not be able to determine the mechanism or organization from the URL.
              And even if they attempt to guess (spoof the url) then the app must prevent
              them from accessing anyone else's data or any data that they should not see,
              and it must prevent them from changing other data too.
              Cameron Purdy
              Tangosol Inc.
              << Tangosol Server: How Weblogic applications are customized >>
              << Download now from http://www.tangosol.com/download.jsp >>
              "bobby" <[email protected]> wrote in message
              news:[email protected]...
              >
              >
              >
              > Hi everybody, I have a requirement where i need to upload word document
              into the
              > server.
              > When the directory structure was expanded i created an folder called
              upload in
              > the root directory of the
              > application and would put all the documents uploaded into that. But now i
              want
              > to deploy
              > this application into the production and want to deploy all the
              application as
              > a single war file.
              > so how can i write into the upload directory now which is also a part of
              war file.
              > Do i need to write in
              > some other directory which is not a part of the war file etc. Any ideas???
              >
              > Thanks in Advance
              > bobby
              

  • Any idea for uploading big file ?

    i am working on a website , need to upload FLV video file , the problem i have i can upload the files like jpg with the low size like 500K or 1 MB , but when i try to upload movie file with the 2-3 MB after few minute i get internal error 500. its working on my local system nice but when i try from the hosting , its going crazy.
    i use <cffile> to upload . i try <cfftp> and try to upload via ftp protocol but its same . it should not be timeout error because when i run it on my local server and change the destination to upload on hosting server insted of my local server its work perfect and upload the 3mb file in less than minute but when i run it on the hosting server nothing .
    anybody has an idea whats going on ?
    also it there any chance to have progress bar when useing <cffile > or <cfftp> ?
    thanks

    It is quite likely that a maximum size limit of around 1 MB has been set in the Administrator of the hosting server. Ask the people who run the server about this.

  • Unable to Deploy WAR file  (Unknown assembly root-tag attribute: version)

    Hello,
    I created a simple web application with eclipse + tomcat plugin + struts2 (JPA Spring Hibernate ) and created the WAR file using the tomcat plugin compiler. When I deploy the war file into Tomcat 6 the file is deployed properly and i can view the website properly. But when I try to deploy the the WAR file from Oracle 9i Application Server I get the following error.
    Failed to deploy web application "mytest". Nested exception Root Cause: Error loading web-app 'mytest' at C:\ora9ias\j2ee\MySystem\applications\mytest\mytest: Unknown assembly root-tag attribute: version; nested exception is: java.lang.InstantiationException: Error loading web-app 'SFPD' at C:\ora9ias\j2ee\MySystem\applications\mytest\mytest: Unknown assembly root-tag attribute: version.
    My Current web.xml is this.
    <?xml version="1.0" ?>
    <web-app id="WebApp_9" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
         http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
    <display-name>My Test Project System</display-name>
    <filter>
    <filter-name>struts2</filter-name>
    <filter-class>org.apache.struts2.dispatcher.FilterDispatcher</filter-class>
    </filter>
    <filter-mapping>
    <filter-name>struts2</filter-name>
    <url-pattern>/*</url-pattern>
    </filter-mapping>
    <welcome-file-list>
    <welcome-file>index.html</welcome-file>
    </welcome-file-list>
    <listener>
    <listener-class>
    org.springframework.web.context.ContextLoaderListener
    </listener-class>
    </listener>
    </web-app>
    thanks in advance,

    Thanks for the reply sasesha,
    I've changed my web.xml to
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
         "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>     
         <display-name>My Test Project System</display-name>
         <filter>
              <filter-name>struts2</filter-name>
              <filter-class>org.apache.struts2.dispatcher.FilterDispatcher</filter-class>
         </filter>
         <filter-mapping>
              <filter-name>struts2</filter-name>
              <url-pattern>/*</url-pattern>
         </filter-mapping>
         <listener>
              <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
         </listener>
         <welcome-file-list>
              <welcome-file>index.html</welcome-file>
         </welcome-file-list>
    </web-app>
    During the initial upload the previous error doesn't show anymore, however, I'm getting this new error and currently I'm a bit at a loss since i included the spring.jar library file in my war file. I tried the new war file in Tomcat and the war file deploys fine. Am I missing a configuration or setup ?
    Failed to deploy web application "mytest". Nested exception Root Cause: Class not found: org.springframework.beans.factory.BeanDefinitionStoreException; nested exception is: java.lang.ClassNotFoundException: org.springframework.beans.factory.BeanDefinitionStoreException. Class not found: org.springframework.beans.factory.BeanDefinitionStoreException; nested exception is: java.lang.ClassNotFoundException: org.springframework.beans.factory.BeanDefinitionStoreException
    Thanks again,
    sethsera

  • Deploying a .war file on WLP 8.1

    Hi Folks,
    I have installed BEA WLP 8.1 with Service Pack 2 on a Linux RedHat 9 machine(this
    service pack comes with the installer). Created a domain using JDBC. I used "BEA's
    Oracle Driver (Type 4) version 8.1.7, 9.0.1, 9.2.0" driver to configure oracle
    database onto domain. The settings for Distributed Domain, JMS and MultiPool were
    set to 'No' so did'nt used it. After that I edited the setDomainEnv.sh file to
    add classpath for my application's jar files. Started the server. Opened up console
    http://<machine ip>:7001/console, deployed three .war files that are required
    to integrate BEA with my application module. It successfully deployed. The files
    were uloaded in domainserver/upload folder. After that I restarted the server
    and it throws following exceptions:
    <Servlet: "startAgent" failed to preload on startup in Web application: "clickmarks".
    javax.servlet.ServletException
    at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:884)
    at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:848)
    at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:787)
    at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:3252)
    at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:3209)
    at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:3195)
    at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:3174)
    at weblogic.servlet.internal.HttpServer.preloadResources(HttpServer.java:688)
    at weblogic.servlet.internal.WebService.preloadResources(WebService.java:483)
    at weblogic.servlet.internal.ServletInitService.resume(ServletInitService.java:30)
    at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:131)
    at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:964)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:359)
    at weblogic.Server.main(Server.java:32)
    >
    <May 25, 2004 6:14:07 PM PKST> <Error> <HTTP> <BEA-101216> <Servlet: "PatternsServlet"
    failed to preload on startup in Web application: "clickmarks".
    javax.servlet.ServletException
    at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:884)
    at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:848)
    at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:787)
    at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:3252)
    at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:3197)
    at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:3174)
    at weblogic.servlet.internal.HttpServer.preloadResources(HttpServer.java:688)
    at weblogic.servlet.internal.WebService.preloadResources(WebService.java:483)
    at weblogic.servlet.internal.ServletInitService.resume(ServletInitService.java:30)
    at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:131)
    at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:964)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:359)
    at weblogic.Server.main(Server.java:32)
    >
    <May 25, 2004 6:14:09 PM PKST> <Error> <HTTP> <BEA-101216> <Servlet: "PortalServlet"
    failed to preload on startup in Web application: "portal".
    javax.servlet.ServletException
    at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:884)
    at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:848)
    at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:787)
    at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:3252)
    at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:3197)
    at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:3174)
    at weblogic.servlet.internal.HttpServer.preloadResources(HttpServer.java:688)
    at weblogic.servlet.internal.WebService.preloadResources(WebService.java:483)
    at weblogic.servlet.internal.ServletInitService.resume(ServletInitService.java:30)
    at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:131)
    at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:964)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:359)
    at weblogic.Server.main(Server.java:32)
    >
    The StartAgent, PatternsServlet and PortalServlet are some class instances that
    this war file need to initialize first. Can anyone please help me in this regard
    how to solve this problem? I need it urgently ASAP...

    dkarr, Thanks for your reply.<BR>
    here is the constructor I got for the class 'com.corizon.ps.oneview.servlet.OneViewWritebackResultServlet'
    <BR><BR>
    <b> public OneViewWritebackResultServlet()<BR>
    {<BR>
    senderThread = null;<BR>
    jmsConnectionHandler = null;<BR>
    closureManager = null;<BR>
    mRequestSenderThread = null;<BR>
    connected = false;<BR>
    }</b><BR>
    <BR>
    Is this ok ?
    <BR>
    Thanks,<BR>
    -Ninad<BR>

  • Deploying a WAR File, WL 6.0

    Hi!
    I'm trying to deploy a web application on WL 6.0. This application
    runs on Tomcat 3.x and 4.x. I have a WAR file containing jars,
    JSP, html etc. Using the tools of WL6.0 I can upload and deploy
    the application. I can also access the HTML files from the welcomelist.
    However when I want to access the JSPs I hit an:
    Error 500--Internal Server Error
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    10.5.1 500 Internal Server Error
    The server encountered an unexpected condition which prevented
    it from fulfilling the request.
    Looking at the log files it turns out that WL cannot find a properties
    file (See below).
    Questions:
    - How can I make sure WL finds the file -- note that the properties
    file is contained in the WAR file. It appears (just searching for
    this file on the disk) that the WAR install program of WL does
    not unpack the file.
    - The properties file contains relative paths -- can WL handle
    that?
    If you want to try it your self you can pick up the WAR file at
    ftp://ftp.b3idev.com/anonup/Bea/jetspeed.war
    Later..
    ++Dirk
    [WebAppServletContext(7037379,jetspeed)] jetspeed: init
    Feb 27, 2001 5:03:21 PM EST Info HTTP
    [WebAppServletContext(7037379,jetspeed)] jetspeed: init
    Feb 27, 2001 5:03:21 PM EST Info HTTP
    [WebAppServletContext(7037379,jetspeed)] jetspeed: Turbine:
    init() failed: org.apache.turbine.services.InitializationException:
    Turbine::init(ServletConfig) - The Turbine Resources
    File - './WEB-INF/conf/TurbineResources.properties' does not exist.
    Please create it or change the 'properties' Init Parameter Value
    to a file name that exists and contains the TurbineResources.

    Hi!
    I'm trying to deploy a web application on WL 6.0. This application
    runs on Tomcat 3.x and 4.x. I have a WAR file containing jars,
    JSP, html etc. Using the tools of WL6.0 I can upload and deploy
    the application. I can also access the HTML files from the welcomelist.
    However when I want to access the JSPs I hit an:
    Error 500--Internal Server Error
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    10.5.1 500 Internal Server Error
    The server encountered an unexpected condition which prevented
    it from fulfilling the request.
    Looking at the log files it turns out that WL cannot find a properties
    file (See below).
    Questions:
    - How can I make sure WL finds the file -- note that the properties
    file is contained in the WAR file. It appears (just searching for
    this file on the disk) that the WAR install program of WL does
    not unpack the file.
    - The properties file contains relative paths -- can WL handle
    that?
    If you want to try it your self you can pick up the WAR file at
    ftp://ftp.b3idev.com/anonup/Bea/jetspeed.war
    Later..
    ++Dirk
    [WebAppServletContext(7037379,jetspeed)] jetspeed: init
    Feb 27, 2001 5:03:21 PM EST Info HTTP
    [WebAppServletContext(7037379,jetspeed)] jetspeed: init
    Feb 27, 2001 5:03:21 PM EST Info HTTP
    [WebAppServletContext(7037379,jetspeed)] jetspeed: Turbine:
    init() failed: org.apache.turbine.services.InitializationException:
    Turbine::init(ServletConfig) - The Turbine Resources
    File - './WEB-INF/conf/TurbineResources.properties' does not exist.
    Please create it or change the 'properties' Init Parameter Value
    to a file name that exists and contains the TurbineResources.

  • Unable to upload a .dat file from pl/sql

    Hi,
    I have written a stub in plsql to upload a data file. the DB version which I am using is 11g ( 11.1.0.7). The data file consists of 94000 rows.
    Sys is able to upload only 8000 rows at a time. I tried to upload it from the DB server by Setting serverout param to off. I generated a log file for this and I get " -ORA-06502: PL/SQL: numeric or value error: character string buffer too small " error. Kindly help on this issue.Are there any param's in the DB which will restrict the data upload into table based on rows/blocks at a time ?
    My code is as follows :
    DECLARE
         f           UTL_FILE.file_type;
         l           VARCHAR2(30000);
         l_rec          tmp_bic%ROWTYPE;
         split          DBMS_SQL.number_table;
         val          VARCHAR2(4500);
         s          NUMBER;
         e          NUMBER;
    BEGIN
         -- Pls look at some sample lines in the file (FI.Dat)
         -- The following lines are to split the line to fields. If the position is changing,
         -- you may need to change the below accordingly.
         split( split.COUNT + 1 ) := 4;
         split( split.COUNT + 1 ) := 15;
         split( split.COUNT + 1 ) := 120;
         split( split.COUNT + 1 ) := 190;
         split( split.COUNT + 1 ) := 225;
         split( split.COUNT + 1 ) := 289;
         split( split.COUNT + 1 ) := 324;
         split( split.COUNT + 1 ) := 359;
         split( split.COUNT + 1 ) := 394;
         split( split.COUNT + 1 ) := 464;
         split( split.COUNT + 1 ) := 569;
         split( split.COUNT + 1 ) := 639;
         split( split.COUNT + 1 ) := 674;
         split( split.COUNT + 1 ) := 779;
         delete tmp_bic;
         commit;
         -- If the file name or Path are different, the following line needs to be edited accordingly
         f := utl_file.fopen('/tmp','FI.dat','r',32767);
         BEGIN
              LOOP
                   utl_file.get_line(f,l);
                   l_rec := NULL;               
                   FOR i IN split.FIRST .. split.LAST
                   LOOP
                        IF i = split.FIRST
                        THEN
                             s := 1;
                        ELSE
                             s := split(i-1);
                        END IF;
                        IF i = split.LAST
                        THEN
                             e := 500;
                        ELSE
                             e := split(i)-1;
                        END IF;
                        val := SUBSTR(l,s,(e-s+1));
                        val := LTRIM(RTRIM(val));
                        --dbms_output.put_line(i||' - '||s||' - '||e);                    
                        IF i = 1     THEN     l_rec.col1 := val;                    
                        ELSIF i=2     THEN     l_rec.col2 := val;
                        ELSIF i=3     THEN     l_rec.col3 := val;
                        ELSIF i=4     THEN     l_rec.col4 := val;
                        ELSIF i=5     THEN     l_rec.col5 := val;
                        ELSIF i=6     THEN     l_rec.col6 := val;
                        ELSIF i=7     THEN     l_rec.col7 := val;
                        ELSIF i=8     THEN     l_rec.col8 := val;
                        ELSIF i=9     THEN     l_rec.col9 := val;
                        ELSIF i=10     THEN     l_rec.col10 := val;
                        ELSIF i=11     THEN     l_rec.col11 := val;
                        ELSIF i=12     THEN     l_rec.col12 := val;
                        ELSIF i=13     THEN     l_rec.col13 := val;
                        ELSIF i=14     THEN     l_rec.col14 := val;
                        ELSIF i=15     THEN     l_rec.col15 := val;
                        END IF;
                   END LOOP;
                   INSERT INTO tmp_bic VALUES l_rec;
                   commit;
                   --exit;
              END LOOP;
         EXCEPTION
              WHEN NO_DATA_FOUND
              THEN
                   NULL;
         END;
         utl_file.fclose(f);
    EXCEPTION
         WHEN OTHERS
         THEN
              DBMS_OUTPUT.put_line('Error '||SQLERRM);          
              IF utl_file.is_open(f)
              THEN
                   utl_file.fclose(f);
              END IF;
    END;
    insert into glo_bic_bkp select a.*,sysdate from glo_bic a;
    commit;
    BEGIN
         for i IN (
              SELECT     rowid rid,
                   bic_code
              FROM      glo_bic          
         loop
              for j IN
                   select substr(col3,1,35) name,
                   substr(col4,1,35) addr1,
                   substr(col5,1,35) addr2,
                   substr(col8||' '||col9,1,35) addr3
                   from tmp_bic
                   where col2 = i.bic_code
              loop
                   update     glo_bic
                   set     name = j.name,
                        address1 = j.addr1,
                        address2 = j.addr2,
                        address3 = j.addr3,
                        mod_no = mod_no+1,                    
                   WHERE     rowid = i.rid;
                   commit;
              end loop;
         end loop;
    END;
    insert into glo_bic
         BIC_CODE,
    NAME,
         CUSTOMER_NO,
         SK_ARRANGEMENT,     
         ADDRESS1,
         ADDRESS2,
         ADDRESS3,
         UPLOAD_FLAG,
         UPLOAD_UPDATE     
    select     col2,
         substr(col3,1,35),
         null,
         'N',
         1,          
         substr(col4,1,35),
         substr(col5,1,35),substr(col8||' '||col9,1,35),
         'N',
         null     
    from     tmp_bic
    where      not exists (select 1 from glo_bic where bic_code = col2)
    commit;
    Edited by: tyro_vins on Sep 24, 2009 10:34 PM

    The error sounds like one of the fields to too big for the column. Maybe you can look at the data in a text editor.

Maybe you are looking for

  • Photoshop cannot open EM5 II RAW files even with 8.8 ACR?!

    I have an active Adobe CC subscription so my Photoshop is already the latest version, but when I try to open EM5 II .ORF files, I get message "Photoshop cannot open this file." (see attached screenshot) EM5 II is already officially supported accordin

  • Linksys E2000 router is incompatible with Linux?

    Hi All, I have Cisco/Linksys E2000 router setup for home wireless network. I had been setup while ago and well working since then. Now the challenge: I need to know or to change the wireless guest network password. Linux support says it can be done O

  • How can I get the BingSearchComposit to work?

    Hi I'm trying hard to learn the BingSearch. I would like to have a combined search for both web image and video, and try this: BingSearch!Composite("Skoda","web+Image+Video")!results  but I get a message that something is wrong..... Do I try: BingSea

  • Any experience with Illustrator CS2 and MBP?

    Hi Everyone! I read a lot about the performance of Photoshop CS2 with Rosetta, but I would like to know how the Illustrator CS2 works with the new MacBook Pro. Thanks for your comments! Gus

  • Using Group Policy to Set Windows Font DPI size

    I was in need of a way to change the Windows 7 user interface to use the Font size of 100% (vs the default of 125%) for custom applications on our network. Many searches on the net did not provide an easy way to accomplish this via Group Policy. The