Panama_core.zip

I have been having problems getting Portal-to-Go up and running. I have noticed that when I do not include panama_core.zip in the jserv.properties file, test.jsp displays fine and login.jsp gives me a JSP error. If panama_core.zip is included, even test.jsp gives me an Internal Server Error. Does anyone know why this might be?

Hi,
Here are the values I put in my classpath
(in my case it works)
%ORACLE_HOME%\panama\server\classes;
%ORACLE_HOME%\panama\lib\panama_core.zip;
%ORACLE_HOME%\panama\lib\panama_papz.zip;
%ORACLE_HOME%\panama\lib\server.zip;
%ORACLE_HOME%\panama\lib\client.zip;
%ORACLE_HOME%\panama\lib\jndi.jar;
%ORACLE_HOME%\panama\lib\xmlparserv2.jar;
%ORACLE_HOME%\panama\lib\classes111.zip;
%ORACLE_HOME%\panama\lib\ojsp.jar;
%ORACLE_HOME%\panama\lib\servlet.jar;
null

Similar Messages

  • PTG102 for linux: panama_core.zip in wrapper.classpath

    Hi,
    I set some wrapper.classpaths in the jserv.properties as installation guide described. But after restarting apache, the ApacheJserv doesn't work anymore. I try to comment/uncomment each wrapper.classpath line and I find the panama_core.zip in <PTG_HOME>/panama/lib is the reason.
    I use the following command to test panama_core.zip to see if it was corrupted. But it seems to be no problem.
    jar tvf panama_core.zip
    So, what's the problem with this file?
    I use JDK 1.2.2(blackdawn)
    I set the following line in my httpd.conf, so I can see the status from http://myip/status/jserv/
    <Location /status/jserv/>
    SetHandler jserv-status
    Order deny,allow
    Deny from all
    Allow from .mydomain
    </Location>
    Mike Hu

    if you're using ias 8i/9i or rdbms 817
    consider the following :
    Problem Description
    You are trying to call a simple Java Server Page using iAS on Tru64 Unix.
    The call fails with java.lang.NoClassDefFoundError: sun/tools/javac/Main
    Solution Description
    Go to the Jserv configuration directory ($ORACLE_HOME/Apache/Jserv/etc)
    and edit the jserv.properties file.
    Uncomment the following line :
    #wrapper.classpath=/jdk12_home/lib/tools.jar
    Replace jdk12_home with the location of your JDK, typically
    /usr/opt/java122
    If you are using JDK 1.1.X, replace tools.jar with classes.zip
    (e.g. /usr/opt/java118/lib/classes.zip)
    Explanation
    Java Server Pages need to have access to the java compiler, in order
    to generate the servlet from the JSP.
    The JDK is not automatically included in Jserv's classpath

  • Why 9ias WIRELESS seems to be a PANDORA BOX ??

    hi:
    In release notes of my 9ias downloaded documents it says that i have 9ias 1.0.2.2.2
    I've installed Enterprise Edition but i've choose just to configure after instalation forms and reports services.
    What the hell i need to put 9ias Wireless working ?
    I've follow the docs that say that i would have to configure jserv.conf, httpd.conf, jserv.properties, zones.properties, etc! I've configured them well. But i dont have the WIRELESS SCHEMA created on the database. My database is Oracle 9i and OS os Win2k Server.
    How can I invoke the Wizard or run the scripts for my Wireless Schema?
    I also denoted that technet as a new version called 1.0.2.2.2a (look there's a letter in the end... may be it means that was built in the (a)FTERNOON and the 1.0.2.2.2 in the morning...)
    I would like to know WHAT DO I REALLY NEED to put 9ias WE working (acka:portal-to-go ... may be should be called portal-to-leave)
    I'm desperatelly needding help!
    By the way, the thing that i hate most in Oracle is the null documentation! sorry Oracle guys... it's true. jdev, 9ias, etc lacks of docs in some important areas!
    Thankx in advance.
    NOTES:
    My http server is in 9ias home ISUITES
    My oracle9_home deafault http server is de-activated (as recommended)

    MY SERVER INFO'S:
    windows 2000 server
    oracle 9i c:\oracle\ora99
    oracle 9ias c:\oracle\isuites (1.0.2.2.1)
    MY CONFIGURATION FILES INFORMATION
    httpd.conf
    <IfModule mod_alias.c>
    Alias /jservdocs/ "C:\ORACLE\iSuites\Apache/Jserv/docs/"
    Alias /soapdocs/ "C:\ORACLE\iSuites/soap/"
    Alias /icons/ "C:\ORACLE\iSuites\Apache/Apache/icons/"
    # ALIAS FOR WIRELESS
    Alias /portal/ "C:\oracle\iSuites\panama/server/portal/"
    Alias /papz/ "C:\oracle\iSuites\panama/server/papz/"
    Alias /ptgdoc/ "C:\oracle\iSuites\panama/doc/javadoc/"
    jserv.conf
    # Mount point for Servlet zones
    ApJServMount /servlets /root
    ApJServMount /servlet /root
    ApJServMount /dms1 /root
    ApJServMount /ptg /root
    jserv.properties
    wrapper.classpath=C:\ORACLE\iSuites\Apache\jdk\lib\tools.jar
    # WIRELESS after tools.jar as sugested in doc A86701
    wrapper.classpath=C:\ORACLE\iSuites\panama\server\classes
    wrapper.classpath=C:\ORACLE\iSuites\panama\lib\panama.zip
    wrapper.classpath=C:\ORACLE\iSuites\panama\lib\panama_core.zip
    wrapper.classpath=C:\ORACLE\iSuites\panama\lib\panama_portal.zip
    wrapper.classpath=C:\ORACLE\iSuites\panama\lib\panama_papz.zip
    wrapper.classpath=C:\ORACLE\iSuites\panama\lib\client.zip
    wrapper.classpath=C:\ORACLE\iSuites\panama\lib\server.zip
    wrapper.classpath=C:\ORACLE\iSuites\panama\lib\caboshare-opt.zip
    wrapper.classpath=C:\ORACLE\iSuites\panama\lib\marlin-opt.zip
    wrapper.classpath=C:\ORACLE\iSuites\panama\lib\ocelot-opt.zip
    wrapper.classpath=C:\ORACLE\iSuites\panama\lib\share-opt-1_1_7.zip
    wrapper.classpath=C:\ORACLE\iSuites\panama\lib\tecate-opt.zip
    wrapper.classpath=C:\ORACLE\iSuites\panama\lib\regexp.jar
    wrapper.classpath=C:\ORACLE\iSuites\panama\lib\sax2.jar
    wrapper.classpath=C:\ORACLE\iSuites\panama\lib\activation.jar
    wrapper.classpath=C:\ORACLE\iSuites\panama\lib\mail.jar
    wrapper.classpath=C:\ORACLE\iSuites\panama\lib\ldap.jar
    wrapper.classpath=C:\ORACLE\iSuites\panama\lib\ldapbp.jar
    wrapper.classpath=C:\ORACLE\iSuites\panama\lib\providerutil.jar
    wrapper.classpath=C:\ORACLE\iSuites\panama\lib\sdoapi101.jar
    wrapper.classpath=C:\ORACLE\iSuites\panama\lib\sdovis.jar
    wrapper.classpath=C:\ORACLE\iSuites\panama\lib\MapQuestX.jar
    wrapper.classpath=C:\ORACLE\iSuites\panama\lib\MQJavaCore.jar
    wrapper.classpath=C:\ORACLE\iSuites\panama\lib\RoutingJServerClient.jar
    wrapper.classpath=C:\ORACLE\iSuites\panama\lib\jai_codec.jar
    wrapper.classpath=C:\ORACLE\iSuites\panama\lib\jai_core.jar
    wrapper.classpath=C:\ORACLE\iSuites\panama\lib\jpeg_codec.jar
    wrapper.classpath=C:\ORACLE\iSuites\panama\lib\ordimimg.jar
    # end WIRELESS
    wrapper.classpath=C:\ORACLE\iSuites\Apache\Jserv\ApacheJServ.jar
    wrapper.classpath=C:\ORACLE\iSuites\Apache\Jserv\dms2Server.jar
    wrapper.classpath=C:\ORACLE\iSuites\Apache\Jsdk\lib\jsdk.jar
    zone.properties
    # List of Repositories
    repositories=C:\ORACLE\iSuites\Apache\Jserv\servlets,C:\ORACLE\iSuites\panama\server\portal,C:\ORACLE\iSuites\panama\server\papz
    # Startup Servlets
    servlets.startup=oracle.panama.ParmImpl
    # Servlet Aliases
    servlet.rm.code=oracle.panama.ParmImpl
    If anyone can help... please help.

  • Not able to access the Oracle9i wireless edition home page

    We are getting the following error when trying to access the personalization portal(By typing http://<hostname:port>/portal/Login.jsp) on Oracle9i wireless edition.
    Error:
    The requested URL /servlets/oracle.jsp.JspServlet was not found on this server.
    Can anyone please help me with the solution

    Make sure the panama.zip, panama_core.zip , panama_pasm.zip are in the wrapper.classpath in the jserv.properties file. Also cross with the installation guide and verify all the mentioned paths are in wrapper.classpath
    Hope this helps,
    Ranganathan
    [email protected]
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by ravi gitta:
    We are getting the following error when trying to access the personalization portal(By typing http://<hostname:port>/portal/Login.jsp) on Oracle9i wireless edition.
    Error:
    The requested URL /servlets/oracle.jsp.JspServlet was not found on this server.
    Can anyone please help me with the solution<HR></BLOCKQUOTE>
    null

  • Jserv.properties crash APACHE

    Hi:
    After several tests i denoted that THIS SPECIFIC ENTRY IN jserv.properties crash the jserv :
    wrapper.classpath=D:\ORACLE\iSuites\panama\lib\panama.zip
    this entry it's in jserv.properties and crash the jserv and i get this error on apache error_log:
    [Thu May 02 15:39:29 2002] [warn] OPM: EW: Process proteus.adm.ipb.pt:2364 (pid:1980) died, restarting.
    [Thu May 02 15:39:34 2002] [error] OPM: EW: Fails to ping process with pid:2260.
    ... repeated fails
    I have:
    windows 2000 server
    oracle 9i DB NT
    oracle 9ias 1.0.2.2.2a
    i've patched oracle 9ias with oracle 9i rdbms patch 8.1.7.3
    i've patched oracle 9ias portal with patch 3.0.9.8.2
    i've followed instructions in A86701 step by step to configure wireless
    Anyone HERE HELP ??

    * Please check if you've set all the zip files for the panama environment
    * Check jdk installation (reinstall it if you are unsure about the installation) and configure it in your system environment.
    * also check your system environment for the panama dir and the wireless installation.
    * Check if the following lines are in the jsev.properties file:
    wrapper.classpath=C:\jdk131\lib\dt.jar
    wrapper.classpath=C:\jdk131\lib\tools.jar
    wrapper.classpath=C:\jdk131\jre\lib\rt.jar
    # wrapper.classpath=C:\ORACLE\iSuites\Apache\jdk\jre\lib\rt.jar
    # wrapper.classpath=C:\ORACLE\iSuites\Apache\jdk\lib\tools.jar
    wrapper.classpath=C:\ORACLE\iSuites\Apache\Jserv\ApacheJServ.jar
    wrapper.classpath=C:\ORACLE\iSuites\Apache\Jserv\dms2Server.jar
    wrapper.classpath=C:\ORACLE\iSuites\Apache\Jsdk\lib\jsdk.jar
    # The following classpath entries are required to run ASWE (added by TW 25 10 01)
    wrapper.classpath=C:\Oracle\iSuites\panama\server\classes
    wrapper.classpath=C:\Oracle\iSuites\panama\lib\caboshare-opt.zip
    wrapper.classpath=C:\Oracle\iSuites\panama\lib\classes12.zip
    wrapper.classpath=C:\Oracle\iSuites\panama\lib\client.zip
    wrapper.classpath=C:\Oracle\iSuites\panama\lib\jewt-opt-4_0_14.zip
    wrapper.classpath=C:\Oracle\iSuites\panama\lib\marlin-opt.zip
    wrapper.classpath=C:\Oracle\iSuites\panama\lib\ocelot-opt.zip
    wrapper.classpath=C:\Oracle\iSuites\panama\lib\panama.zip
    wrapper.classpath=C:\Oracle\iSuites\panama\lib\panama_core.zip
    wrapper.classpath=C:\Oracle\iSuites\panama\lib\panama_papz.zip
    wrapper.classpath=C:\Oracle\iSuites\panama\lib\panama_portal.zip
    wrapper.classpath=C:\Oracle\iSuites\panama\lib\ojsp.jar
    wrapper.classpath=C:\Oracle\iSuites\panama\lib\servlet.jar
    wrapper.classpath=C:\Oracle\iSuites\panama\lib\jndi.jar
    wrapper.classpath=C:\Oracle\iSuites\panama\lib\xmlparserv2.jar
    wrapper.classpath=C:\Oracle\iSuites\panama\lib\server.zip
    wrapper.classpath=C:\Oracle\iSuites\panama\lib\share-opt-1_1_7.zip
    wrapper.classpath=C:\Oracle\iSuites\panama\lib\tecate-opt.zip
    wrapper.classpath=C:\Oracle\iSuites\panama\lib\sax2.jar
    # The following classpath entries were added to run Mail directory (added by TW 07 11 01)
    wrapper.classpath=C:\Oracle\iSuites\panama\lib\activation.jar
    wrapper.classpath=C:\Oracle\iSuites\panama\lib\ldap.jar
    wrapper.classpath=C:\Oracle\iSuites\panama\lib\ldapbp.jar
    wrapper.classpath=C:\Oracle\iSuites\panama\lib\mail.jar
    wrapper.classpath=C:\Oracle\iSuites\panama\lib\ompim.jar
    wrapper.classpath=C:\Oracle\iSuites\panama\lib\pop3.jar
    wrapper.classpath=C:\Oracle\iSuites\panama\lib\providerutil.jar
    # The following classpath entries are required to run EJBs
    wrapper.classpath=C:\ORACLE\iSuites\lib\aurora_client.jar
    wrapper.classpath=C:\ORACLE\iSuites\lib\vbjorb.jar
    wrapper.classpath=C:\ORACLE\iSuites\lib\vbjapp.jar
    # An environment name with value passed to the JVM
    # Syntax: wrapper.env=[name]=[value] (String)
    # Default: NONE on Unix Systems
    # SystemDrive and SystemRoot with appropriate values on Win32 systems
    wrapper.env=PATH=C:\ORACLE\iSuites\bin

  • Squid+Solaris10 zone+LDAP helpers --- make all problem

    Hi
    I have a blocking problem with the combination in subject.
    I need to run Squid in a Solaris 10 zone with basic auth on ldap dir. server.
    Actually my platform is sun fire x2200 (Amd 64) and Solaris 10 11/06
    with the last patch cluster just applied.
    I just installed from solaris official packages openldap-lib, gcc,
    gcc-runtime-libs, ecc ecc.
    and the source of squid come from the solaris companion cd (formally
    squid-2.5.STABLE7)
    My ./configure is
    bash-3.00# ./configure --prefix="/opt/products/squidOK"
    enable-storeio="null" enable-auth="basic"
    --enable-basic-auth-helpers="LDAP"
    --enable-external-acl-helpers="ldap_group"
    the output gone ok.. and then i run an
    bash-3.00# make all
    so it work for some seconds and then it exit with this output (I APOLOGIZE FOR THE LENGTH OF ATTACHMENT!!):
    Making all in icons
    Making all in errors
    Making all in doc
    Making all in helpers
    Making all in basic_auth
    Making all in LDAP
    source='squid_ldap_auth.c' object='squid_ldap_auth.o' libtool=no \
    depfile='.deps/squid_ldap_auth.Po' tmpdepfile='.deps/squid_ldap_auth.TPo' \
    depmode=gcc3 /bin/sh ../../../cfgaux/depcomp \
    gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -I../../../include -g
    -Wall -c `test -f squid_ldap_auth.c || echo './'`squid_ldap_auth.c
    squid_ldap_auth.c: In function `open_ldap_connection':
    squid_ldap_auth.c:248: error: `LDAP_OPT_SUCCESS' undeclared (first use
    in this function)
    squid_ldap_auth.c:248: error: (Each undeclared identifier is reported only once
    squid_ldap_auth.c:248: error: for each function it appears in.)
    squid_ldap_auth.c:253: warning: implicit declaration of function
    `ldap_start_tls_s'
    *** Error code 1
    make: Fatal error: Command failed for target `squid_ldap_auth.o'
    Current working directory /opt/sfw/src/squid-
    2.5.STABLE7/helpers/basic_auth/LDAP
    *** Error code 1
    The following command caused the error:
    set fnord ; amf=$2; \
    dot_seen=no; \
    target=`echo all-recursive | sed s/-recursive//`; \
    list='LDAP'; for subdir in $list; do \
    echo "Making $target in $subdir"; \
    if test "$subdir" = "."; then \
    dot_seen=yes; \
    local_target="$target-am"; \
    else \
    local_target="$target"; \
    fi; \
    (cd $subdir && make $local_target) \
    || case "$amf" in *=*) exit 1;; k) fail=yes;; *) exit 1;; esac; \
    done; \
    if test "$dot_seen" = "no"; then \
    make "$target-am" || exit 1; \
    fi; test -z "$fail"
    make: Fatal error: Command failed for target `all-recursive'
    Current working directory /opt/sfw/src/squid-2.5.STABLE7/helpers/basic_auth
    *** Error code 1
    The following command caused the error:
    set fnord ; amf=$2; \
    dot_seen=no; \
    target=`echo all-recursive | sed s/-recursive//`; \
    list='basic_auth ntlm_auth digest_auth external_acl'; for subdir in $list; do \
    echo "Making $target in $subdir"; \
    if test "$subdir" = "."; then \
    dot_seen=yes; \
    local_target="$target-am"; \
    else \
    local_target="$target"; \
    fi; \
    (cd $subdir && make $local_target) \
    || case "$amf" in *=*) exit 1;; k) fail=yes;; *) exit 1;; esac; \
    done; \
    if test "$dot_seen" = "no"; then \
    make "$target-am" || exit 1; \
    fi; test -z "$fail"
    make: Fatal error: Command failed for target `all-recursive'
    Current working directory /opt/sfw/src/squid-2.5.STABLE7/helpers
    *** Error code 1
    The following command caused the error:
    set fnord ; amf=$2; \
    dot_seen=no; \
    target=`echo all-recursive | sed s/-recursive//`; \
    list='lib scripts src icons errors doc helpers'; for subdir in $list; do \
    echo "Making $target in $subdir"; \
    if test "$subdir" = "."; then \
    dot_seen=yes; \
    local_target="$target-am"; \
    else \
    local_target="$target"; \
    fi; \
    (cd $subdir && make $local_target) \
    || case "$amf" in *=*) exit 1;; k) fail=yes;; *) exit 1;; esac; \
    done; \
    if test "$dot_seen" = "no"; then \
    make "$target-am" || exit 1; \
    fi; test -z "$fail"
    make: Fatal error: Command failed for target `all-recursive'
    bash-3.00#
    Any Idea??
    A lot of thanks for any useful suggest.
    Fabio

    I don't know the cause, but i have a workaround.
    Extract ParamImpl.class file from
    D:\ORACLE\iSuites\panama\lib\panama_core.zip and put it in D:\ORACLE\iSuites\Apache\Jserv\servlets\oracle\panama
    Type http://<servername>/servlet/oracle.panama.ParamImpl in your browser's location .
    You should be able to access the Request Manager site.

  • Service Designer

    I'm trying to start the servicedesigner and I get the following error
    unable to initialize threads:
    What's missing from my classpath?
    java -classpath .;./classes;./lib/panama_pasm.zip;./lib/classes111.zip;./lib/panama_papz.zip;./lib/panama_core.zip;./lib/server.zip;./lib/client.zip;./lib/%PARSER%;./lib/oraclexmlsql.jar;./lib/jnd i.jar;./lib/jewt-all.jar;%CLASSPATH% oracle.panama.pasm.PASM
    null

    Hi,
    Here are the values I put in my classpath
    (in my case it works)
    %ORACLE_HOME%\panama\server\classes;
    %ORACLE_HOME%\panama\lib\panama_core.zip;
    %ORACLE_HOME%\panama\lib\panama_papz.zip;
    %ORACLE_HOME%\panama\lib\server.zip;
    %ORACLE_HOME%\panama\lib\client.zip;
    %ORACLE_HOME%\panama\lib\jndi.jar;
    %ORACLE_HOME%\panama\lib\xmlparserv2.jar;
    %ORACLE_HOME%\panama\lib\classes111.zip;
    %ORACLE_HOME%\panama\lib\ojsp.jar;
    %ORACLE_HOME%\panama\lib\servlet.jar;
    null

  • Wireless client on pentium 4 9i AS 1.0.2.2.2a

    Hi
    I've finally got the RDBMS and AS running on W2k on a P4, looking to develop a wireless application linked to an Oracle database. I installed the very latest version of the 9i As to counter the installing problems with P4's, I've gone to load the client software, service designer etc, it loads OK but won't run. A DOS window opens momentarily and then closes and thats it!
    Anyone with any idea's or info please? Extremely urgent now.
    Many thanks Michael [email protected]

    Hi,
    I think I know the problem....check your environment settings in the batchfile of the service designer. Be sure to configure your Java runtime environment (JAVA_HOME). You can find the batchfile in:
    ORACLE_HOME\iSuites\panama\ServiceDesigner\run.bat
    For example...if the runtime environment is installed in c:\jdk131 then add the following line:
    set JAVA_HOME=c:\jdk131
    @ECHO OFF
    REM (c) 1999 Oracle Corp. all rights reserved
    REM
    REM $Header: /home/cvsroot/panama/src/pasm/run.bat,v 1.7 1999/10/12 22:39:47 panama Exp $
    REM
    REM PASD launcher script
    REM
    REM Portal-to-Go Service Designer works with JDK 1.2.2
    set JAVA_HOME=c:\jdk131
    set LIB=.\lib
    set PASD_CP=.;.\classes;%LIB%\panama.zip;%LIB%\panama.zip;%LIB%\panama_pasm.zip;%LIB%\panama_core.zip;%LIB%\jewt-opt-4_0_14.zip;%LIB%/sdoapi101.jar;%LIB%/sdovis.jar
    set PASD_CP=%PASD_CP%;%LIB%\share-opt-1_1_7.zip;%LIB%\classes12.zip;%LIB%\xmlparserv2.jar
    set PASD_CP=%PASD_CP%;%LIB%\jndi.jar;%LIB%\server.zip;%LIB%\client.zip;%LIB%\servlet.jar;%LIB%\MapQuestX.jar;%LIB%\MQJavaCore.jar;%LIB%\RoutingJServerClient.jar
    %JAVA_HOME%\bin\java -version
    %JAVA_HOME%\bin\java -classpath %PASD_CP% oracle.panama.pasm.PASM
    REM java -classpath %PASD_CP% oracle.panama.pasm.PASM
    Good luck!

  • OAS 4081 servlet patch

    The p2go installation manual talks about the
    OAS 4081 Servlet patch set . Where would I get it ? I searched in the donwload area on technet, metalink patches section, and I cpould not find it .
    Does the s/w work with OAS 4082 ?
    I appreciate any help

    Here is what I get when try to run the batch file
    E:\Oracle\Ora81\panama\ServiceDesigner>set LIB=.\lib
    E:\Oracle\Ora81\panama\ServiceDesigner>set PASD_CP=.;.\classes;.\lib\panama_pasm
    .zip;.\lib\panama_core.zip;.\lib\jewt-opt-4_0_14.zip
    E:\Oracle\Ora81\panama\ServiceDesigner>set PASD_CP=.;.\classes;.\lib\panama_pasm
    .zip;.\lib\panama_core.zip;.\lib\jewt-opt-4_0_14.zip;.\lib\share-opt-1_1_4.zip;.
    \lib\classes111.zip;.\lib\xmlparserv2.jar
    E:\Oracle\Ora81\panama\ServiceDesigner>set PASD_CP=.;.\classes;.\lib\panama_pasm
    .zip;.\lib\panama_core.zip;.\lib\jewt-opt-4_0_14.zip;.\lib\share-opt-1_1_4.zip;.
    \lib\classes111.zip;.\lib\xmlparserv2.jar;.\lib\jndi.jar;.\lib\server.zip;.\lib\
    client.zip;.\lib\servlet.jar
    E:\Oracle\Ora81\panama\ServiceDesigner>REM \bin\java -classpath .;.\classes;.\li
    b\panama_pasm.zip;.\lib\panama_core.zip;.\lib\jewt-opt-4_0_14.zip;.\lib\share-op
    t-1_1_4.zip;.\lib\classes111.zip;.\lib\xmlparserv2.jar;.\lib\jndi.jar;.\lib\serv
    er.zip;.\lib\client.zip;.\lib\servlet.jar oracle.panama.pasm.PASM
    E:\Oracle\Ora81\panama\ServiceDesigner>java -version
    java version "1.1.6"
    E:\Oracle\Ora81\panama\ServiceDesigner>pause
    Press any key to continue . . .
    Current version of Java is 1.1.6

  • Issue while sending a zipped file from ABAP to JAVA layer

    Hi All,
    I have a requirement wherein i have to zip a xml file in abap, convert it to base64 encoded string and send it to JAVA layer.
    I'm using the class CL_ABAP_ZIP for zipping the xml string and FM "SCMS_BASE64_ENCODE_STR" to convert the zipped data to base64 encoded string.
    But on the JAVA layer we get an exception while unzipping this data.
    Has anybody come across a similar situtation.
    Please help.
    Regards,
    Ankit Agrawal

    Example
    REPORT  Z_PAP_UP_ZIP_DL.
    DATA: L_ZIPPER TYPE REF TO cl_abap_zip.
    DATA: FILEX type XSTRING.
    DATA: FILENAME type string.
    DATA: PATH type string.
    DATA: zip type xstring.
    DATA: FILE_N_TAB type FILETABLE.
    DATA: FULL_PATH type string.
    DATA: FILE_LENGTH type i.
    DATA: FILE_TAB type w3mimetabtype.
    DATA: WA_INT type int4.
    DATA: PATH_TABLE TYPE TABLE of char1024.
    "    Load the file
    "Which file to upload
    CALL METHOD CL_GUI_FRONTEND_SERVICES=>FILE_OPEN_DIALOG
      CHANGING
        FILE_TABLE              = FILE_N_TAB
        RC                      = WA_INT
    "load the (first) file from the frontend the user has selected.
    LOOP at FILE_N_TAB into FULL_PATH.
    "get the file
      CALL METHOD CL_GUI_FRONTEND_SERVICES=>GUI_UPLOAD
         EXPORTING
           FILENAME                = FULL_PATH
           FILETYPE                = 'BIN'
        IMPORTING
          FILELENGTH              = FILE_LENGTH
        CHANGING
          DATA_TAB                = file_tab.
        exit.
    endloop.
    "create xstring from table
    CALL FUNCTION 'SCMS_BINARY_TO_XSTRING'
      EXPORTING
        INPUT_LENGTH       = FILE_LENGTH
      IMPORTING
        BUFFER             = FILEX
      TABLES
        BINARY_TAB         = file_tab
    "get the name of the file. we take entry after the last '\' ...windows.
    SPLIT FULL_PATH AT '\' INTO TABLE PATH_TABLE.
    DESCRIBE TABLE PATH_TABLE LINES WA_INT.
    READ TABLE PATH_TABLE INTO FILENAME INDEX WA_INT.

  • Can I install a 100mb Zip drive in PowerPc G4 Quicksilver?

    I am using a PPC G4 Quicksilver to replace a PPC G3 desktoop. I have a collection of 100MB zips I would like to access. Can I install an internal Zip 100MB drive in the second drive draw in the tower? If yes, ATA or SCSI.
    Thank you,
    Ed Gaiano

    Even if you don't get a bezel it might be a good idea to close the opening. I don't know how closely engineered those computers are to air flow and cooling and leaving off a bezel might change those characteristics. I did something similar on a different model computer once and used foam rubber to pack around the edge. Not pretty I'll admit.

  • Unable to unarchive ZIP file Error - 1

    Every time I try to archive a ZIP file, i get the message "Unable to archive (Error - 1)" How can I fix this?

    I have to agree, the most likely scenario is a bad file. As I mentioned earlier, I don't think there are any Mac utilities for attempting a repair. "Repair" is somewhat vague. If a file is bad it is missing data, and likely this data is critical to the running of the file. If you could repair this file (say, on a PC) you still might end up with a corrupt movie file which might refuse to play. Even if the movie plays it might end early or something.
    Could this possibly be part of a multi-part archive set? The file extension is totally wrong for that but the "05" suggest more than one of something.
    I have also read there are some obscure utilities that do flavors of zip that can't be opened on Macs.

  • I can't update Fiefox since update 10.o1 or 10.02. Every time I try to I get the same message, "7 - ZIP File is missing" I don't know how or where to correct this problem. I'd really appreciate any help that corrects this problem. Thanks sovery much,

    Missing "7-Zip File"
    Hello,
    I haven't been able to update Firefox since 10.01 or 10.02 because every time I try I get the same message the "7-ZIP File" is missing. Then the update fails. I've submitted this problem to Mozilla Firefox and, got an immediate reply of " they are researching your problem".
    Well, you can tell how long that has been. Is there anything I can do, or any where I can go to get the file I need?
    Any constructive help would be very much appreciated! I'm not sure If I'll ever be able to find where this is located. But I do appreciate help just the same.

    It is possible that your anti-virus software is corrupting the downloaded files or otherwise interfering with downloading files by Firefox.<br />
    Disable your anti-virus software temporarily to see if that makes installing work.
    Download a fresh Firefox copy and save the file to the desktop.
    *Firefox 11.0.x: http://www.mozilla.org/en-US/firefox/all.html
    Uninstall your current Firefox version, if possible.
    *Do NOT remove personal data when you uninstall the current version or you lose your bookmarks and other data because all profile folders will be removed.
    Remove the Firefox program folder before installing that newly downloaded copy of the Firefox installer.
    *It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
    *http://kb.mozillazine.org/Uninstalling_Firefox
    Your bookmarks and other profile data are stored elsewhere in the Firefox Profile Folder and won't be affected by a reinstall, but make sure that you do not select to remove personal data if you uninstall Firefox.
    *http://kb.mozillazine.org/Profile_folder_-_Firefox
    *http://kb.mozillazine.org/Profile_backup
    *http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Clean_reinstall

  • Error reading zip file in Java 6

    We have a bespoke installer program that fails, intermittently, in Java 6 on Windows. After installing some files, it then fails with a stack trace like this:
    java.util.zip.ZipException: error reading zip file
         at java.util.zip.ZipFile.read(Native Method)
         at java.util.zip.ZipFile.access$1200(ZipFile.java:29)
         at java.util.zip.ZipFile$ZipFileInputStream.read(ZipFile.java:447)
         at java.util.zip.ZipFile$1.fill(ZipFile.java:230)
         at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:141)
         at java.io.FilterInputStream.read(FilterInputStream.java:90)
         at com.XXXX.trent.installer.Installer.writeStreamToFile(Unknown Source)
         at com.XXXX.trent.installer.Installer.installFile(Unknown Source)
         at com.XXXX.trent.installer.PatchFileInstaller.installFile(Unknown Source)
         at com.XXXX.trent.installer.PatchFileInstaller.installFiles(Unknown Source)
         at com.XXXX.trent.installer.UpgradeInstaller$TpfAction.run(Unknown Source)
         at com.XXXX.trent.installer.UpgradeInstaller.runActions(Unknown Source)
         at com.XXXX.trent.installer.UpgradeInstaller.install(Unknown Source)
         at com.XXXX.trent.installer.TrentInstall$SoftwareInstallStage.install(Unknown Source)
         at com.XXXX.trent.installer.TrentInstall$UpgradeInstallWorker.install(Unknown Source)
         at com.XXXX.trent.installer.PatchInstall$InstallWorker.construct(Unknown Source)
         at com.XXXX.trent.utils.SwingWorker$2.run(Unknown Source)
         at java.lang.Thread.run(Thread.java:619)The same code works in Java 5 on the same environments that it now fails in Java 6 (1.6.0_16).
    Any ideas?
    Thanks.

    gimbal2 wrote:
    it is not weird, it is a bug in the application. Don't let the upgrade from Java 5 to Java 6 make you believe otherwise.It's a singularly bad exception message though. I would have thought that something from java.util might be a bit more explicit about what the problem is.
    Winston

  • Error reading zip file containing an excel file

    Hi all,
    Using servlets I am able to zip an excel file using java.util.zip package. The excel file is created using POI API.
    While I save and extract the zip file on my machine and then open the file in MS Excel. Excel pops a message saying "MS Office Excel has encountered a problem and need to close" and it gives me an option to "Recover my work and restart MS Office Excel". I select the option and then MS Excel does a document recovery and I am able to view my data. I get an excel repair log file saying as follows
    "Microsoft Office Excel File Repair Log
    Errors were detected in file 'C:\Documents and Settings\JohnDoe\Desktop\excel\test.xls'
    The following is a list of repairs:
    Damage to the file was so extensive that repairs were not possible. Excel attempted to recover your formulas and values, but some data may have been lost or corrupted.
    I have attached my servlet code down below I suspect there is a problem with PrintWriter to output or do I need to use OutputStream to write excel data.
    Below is my servlet code:
    import java.io.*;
    import javax.servlet.*;
    import org.apache.log4j.Logger;
    import java.util.*;
    import java.util.zip.*;
    import java.net.*;
    import org.apache.poi.hssf.usermodel.*;
    import org.apache.poi.hssf.record.*;
    import org.apache.poi.hssf.util.*;
    public class ZipServlet extends HttpServlet {
         * @see javax.servlet.http.HttpServlet#doGet(javax.servlet.http.HttpServletRequest,
         * javax.servlet.http.HttpServletResponse)
         public void doGet(HttpServletRequest request, HttpServletResponse response)
              throws ServletException, IOException {
              makeZip(request, response, "GET");
         * @see javax.servlet.http.HttpServlet#doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
         protected void doPost(HttpServletRequest request, HttpServletResponse response)
                   throws ServletException, IOException {
                   makeZip(request, response, "POST");
         public void makeZip(HttpServletRequest request, HttpServletResponse response, String methodGetPost) {
              Logger logger = Logger.getLogger(ZipServlet.class);
              try
                   int id=1;
                   ServletContext sc = getServletContext();
         HttpSession session = request.getSession();          
                   ConnectionPoolManager cpm = (ConnectionPoolManager)sc.getAttribute("CONNECTION_POOL_MANAGER");
                   ConnectionPool cp = cpm.getConnectionPool(id);
              createTestExcelZip(request,response,methodGetPost,session);
              } catch (Exception e2) {
         public void createTestExcelZip(HttpServletRequest request, HttpServletResponse response,
                   String methodGetPost,HttpSession session
                   )throws ServletException, IOException
              Logger logger = Logger.getLogger(ZipServlet.class);
              try
              {      //Create an Excel Workbook and placing value "Test" in the first cell
                   HSSFWorkbook wb = new HSSFWorkbook();
                   HSSFSheet sheet = wb.createSheet("new sheet");
                   HSSFCell cell=null;
                   HSSFRow row = sheet.createRow((short) 0);
                   short column = 0;
                   cell = row.createCell(column);
                   cell.setCellValue(new HSSFRichTextString("Test"));
                   HSSFCellStyle fontStyle = wb.createCellStyle();
              HSSFFont f = wb.createFont();
              f.setFontHeight((short) 200);
              f.setBoldweight(HSSFFont.BOLDWEIGHT_BOLD);
              fontStyle.setFont(f);
              cell.setCellStyle(fontStyle);
              response.setContentType("application/zip");
                   response.setHeader("Content-Disposition","attachment; filename=zipExcelRecordFiles.zip;");
                   int BUFFER = 2048;
                   byte buf[]=new byte[300000];
                   ByteArrayOutputStream baos = new ByteArrayOutputStream();
                   ZipOutputStream zos = new ZipOutputStream( baos );
                   ByteArrayInputStream is = null;
                   BufferedInputStream origin = null;
                   byte[] b = null;
                   String fileName = null;
                   b = wb.getBytes();
                   fileName = "testExcelRecords.xls";
                   try
                   is = new ByteArrayInputStream(b);
                   origin = new BufferedInputStream(is, BUFFER);
                   zos.putNextEntry(new ZipEntry(fileName)); // Add ZIP entry to output stream.
              int count;
              while((count = origin.read(buf, 0, BUFFER)) != -1)
              zos.write(buf, 0, count);
              zos.closeEntry(); // Complete the entry
                   is.close();
                   }catch(Exception e)
                        logger.error(e);
                   zos.close();
              PrintWriter pr = response.getWriter();
                   pr.write(baos.toString("ISO-8859-1"));
                   pr.close();
              catch(Exception e)
              logger.error(e);     
         * @see javax.servlet.GenericServlet#destroy()
         public void destroy() {
    Any help would be appreciated.
    Regards
    jdcunha

    Jdcunha,
    I am new to the field but encountered the same problem and recently found a solution. Hope this helps.
    For my project I wanted to create individual Excel 2003 workbooks for each file I created. Excel would give me the same error it gave you when I used the same HSSFWorkbook object. I tried creating a new Workbook object each time, but ran into the same issue.
    I ended up fixing the error by creating a new instance of my write-to-excel class each time I wanted to create a new workbook, instead of just recreating a new HSSFWorkbook object. It works perfectly and the Excel errors don't show. It may also be important to note I used OutputStream, I did not try it with printwriter.

Maybe you are looking for

  • Can I activate ePrint on my HP Officejet Pro 8500 Premium printer for use with my smartphone​?

    Can I activate ePrint on my HP Officejet Pro 8500 Premium printer for use with my smartphone? Any instructions?

  • Can't use image as link using asfunction for some reason

    I have a pretty large which was coded using AS2 in about 2006 so I'm trying to make a few changes using AS2 which I'm pretty rusty on.  I have a swf which loads an xml file into a textarea in flash and it all works well.  I have to link some images w

  • I lost all my songs when syncing

    When I downloaded the new version I lost all my contacts and all my apps and all my downloaded songs.  I've managed to get everthing else back except for the music.  I had approximately 150 songs.  Any help would be greatly apreciated. Thanks,

  • HELP WITH SHARING PLEASE

    Hi there We have an ipod Classic and 2 ipod shuffles and all our music is saved into itunes on my laptop. We have just bought my parents an ipod Classic and my mum has created her own itunes at her home on her own pc. She would like to copy some of o

  • Jms.bridge.TemporaryResourceException

    Folks,           I would very grateful if anyone has seen this one:           I'm attempting to connect to a remote weblogic server, my bridge destination is configured (as best I can see, correctly, as its a clone of a working environment on another