CGIServlet in WLS 7.02

Hi,
I am running WLS 7.02.
I wanted to hookup a leagacy CGI app to the WLS.
I created the the web.xml as follows -
==========================================
<web-app>
<servlet>
<servlet-name>CGIServlet</servlet-name>
<servlet-class>weblogic.servlet.CGIServlet</servlet-class>
<init-param>
<param-name>cgiDir</param-name>
<param-value>/bea/iaps/applications/ptrax/cgi-bin</param-value>
</init-param>
<init-param>
<param-name>*.cgi</param-name>
<param-value>/bin/perl</param-value>
</init-param>
</servlet>
<servlet-mapping>
<servlet-name>CGIServlet</servlet-name>
<url-pattern>/cgi-bin/*</url-pattern>
</servlet-mapping>
</web-app>
============================================
The config.xml is configured for PTrax as follows -
============================================= =
<Application Deployed="true" Name="ptrax"
Path="/bea/iaps/applications" StagedTargets=""
StagingMode="nostage" TwoPhase="true">
<WebAppComponent Name="ptrax" Targets="nettools" URI="ptrax"/>
</Application>
===============================================
The ptrax dir is as follows -
/bea/iaps/applications/ptrax
|---- WEB-INF
|---- cgi-bin
|---- htdocs
|----- templates
The URL http://<host>:<port>/ptrax/cgi-bin/ptrax.cgi
is failing on a line, when it tries to open and read a file
./htdocs/templates/start.html
If I give the full path name as in
/bea/iaps/applications/ptrax/htdocs/templates/start.html
then it works.
My ques is -
#1. For a CGI app thats configured as above, what is the
root context ?
#2. Obviously, specifying full path name is not a good idea,
so what should be done to rectify this problem.
I would really appreciate a quick response.
Thanks in advance
-Anil Varma

Hi Anil,
> For a CGI app thats configured as above, what is the root context ?
If memory serves, this is the directory of the domain to which the app
is deployed. (ie. not of the app, but of the domain)
Regards,
Jon

Similar Messages

  • CGIServlet in WLS 5.1

    It appears to me that the CGIServlet can only handle one request at time. Therefore,
    any long running script will cause other user requests to wait until that script
    has finished.
    Does anybody know the solution or a work-round ?

    I am pretty sure looking at the src that CGIServlet (at least in sp13 line)
    is mutli-threaded in the same way that all servlets are, unless the
    registration of it is using the single threaded model, even then this just
    creates a new instance vs. only running a single thread at a time.
    I don't have CGI (never have) setup on my env, can you do the following.
    1) If you dont have a simple load tool, compile the hack attached and
    2) execute two simultaneous requests that demonstrate the single threaded
    behavior
    3) take thread dumps to see where things are not progressing. Take 3,
    dividing your length of processing evenly. If your the first request takes
    10 seconds, take one ever 3 seconds. You should get an idea from the
    threads what is the blocking issue. Of if the data is overwhelming (it can
    be), then zip and attach.
    cheers
    mbg
    "Richard Duncliffe" <[email protected]> wrote in message
    news:3ef85fdf$[email protected]..
    >
    It appears to me that the CGIServlet can only handle one request at time.Therefore,
    any long running script will cause other user requests to wait until thatscript
    has finished.
    Does anybody know the solution or a work-round ?[HttpClientTest.java]

  • CGIServlet differences between WLS 6.1 sp2 and sp4?

    Hi all,
    I am currently facing a problem with CGI binaries via CGIServlet on WLS 6.1
    sp4. The web.xml file has been configured correctly as follows:
    -------- start of web.xml -----------
    <servlet>
    <servlet-name>CGIServlet</servlet-name>
    <servlet-class>weblogic.servlet.CGIServlet</servlet-class>
    <init-param>
    <param-name>cgiDir</param-name>
    <param-value>/web/bea6.1sp2/wlserver6.1/config/ngwapp/applications/NGWWebApp
    /cgi-bin</param-value>
    </init-param>
    <init-param>
    <param-name>*.pl</param-name>
    <param-value>/web/perl5/bin/perl5.00405</param-value>
    </init-param>
    <init-param>
    <param-name>*.cgi</param-name>
    <param-value>/web/perl5/bin/perl5.00405</param-value>
    </init-param>
    </servlet>
    <servlet-mapping>
    <servlet-name>CGIServlet</servlet-name>
    <url-pattern>/cgi-bin/*</url-pattern>
    </servlet-mapping>-------- end of web.xml ---------
    When a call is made to http://.../cgi-bin/dialogserver , this results in a
    404-File Not Found error.
    The contents of the cgi-bin directory have not been altered and I did not
    face this problem earlier when I was using sp2.
    It only happened after I upgraded to sp4. Can anyone help?
    best rgds,
    steven.

    Steven,
    The CGIServlet for WebLogic will not run a CGI that doesn't have an extension.
    Just add and extension to your executable and it should run fine.
    jeff
    "Steven" <[email protected]> wrote:
    Hi all,
    I am currently facing a problem with CGI binaries via CGIServlet on WLS
    6.1
    sp4. The web.xml file has been configured correctly as follows:
    -------- start of web.xml -----------
    <servlet>
    <servlet-name>CGIServlet</servlet-name>
    <servlet-class>weblogic.servlet.CGIServlet</servlet-class>
    <init-param>
    <param-name>cgiDir</param-name>
    <param-value>/web/bea6.1sp2/wlserver6.1/config/ngwapp/applications/NGWWebApp
    /cgi-bin</param-value>
    </init-param>
    <init-param>
    <param-name>*.pl</param-name>
    <param-value>/web/perl5/bin/perl5.00405</param-value>
    </init-param>
    <init-param>
    <param-name>*.cgi</param-name>
    <param-value>/web/perl5/bin/perl5.00405</param-value>
    </init-param>
    </servlet>
    <servlet-mapping>
    <servlet-name>CGIServlet</servlet-name>
    <url-pattern>/cgi-bin/*</url-pattern>
    </servlet-mapping>-------- end of web.xml ---------
    When a call is made to http://.../cgi-bin/dialogserver , this results
    in a
    404-File Not Found error.
    The contents of the cgi-bin directory have not been altered and I did
    not
    face this problem earlier when I was using sp2.
    It only happened after I upgraded to sp4. Can anyone help?
    best rgds,
    steven.

  • Difference between WLS 6.1 SP2   and SP3

    I have recently tested my application in WLS 6.1 SP3 (who work normally in WLS
    6.1 SP2) , I have problem with my jsp page for merging a jsp in another
    What need I do to correct it ?

    Steven,
    The CGIServlet for WebLogic will not run a CGI that doesn't have an extension.
    Just add and extension to your executable and it should run fine.
    jeff
    "Steven" <[email protected]> wrote:
    Hi all,
    I am currently facing a problem with CGI binaries via CGIServlet on WLS
    6.1
    sp4. The web.xml file has been configured correctly as follows:
    -------- start of web.xml -----------
    <servlet>
    <servlet-name>CGIServlet</servlet-name>
    <servlet-class>weblogic.servlet.CGIServlet</servlet-class>
    <init-param>
    <param-name>cgiDir</param-name>
    <param-value>/web/bea6.1sp2/wlserver6.1/config/ngwapp/applications/NGWWebApp
    /cgi-bin</param-value>
    </init-param>
    <init-param>
    <param-name>*.pl</param-name>
    <param-value>/web/perl5/bin/perl5.00405</param-value>
    </init-param>
    <init-param>
    <param-name>*.cgi</param-name>
    <param-value>/web/perl5/bin/perl5.00405</param-value>
    </init-param>
    </servlet>
    <servlet-mapping>
    <servlet-name>CGIServlet</servlet-name>
    <url-pattern>/cgi-bin/*</url-pattern>
    </servlet-mapping>-------- end of web.xml ---------
    When a call is made to http://.../cgi-bin/dialogserver , this results
    in a
    404-File Not Found error.
    The contents of the cgi-bin directory have not been altered and I did
    not
    face this problem earlier when I was using sp2.
    It only happened after I upgraded to sp4. Can anyone help?
    best rgds,
    steven.

  • CGIServlet problem ...

    Hi,
              I'm trying to use the CGIServlet to run a simple HelloWorld.pl but it
              always fail.
              Here is my simple perl script:
              #!D:\perl\bin\perl.exe
              print "Content-type:text/html\n\n";
              print "HelloWorld";
              exit;
              Here is the in my weblogic.properties:
              weblogic.httpd.register.cgi-bin=weblogic.servlet.CGIServlet
              weblogic.httpd.initArgs.cgi-bin=cgiDir=C:/weblogic/myserver/cgi-bin
              I'm getting this error:
              cgi-bin: Failed to execute CGI script:HelloWorld.pl
              THanks,
              Ninou
              

    Steven,
    The CGIServlet for WebLogic will not run a CGI that doesn't have an extension.
    Just add and extension to your executable and it should run fine.
    jeff
    "Steven" <[email protected]> wrote:
    Hi all,
    I am currently facing a problem with CGI binaries via CGIServlet on WLS
    6.1
    sp4. The web.xml file has been configured correctly as follows:
    -------- start of web.xml -----------
    <servlet>
    <servlet-name>CGIServlet</servlet-name>
    <servlet-class>weblogic.servlet.CGIServlet</servlet-class>
    <init-param>
    <param-name>cgiDir</param-name>
    <param-value>/web/bea6.1sp2/wlserver6.1/config/ngwapp/applications/NGWWebApp
    /cgi-bin</param-value>
    </init-param>
    <init-param>
    <param-name>*.pl</param-name>
    <param-value>/web/perl5/bin/perl5.00405</param-value>
    </init-param>
    <init-param>
    <param-name>*.cgi</param-name>
    <param-value>/web/perl5/bin/perl5.00405</param-value>
    </init-param>
    </servlet>
    <servlet-mapping>
    <servlet-name>CGIServlet</servlet-name>
    <url-pattern>/cgi-bin/*</url-pattern>
    </servlet-mapping>-------- end of web.xml ---------
    When a call is made to http://.../cgi-bin/dialogserver , this results
    in a
    404-File Not Found error.
    The contents of the cgi-bin directory have not been altered and I did
    not
    face this problem earlier when I was using sp2.
    It only happened after I upgraded to sp4. Can anyone help?
    best rgds,
    steven.

  • CGI support under AIX ?

    We tried to run a simple program using the CGIServlet
    under WLS 5.1 and AIX 4.3.3. The program isn't called
    at all. In the Developer Center, section "CGIServlet
    translations", we found that CGIServlet is only supported
    under NT, Solaris and HP-UX.
    Q: Will CGIServlet be supported under AIX? If so, when
    is this going to happen?
    Regards,
    Jens

    We currently have no plans to support the CGI servlet under AIX yet. This
    is something we're planning for future releases -- or, we have been
    considering placing that servlet on our developers center web site.
    Thanks,
    Michael
    Michael Girdley
    BEA Systems Inc
    "Jens Lührs" <[email protected]> wrote in message
    news:39a24edc$[email protected]..
    >
    We tried to run a simple program using the CGIServlet
    under WLS 5.1 and AIX 4.3.3. The program isn't called
    at all. In the Developer Center, section "CGIServlet
    translations", we found that CGIServlet is only supported
    under NT, Solaris and HP-UX.
    Q: Will CGIServlet be supported under AIX? If so, when
    is this going to happen?
    Regards,
    Jens

  • WLS 8.1SP2: CGIServlet: Failed to exec CGI script

    Hi,
    Added the revelant lins to web.xml as per the documentation.
    Tested to ensure my CGI perl script runs on command line.
    Pointed my browser to http://myserver:myport/myapp/cgi-bin/myscript.pl
    and got the 500 Internal Server Error.
    What's going on????
    Thanks,
    Paul

    Hi Paul,
    I am receiving this same message when execution psdoccgi in the cgi-bin folder on Solaris. Did you resolve your issue and if so, do you have a solution for this?
    Let me know.
    Thanks,
    [email protected]

  • I setup weblogic.servlet.CGIServlet and get java.lang.NoClassDefFoundError?

    My WLS is 8.1 SP2. I try to run the CGI/PL program in my server and I install the servlet in the web.xml file. After I run one CGI/PL program I get
    " Error 500--Internal Server Error "
    And I check with the log file. I get those error message:
    <Jan 6, 2005 11:53:52 AM PST> <Error> <HTTP> <BEA-101017> <[ServletContext(id=20
    41638322,name=PORTAL,context-path=)] Root cause of ServletException.
    java.lang.NoClassDefFoundError
    at weblogic.servlet.CGIServlet.init(CGIServlet.java:74)
    at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(Servl
    etStubImpl.java:993)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
    dSubject.java:317)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
    118)
    at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubIm
    pl.java:869)
    at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStub
    Impl.java:848)
    at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubI
    mpl.java:787)
    at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.
    java:518)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
    pl.java:362)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
    Anyone have idea how does this happen and how to fix it?
    Thanks advance
    Allen

    Hi Allen,
    Even I am facing the same problem. Did you received any reply from anyone? or Did you found any solution for the same? I am using WebLogic Server 8.1 SP5
    If someone from BEA team helps as this being a reported problem.
    Thanks in Advance,
    Raghuram

  • ADFBindingFilter error while deploying a war to WLS server using jdev 12c

    I've a OSB Server setup using XBUS_MAIN_GENERIC_120131.1402.S which is using JDEVADF_MAIN_GENERIC_120102.0032.6211.
    Launched the 12c Jdev and created a simple adfc web application with a test.jspx page and deployed in the OSB Server. The web app deployed and could launch the test page.
    I have added the page definition for that test page by 'Go to Page Definition' option.
    Now, If I try to deploy this web app war to the OSB Server, I'm getting the following exception in the jdev (Error1) and in the server log I could see the error (Error2).
    Any Idea how to resolve this issue?
    Error1 ( on Jdev )
    [03:15:08 AM] ---- Deployment started. ----
    [03:15:08 AM] Target platform is (Weblogic 10.3).
    [03:15:09 AM] Retrieving existing application information
    [03:15:09 AM] Running dependency analysis...
    [03:15:09 AM] Building...
    [03:15:15 AM] Deploying profile...
    [03:15:16 AM] Wrote Web Application Module to /scratch/sansrini/OSB_DEV/OSBMgmtTestApp/OSBMgmtTaskflowsTestApp/deploy/newosb2.war
    [03:15:16 AM] Deploying Application...
    [03:15:18 AM] [Deployer:149193]Operation "deploy" on application "newosb2" has failed on "AdminServer".
    [03:15:18 AM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application newosb2 on AdminServer.: [HTTP:101371]There was a failure when processing annotations for application /scratch/sansrini/view_storage/sansrini_xbus2/xbus/build/MW_HOME/user_projects/domains/base_domain/servers/AdminServer/upload/newosb2/app/newosb2.war. Ensure that the annotations are valid. The error is oracle.adf.model.servlet.ADFBindingFilter.
    [03:15:18 AM] weblogic.application.ModuleException: [HTTP:101371]There was a failure when processing annotations for application /scratch/sansrini/view_storage/sansrini_xbus2/xbus/build/MW_HOME/user_projects/domains/base_domain/servers/AdminServer/upload/newosb2/app/newosb2.war. Ensure that the annotations are valid. The error is oracle.adf.model.servlet.ADFBindingFilter
    [03:15:18 AM] Deployment cancelled.
    [03:15:18 AM] ---- Deployment incomplete ----.
    [03:15:18 AM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
    Error2 ( on wls log )
    <Feb 3, 2012 3:15:18 AM PST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    weblogic.application.ModuleException: [HTTP:101371]There was a failure when processing annotations for application /scratch/sansrini/view_storage/sansrini_xbus2/xbus/build/MW_HOME/user_projects/domains/base_domain/servers/AdminServer/upload/newosb2/app/newosb2.war. Ensure that the annotations are valid. The error is oracle.adf.model.servlet.ADFBindingFilter
    at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:732)
    at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:188)
    at weblogic.application.internal.ExtensibleModuleWrapper.prepare(ExtensibleModuleWrapper.java:93)
    at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:100)
    at weblogic.application.internal.flow.ModuleStateDriver$1.next(ModuleStateDriver.java:172)
    Truncated. see log file for complete stacktrace
    Caused By: java.lang.ClassNotFoundException: oracle.adf.model.servlet.ADFBindingFilter
    at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
    at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
    at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:64)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
    Truncated. see log file for complete stacktrace

    I guess you should be asking on an internal forum somewhere, because we, the unwashed masses, don't have access to JDev 12c.
    John

  • Error:Unable to reserve .lok file for Integrated WLS server (DefaultServer)

    Hi,
    I am having jdev 11.1.1.1.0.
    Many times I get following error while running my application pages:
    Unable to reserve the .lok file for Integrated WLS server (DefaultServer). Typically this is because another instance of this server is already running in the WLS domain.
    The only way out is to close jdev, delete system11.1.1.1.33.54.07 folder and open jdev again.
    Why is this error dialog shown? Is there any permanent solution?
    TIA

    Thanks for quick reply!
    As suggested in the given thread, I logged into the weblogic console http://127.0.0.1:7101/console/ as 'weblogic' user.
    On the left hand side in the 'View changes and restarts' section, no pending changes are shown. It shows following text:
    Configuration editing is enabled. Future changes will automatically be activated as you modify, add or delete items in this domain.
    Please advise. I can share the application.zip if needed.
    Thanks

  • HP-UX Kernel Params for WLS 6.0SP2 Cluster to Avoid java.lang.outofmemory and/or thread death

              I'm running a WLS 6.0 SP2 clustered application on HP-UX 11i. I'm seeing heap and
              thread issues on start-up or invocation of my application as I deploy EJB's and create
              DB connection pools. These are fairly trivial tasks that don't give me any issues
              when starting the first node. It's only when I invoke the second node.
              I'm pretty sure that my issue is tied to the following kernel areas:
              1. Thread allocation
              2. Heap allocation
              3. Max Processes per user
              Can anyone make some kernel recommendations that might be beneficial to my deployment?
              My app runs on NT/2000 and Sun as well, and I haven't seen these issues. I typically
              allocate 50 to 100 threads per node (3 nodes on a 4 CPU machine) and allocate about
              1GB of RAM per node on a 4GB machine...
              Regards,
              Steve
              

    I'm running a WLS 6.0 SP2 clustered application on HP-UX 11i. I'm seeing          heap and
              > thread issues on start-up or invocation of my application as I deploy
              EJB's and create
              > DB connection pools. These are fairly trivial tasks that don't give me any
              issues
              > when starting the first node. It's only when I invoke the second node.
              >
              > I'm pretty sure that my issue is tied to the following kernel areas:
              >
              > 1. Thread allocation
              > 2. Heap allocation
              > 3. Max Processes per user
              >
              > Can anyone make some kernel recommendations that might be beneficial to my
              deployment?
              > My app runs on NT/2000 and Sun as well, and I haven't seen these issues. I
              typically
              > allocate 50 to 100 threads per node (3 nodes on a 4 CPU machine) and
              allocate about
              > 1GB of RAM per node on a 4GB machine...
              HP has some kernel tuning guidelines for Java server apps on their web site,
              and BEA has some notes as well in their platform support page.
              What issues specifically are you seeing?
              Peace,
              Cameron Purdy
              Tangosol, Inc.
              Clustering Weblogic? You're either using Coherence, or you should be!
              Download a Tangosol Coherence eval today at http://www.tangosol.com/
              "Steve Feldman" <[email protected]> wrote in message
              news:3cdc046e$[email protected]..
              >
              

  • Java ftp server which can use LDAP, how to integrate with WLS' implementation of LDAP?

    Howdy.
    I'm setting up a java ftp server
    (http://www.mycgiserver.com/~ranab/ftp/index.html) which is capable of using
    LDAP for it's user security. I would like to integrate this ftp server with
    wls' implementation of LDAP so I only have to admin one user list.
    Does wls put it's user list in the LDAP or in it's own proprietary setup? I
    tried playing around with it, but the users don't seem to appear in the JNDI
    tree. Is this where the LDAP stuff is located? I thought it was in there?
    If it's in it's own setup, is there a way to propagate the users to LDAP?
    If these look like newbie Q&A, I guess they kind of are, I'm new to LDAP.
    Thanks for any input you might have.

    Peter,
    If you are talking about using the embedded LDAP server in WLS 7.0 for this purpose
    I think you are going done the wrong path.
    Look at the following URL on how to use an external LDAP server for your custom
    application
    http://e-docs.bea.com/wls/docs70/secmanage/realm.html#1172008
    Chuck Nelson
    DRE
    BEA Technical Support

  • WLS 9.1 - How to declare datasource for web service?

    If the code for a web service is generated (either a web application or ejb endpoint), how do I make sure the datasource mapping gets added to the appropriate descriptor file?
    I would like to avoid having to do this manually after running the web service compiler. Can anyone help me with this?
    Regards,
    Joshua

    James,
    Which version of Eclipse are you using? Do you have Oracle Enterprise Pack for Eclipse installed? Which version?
    According to the docs, OEPE 11.1.1.6 (the latest of this post) supports WLS back to version 9.2.
    http://download.oracle.com/docs/cd/E15315_05/help/oracle.eclipse.tools.common.doc/html/index.html
    Make sure that you have a WLS 9.2 Server Runtime defined.
    Window->Prefereces->Server->Runtime Environments
    Add a BEA System, Inc WLS 9.2 server runtime and make sure it is pointing to the right place on your file system and try creating your Web Service project again.
    If you still have issues, try the OEPE forum.
    Enterprise Pack for Eclipse

  • How to enable web-app "parent-last" classloading in WLS 10.3?

    Hello,
    We are having some issues when using Groovy to execute ant tasks in a webapp. They are due to the classloading order in WLS.
    The problem is this :
    - Our webapp is using Groovy 1.5.6.
    - Groovy 1.5.6 uses ant 1.7. When groovy calls ant tasks such as <untar>, <unjar>, etc, it is passing the <mapper> element, which is supported in ant 1.7.
    - When this webapp is deployed in WLS 10.3, Groovy tries to call these ant tasks, but WLS has ant 1.6 which does not support the nested <mapper> element groovy is trying to pass.
    - The groovy script blows up with an ant error because of the unsupported element.
    - We are packaging ant 1.7 jars in the WEB-INF/lib dir of our WAR file, but WLS is loading the classes from it's own classpath first, so we do not get the 1.7 impl loaded.
    The solution is to enable "parent-last" classloading for this webapp, but I can not find any documentation on how to do this.
    In Websphere you can set a checkbox for it in the console.
    In Orion, you add to the orion-web.xml file this tag <web-app-class-loader search-local-classes-first="true"/>
    ** In WebLogic, how do you do this?
    I have been searching the documentation and asking around, and I can not find an answer yet. Thanks in advance for your help!

    Try either a filtering classloader as described here:
    http://edocs.bea.com/wls/docs103/programming/classloading.html#wp1097187
    Or prefer-web-inf-classes in weblogic.xml:
    http://edocs.bea.com/wls/docs103/programming/classloading.html#wp1082452

  • Applets not working in WLS 6.1

              I am migrating an application from WLS 5.1 SP 9 to WLS 6.1 SP 1. This
              application contains several applets and ran without error or problems
              under WLS 5.1. However I'm seeing strange behaviour/errors under WLS
              6.1.
              Environment:
              Unix box:
              Sun Solaris - SunOS dargo 5.6 Generic_105181-28 sun4u sparc
              SUNW,Ultra-Enterprise
              Oracle 8.1.7.2
              JDK 1.3.1 that was delivered with WLS 6.1
              Client -- Netscape 4.75 from Window 2000
              In my WLS 5.1 environment I delivered the applets to
              /opt/weblogic/myserver/applets and my JSPS/HTML to
              /opt/weblogic/myserver/public_html.
              In WLS 6.1 I'm currently working on deploying the application in
              exploded format for debugging. I delivered the jar'd up applets to
              /opt/fedex/crs/currentGUI/applets. The remainder of the application is
              in exploded format under /users/crs/{ApplicationName}.
              /users/crs/{ApplicationName} has the following structure:
              deploy
              META-INF -- Contains an application.xml
              astracons-web -- contains the JSPS/HTML
              WEB-INF
              classes -- contains the compiled servlet classes
              lib -- empty
              astracons-ejb
              META-INF -- deployment descriptors for EJB
              com/.... top level of our package that contains our
              EJB.
              Application appears to work correctly with the exception of the
              applets.
              The applet jar files appear OK (jar tvf and jar xvf function correctly).
              Applet tag in JSP is:
              <applet width="180" height="335"
              codebase="/classes/"
              archive="treetable.jar"
              code="com.scand.treetable.JTreeGridApplet.class"
              CLASSPATH includes /opt/fedex/crs/currentGUI/applets/treetable.jar. Applet tag
              and classpath are
              consistent for the other applet (SelectedLocations).
              When I run the application and access the LocationLookupJSP, the
              SelectedLocations applet appears on the screen and appears to function
              correctly (despite the errors in the java console). The treetable
              applet shows the following error on the status line "Applet
              com.scand.treetable.JTreeGridApplet can't init: NEW". I also get the bad zip file
              format error in the
              console. Java console errors are:
              Netscape Communications Corporation -- Java 1.1.5
              Type '?' for options.
              Symantec Java! ByteCode Compiler Version 210.065
              Copyright (C) 1996-97 Symantec Corporation
              java.io.IOException: bad zip file format
              at netscape.applet.AppletClassLoader.openArchive(Compiled Code)
              at netscape.applet.AppletClassLoader.openArchive(Compiled Code)
              at netscape.applet.AppletClassLoader.<init>(Compiled Code)
              at netscape.applet.AppletClassLoader.getClassLoader(Compiled Code)
              at
              netscape.applet.DerivedAppletFrame$LoadAppletEvent.dispatch(Compiled
              Code)
              at java.awt.EventDispatchThread$EventPump.dispatchEvents(Compiled
              Code)
              at java.awt.EventDispatchThread.run(Compiled Code)
              at
              netscape.applet.DerivedAppletFrame$AppletEventDispatchThread.run(Compiled
              Code)
              # Unable to load archive
              http://dargo.rmtc.fedex.com:7009/classes/SelectedLocations.jar:
              java.io.IOException: bad zip file format
              java.io.IOException: bad zip file format
              at netscape.applet.AppletClassLoader.openArchive(Compiled Code)
              at netscape.applet.AppletClassLoader.getClassLoader(Compiled Code)
              at
              netscape.applet.DerivedAppletFrame$LoadAppletEvent.dispatch(Compiled
              Code)
              at java.awt.EventDispatchThread$EventPump.dispatchEvents(Compiled
              Code)
              at java.awt.EventDispatchThread.run(Compiled Code)
              at
              netscape.applet.DerivedAppletFrame$AppletEventDispatchThread.run(Compiled
              Code)
              java.lang.ArrayIndexOutOfBoundsException
              at java.lang.Throwable.printStackTrace(Compiled Code)
              If I run the AstraconsSummaryReport.jsp everything appears to work correctly
              however the java
              console shows the following errors:
              Netscape Communications Corporation -- Java 1.1.5
              java.io.IOException: bad zip file format
              at netscape.applet.AppletClassLoader.openArchive(Compiled Code)
              at netscape.applet.AppletClassLoader.openArchive(Compiled Code)
              at netscape.applet.AppletClassLoader.<init>(Compiled Code)
              at netscape.applet.AppletClassLoader.getClassLoader(Compiled Code)
              at
              netscape.applet.DerivedAppletFrame$LoadAppletEvent.dispatch(Compiled
              Code)
              at java.awt.EventDispatchThread$EventPump.dispatchEvents(Compiled
              Code)
              at java.awt.EventDispatchThread.run(Compiled Code)
              at
              netscape.applet.DerivedAppletFrame$AppletEventDispatchThread.run(Compiled
              Code)
              # Unable to load archive
              http://dargo.rmtc.fedex.com:7009/classes/treetable.jar:
              java.io.IOException: bad zip file format
              I've searched through the newsgroups and the WLS 6.1 documentation but
              have reached a dead-end. Any help you can provide would be greatly
              appreciated.
              Terry Jahelka
              

    Terry:
              I recommend opening a case with BEA Support. I don't see a simple answer without someone taking
              the time to personally sort this out with you.
              Regards,
              Jim Brown
              Terry Jahelka wrote:
              > I am migrating an application from WLS 5.1 SP 9 to WLS 6.1 SP 1. This
              > application contains several applets and ran without error or problems
              > under WLS 5.1. However I'm seeing strange behaviour/errors under WLS
              > 6.1.
              >
              > Environment:
              >
              > Unix box:
              >
              > Sun Solaris - SunOS dargo 5.6 Generic_105181-28 sun4u sparc
              > SUNW,Ultra-Enterprise
              > Oracle 8.1.7.2
              > JDK 1.3.1 that was delivered with WLS 6.1
              >
              > Client -- Netscape 4.75 from Window 2000
              >
              > In my WLS 5.1 environment I delivered the applets to
              > /opt/weblogic/myserver/applets and my JSPS/HTML to
              > /opt/weblogic/myserver/public_html.
              >
              > In WLS 6.1 I'm currently working on deploying the application in
              > exploded format for debugging. I delivered the jar'd up applets to
              > /opt/fedex/crs/currentGUI/applets. The remainder of the application is
              > in exploded format under /users/crs/{ApplicationName}.
              >
              > /users/crs/{ApplicationName} has the following structure:
              > deploy
              > META-INF -- Contains an application.xml
              > astracons-web -- contains the JSPS/HTML
              > WEB-INF
              > classes -- contains the compiled servlet classes
              > lib -- empty
              > astracons-ejb
              > META-INF -- deployment descriptors for EJB
              > com/.... top level of our package that contains our
              > EJB.
              >
              > Application appears to work correctly with the exception of the
              > applets.
              >
              > The applet jar files appear OK (jar tvf and jar xvf function correctly).
              >
              > Applet tag in JSP is:
              >
              > <applet width="180" height="335"
              > codebase="/classes/"
              > archive="treetable.jar"
              > code="com.scand.treetable.JTreeGridApplet.class"
              >
              > CLASSPATH includes /opt/fedex/crs/currentGUI/applets/treetable.jar. Applet tag
              > and classpath are
              > consistent for the other applet (SelectedLocations).
              >
              > ____________________________________________________________________________________________
              >
              > When I run the application and access the LocationLookupJSP, the
              > SelectedLocations applet appears on the screen and appears to function
              > correctly (despite the errors in the java console). The treetable
              > applet shows the following error on the status line "Applet
              > com.scand.treetable.JTreeGridApplet can't init: NEW". I also get the bad zip file
              > format error in the
              > console. Java console errors are:
              >
              > Netscape Communications Corporation -- Java 1.1.5
              >
              > Type '?' for options.
              >
              > Symantec Java! ByteCode Compiler Version 210.065
              > Copyright (C) 1996-97 Symantec Corporation
              > java.io.IOException: bad zip file format
              > at netscape.applet.AppletClassLoader.openArchive(Compiled Code)
              > at netscape.applet.AppletClassLoader.openArchive(Compiled Code)
              > at netscape.applet.AppletClassLoader.<init>(Compiled Code)
              > at netscape.applet.AppletClassLoader.getClassLoader(Compiled Code)
              > at
              > netscape.applet.DerivedAppletFrame$LoadAppletEvent.dispatch(Compiled
              > Code)
              > at java.awt.EventDispatchThread$EventPump.dispatchEvents(Compiled
              > Code)
              > at java.awt.EventDispatchThread.run(Compiled Code)
              > at
              > netscape.applet.DerivedAppletFrame$AppletEventDispatchThread.run(Compiled
              > Code)
              > # Unable to load archive
              > http://dargo.rmtc.fedex.com:7009/classes/SelectedLocations.jar:
              > java.io.IOException: bad zip file format
              > java.io.IOException: bad zip file format
              > at netscape.applet.AppletClassLoader.openArchive(Compiled Code)
              > at netscape.applet.AppletClassLoader.getClassLoader(Compiled Code)
              > at
              > netscape.applet.DerivedAppletFrame$LoadAppletEvent.dispatch(Compiled
              > Code)
              > at java.awt.EventDispatchThread$EventPump.dispatchEvents(Compiled
              > Code)
              > at java.awt.EventDispatchThread.run(Compiled Code)
              > at
              > netscape.applet.DerivedAppletFrame$AppletEventDispatchThread.run(Compiled
              > Code)
              > java.lang.ArrayIndexOutOfBoundsException
              > at java.lang.Throwable.printStackTrace(Compiled Code)
              >
              > _____________________________________________________________________________________________
              >
              > If I run the AstraconsSummaryReport.jsp everything appears to work correctly
              > however the java
              > console shows the following errors:
              >
              > Netscape Communications Corporation -- Java 1.1.5
              >
              > java.io.IOException: bad zip file format
              > at netscape.applet.AppletClassLoader.openArchive(Compiled Code)
              > at netscape.applet.AppletClassLoader.openArchive(Compiled Code)
              > at netscape.applet.AppletClassLoader.<init>(Compiled Code)
              > at netscape.applet.AppletClassLoader.getClassLoader(Compiled Code)
              > at
              > netscape.applet.DerivedAppletFrame$LoadAppletEvent.dispatch(Compiled
              > Code)
              > at java.awt.EventDispatchThread$EventPump.dispatchEvents(Compiled
              > Code)
              > at java.awt.EventDispatchThread.run(Compiled Code)
              > at
              > netscape.applet.DerivedAppletFrame$AppletEventDispatchThread.run(Compiled
              > Code)
              > # Unable to load archive
              > http://dargo.rmtc.fedex.com:7009/classes/treetable.jar:
              > java.io.IOException: bad zip file format
              >
              > I've searched through the newsgroups and the WLS 6.1 documentation but
              > have reached a dead-end. Any help you can provide would be greatly
              > appreciated.
              >
              > Terry Jahelka
              Jim Brown
              Developer Relations Engineer
              BEA Support
              

Maybe you are looking for

  • How merge query results from joined table into one additional column

    <code> Here is example TABLE A: id | value 1 | a 2 | a 3 | b TABLE B id | id_in_table_a | value 1 | 1 | d 2 | 1 | e 3 | 2 | g </code> this select should get all columns from table A where value = 'a' and all values related to this record from B merge

  • Error using Logminer, Please help !

    I am trying to understand how to use logminer. I have a database (oracle 9.2.0.4)and have completed the following steps: 1) set the UTL_FILE_DIR parameter. 2) Run the dbmslm.sql and dbmslmd.sql scripts 3) Created a directory and a file under that dat

  • HT4664 What is the best graphics card for FCPX?

    In the nonstop anti-FCPX propaganda is an article of interest - posted 7/9/12 - comparing the benchmarks of FCPX and PP6. http://www.streamingmedia.com/Producer/Articles/ReadArticle.aspx?ArticleID=83582 &PageNum=1 The system used was a 2 x 2.93 GHz Q

  • Change the status of the request from Released to un released.

    Dear all Some requests were created with no target system and were released. these requests are to be transported to our Production System. Is there any other way to transport these requests? things I tried. 1. I tried to find the files in Cofile and

  • Migration from SQL Server to Oracle issue

    Hi, While trying to migrate SQL Server to Oracle via Standard Migration method, I got stuck at the point where it says..... To perform online capture, right-click the connection name in the Connections navigator and select Capture database-type (for