Keyfiled value FCC iIssue.

Hi All,
How can we avoid or add keyfield Value in resulting XML by using FCC?
Sameer

Hi,
>> How can we avoid or add keyfield Value in resulting XML by using FCC?
You can achieve it by using keyFieldInStructure property in FCC.
<node>.keyFieldInStructure :  ignore
It indicates that the Key field should not be generated in the resulting XML.
<node>.keyFieldInStructure: add
This would indicates that the key field should be added in the resulting XML.
Try with this I'm sure it must work
Abid Mazhar

Similar Messages

  • FCC Nested

    Hi Experts,
    Scenario: File - XI- JMS.  It's field fixed length file and using FCC at both the side. The source and target structure are same.
    For testing purpose we are using File -- XI --- File  (instead of JMS receiver)
    As they were not using KeyField Name and Value in the file, Since the structure seems complex and consists multiple records.
    So we convinced them to use Key filed name and value. 
    I am Refering the follwing blogs and discussion:
    Need sample CSV File & sender FCC
    http://www.riyaz.net/blog/xipi-convert-flat-file-to-deeply-nested-xml-structures-using-only-graphical-mapping/
    Source structure as shown below:
    Root u2013 Occurs 1..unbounded
    HEADER_RECORD u2013 Occurs 1..1
    DETAIL_RECORD_DEPARTMENTS u2013 Occurs 1..unbounded
    ---field1
    ---field2
    ---fieldx
    DETAIL_RECORD_JOBCODES  u2013 Occurs 1..unbounded
    ---field1
    ---field2
    ---fieldx
    DETAIL_RECORD_LOCATIONS u2013 Occurs 1..unbounded
    ---field1
    ---field2
    ---fieldx
    DETAIL_RECORD_ROUTE  u2013 Occurs 1..unbounded
    ---field1
    ---field2
    ---fieldx
    DETAIL_RECORD_STOP u2013 Occurs 1..unbounded
    ---field1
    ---field2
    ---fieldx
    TRAILER_RECORD u2013 Occurs 1..1
    Target structure is as shown below :
    Root u2013 Occurs 1..unbounded
    HEADER_RECORD u2013 Occurs 1..1
    DETAIL_RECORD_DEPARTMENTS u2013 Occurs 1..unbounded
    ---field1
    ---field2
    ---fieldx
    DETAIL_RECORD_JOBCODES  u2013 Occurs 1..unbounded
    ---field1
    ---field2
    ---fieldx
    DETAIL_RECORD_LOCATIONS u2013 Occurs 1..unbounded
    ---field1
    ---field2
    ---fieldx
    DETAIL_RECORD_ROUTE  u2013 Occurs 1..unbounded
    ---field1
    ---field2
    ---fieldx
    DETAIL_RECORD_STOP u2013 Occurs 1..unbounded
    ---field1
    ---field2
    ---fieldx
    TRAILER_RECORD u2013 Occurs 1..1
    Source and target structure are same.
    Requirement:  I need same file structure in the receiver side. Do we need to make any changes in reciver FCC as no Keyfiled value and name parameters are avialable in recv file adapter.
    Later will use JMS receiver instead of File recv adapter. So at JMS recv side will this interface work?
    Please throw some light and help me out in order to acheive this interface sucessfully.
    Sameer

    Mapping is required and mandatory in this scenario so we can't avoid. I have created the structure and FCC part also done at both the side. If mapping not needed, we can ahieve it by using without IR.
    Input file:
    000000001HEADER20100227014824001652
    000000002DEPT  VCC  BELDUMMY  2004-01-01IBelgian Dummy Department     
    000000003DEPT  VCC  ALSS      1901-01-01ALeveranciersopvolging        
    000000679JOBCD 371  AO00011901-01-01AAdm. Onderst. Productie       371  003A  00M
    000000680JOBCD 371  AO00021901-01-01AAdm. Competentie Management   371  003A  00M
    000001394LOCATNVCC6334 2001-03-01IVOLVO BUSINESS AREA 400       BA400     BELJohn Kennedylaan 25
    000001394LOCATNVCC6334 2001-03-01IVOLVO BUSINESS AREA 400       BA400     BELJohn Kennedylaan 25
    000001416ROUTE 031901-01-01ASaksenboom ploeg A           
    000001417ROUTE 041901-01-01ASaksenboom ploeg B   
    000001471STOP  495772004-01-01AWetteren station             
    000001472STOP  495802004-01-01AWetteren overschelde voor    
    000002103TRAILR               
    As the same file we required at the target side. mapping also required so we can't skip.
    As decided to make HEADER,DEPT,JOBCD,LOCATN,ROUTE,STOP,TRAILR as a key field.
    Will it possible as the key field taken from the second posstion of the given structure?
    Recordset Name: Root
    Recordset Structure: HEADER_RECORD,1,DETAIL_RECORD_DEPARTMENTS,,DETAIL_RECORD_JOBCODES,,DETAIL_RECORD_LOCATIONS,,DETAIL_RECORD_FMC_ROUTE_TBL,,DETAIL_RECORD_FMC_STOP_TBL,*,TRAILER_RECORD,1
    Key Filed Name: Key
    HEADER_RECORD.fieldFixedLengths: 9,6,14,6
    HEADER_RECORD.fieldNames:Key,RecordSequenceNumber,FileIdentification,FileCreationTimestamp,FileSequenceNumber
    HEADER_RECORD.keyFieldValue: HEADER
    HEADER_RECORD.keyFieldInStructure: ignore
    HEADER_RECORD.endSeparator: 'nl'
    DETAIL_RECORD_DEPARTMENTS.fieldFixedLengths: 9,6,5,10,10,1,30
    DETAIL_RECORD_DEPARTMENTS.fieldNames:Key,RecordSequenceNumber,DetailRecordType,SetID,DeptID,EffDt,Eff_Status,Descr
    DETAIL_RECORD_DEPARTMENTS.keyFieldValue: DEPT
    DETAIL_RECORD_DEPARTMENTS.keyFieldInStructure: ignore
    DETAIL_RECORD_DEPARTMENTS.endSeparator: 'nl'
    DETAIL_RECORD_JOBCODES.fieldFixedLengths: 9,6,5,6,10,1,30,5,3,3,2,1
    DETAIL_RECORD_JOBCODES.fieldNames: Key,RecordSequenceNumber,DetailRecordType,SetID,JobCode,EffDt,Eff_Status,Descr,Setid_Salary,Sal_Admin_Plan,Grade,Step,Comp_Frequency
    DETAIL_RECORD_JOBCODES.keyFieldValue: JOBCD
    DETAIL_RECORD_JOBCODES.keyFieldInStructure: ignore
    DETAIL_RECORD_JOBCODES.endSeparator: 'nl'
    DETAIL_RECORD_LOCATIONS.fieldFixedLengths: 9,6,3,5,10,1,30,10,3,35,35,35,35,30,6,4,2,30,6,12,11,1
    DETAIL_RECORD_LOCATIONS.fieldNames: Key,RecordSequenceNumber,DetailRecordType,SetID,Location,EffDt,Eff_Status,Descr,DescrShort,Country,Address1,Address2,Address3,Address4,City,Num1,Num2,House_Type,Country1,State,Postal,Geo_Code,In_City_Limit
    DETAIL_RECORD_LOCATIONS.keyFieldValue: LOCATN
    DETAIL_RECORD_LOCATIONS.keyFieldInStructure: ignore
    DETAIL_RECORD_LOCATIONS.endSeparator: 'nl'
    DETAIL_RECORD_FMC_ROUTE_TBL.fieldFixedLengths: 9,6,2,10,1,30
    DETAIL_RECORD_FMC_ROUTE_TBL.fieldNames: Key,RecordSequenceNumber,DetailRecordType,BusRoute,EffDt,Eff_Status,Descr
    DETAIL_RECORD_FMC_ROUTE_TBL.keyFieldValue: ROUTE
    DETAIL_RECORD_FMC_ROUTE_TBL.keyFieldInStructure: ignore
    DETAIL_RECORD_FMC_ROUTE_TBL.endSeparator: 'nl'
    DETAIL_RECORD_FMC_STOP_TBL.fieldFixedLengths: 9,6,2,3,10,1,30
    DETAIL_RECORD_FMC_STOP_TBL.keyFieldValue: STOP
    DETAIL_RECORD_FMC_STOP_TBL.keyFieldInStructure: ignore
    DETAIL_RECORD_FMC_STOP_TBL.fieldNames: RecordSequenceNumber,DetailRecordType,BusRoute,BusStop,EffDt,Eff_Status,Descr
    DETAIL_RECORD_FMC_STOP_TBL.endSeparator: 'nl'
    TRAILER_RECORD.fieldFixedLengths: 9,6,8
    TRAILER_RECORD.fieldNames: Key,RecordSequenceNumber,Identification,TotalNumberOfEmployees
    TRAILER_RECORD.keyFieldValue: TRAILR
    TRAILER_RECORD.keyFieldInStructure: ignore
    ignoreRecordsetName: true

  • Webserver 7 - Keyfile DB authentication - NOT working

    Hello All,
    I have installed Webserver 7.0 on a windows 2000 server machine.
    Everything works fine except the keyfile / user authentication.
    I want to restrict web access of specific folders (URI) to specific users.
    here's what I did;
    1- removed the already created keyfile DB.
    2- created another db (called it authdb). It is a basic keyfile DB, not digest.
    3- created a user, called it user1 and specified a password.
    4- created an ACI below the default and es-internal to Allow all access rights to 'user1' on the URI /folder1 ... from anyplace and continue is enabled.
    when I try to access a file inside that folder xx.xx.xx.xx/folder1/file.zip; I am being asked to authenticate (as expected), and when I do (using user1 and the password I already set), the authentication fails...
    Any ideas?
    Here's all I can see the logs:
    =====
         security      
    [NSACL4340] HTTP5096: ACL_GetAttribute: All attribute getters declined for attr "user" [NSACL4340] HTTP5096: ACL_GetAttribute: All attribute getters declined for attr "isvalid-password" [NSACL6000] HTTP5239: default is not a registered database [NSACL6000] HTTP5239: default is not a registered database
    28/Jun/2007:15:36:09      security      for host 192.168.x.x trying to GET /folder1/, acl-state reports: HTTP5187: access of c:/program files/sun/webserver7/https-vault/docs/folder1/ denied because evaluation of ACL default directive 2 failed
    =====
    Second paragraph looks normal since I could not authenticate.
    Thanks in advance for any help.

    Assuming "authdb" is the name of auth-db you just created and you have created a file of the name "myauthdb" in config directory. server.xml should look like :
    <default-auth-db-name>authdb</default-auth-db-name>
      <auth-db>
        <name>authdb</name>
        <url>file</url>
        <property>
          <name>syntax</name>
          <value>keyfile</value>
        </property>
        <property>
          <name>keyfile</name>
          <value>myauthdb</value>
        </property>
      </auth-db>default.acl should look like:
    version 3.0;
    acl "default";
    authenticate (user, group) {
      prompt = "Sun Java System Web Server";
    allow (read, execute, info) user = "anyone";
    allow (list, write, delete) user = "all";
    acl "es-internal";
    allow (read, execute, info) user = "anyone";
    deny (list, write, delete) user = "anyone";
    acl "uri=/folder1";
    deny (all) user="anyone";
    allow (all) user="user1";Instead of making authdb the default authdb, you can also (optionally) add ACL in the following way :
    acl "uri=/folder1";
    authenticate (user, group) {
      prompt = "Sun Java System Web Server";
      database = "authdb";
    deny (all) user="anyone";
    allow (all) user="user1";

  • File Content Conversion

    Hi All...
    I am facing a Problem with File Content Conversion in sender File Adapter .
    In my scenario file contains 3 rows (nodes ) of Data but actually the structure of the source is with 4 nodes ,if i do the File Content conversion for 4 nodes i am getting an error
    stating 3 rd row is missing...
    Hear i have mentioned Keyfiled value for Each row ...for Each row like ROU,HDR,KLP,CTR
    In the File KLP row is missing ...how can i handel that .. ?
    thanks in Advance
    shakif

    if ur file will have only those 3 key field values Y do u add the 4th key field (i mean the extra row) in the FCC. if u skip that in content conversion what happens?
    in teh source structure for this extra node change the occurance to 0...

  • Error installing Dialog Instance ABAP+JAVA

    Hi,
    We're having a little issue with installation of a ERP dialog instance. The problem is, when the initial
    installation was made, it was a system copy but not in the traditional way, the partner performed a copy
    in OS level (cp -rp .... , etc). Once it was finished, renaming of certain this happended.
    As we can see, DEV was the initial installation (normal way) but QAS and PRD were copies of DEV ( oracle
    schema in PRD is SAPDEV too) this apparently doesn't cause a problem. But now the installer of a dialog
    instance stops with this error:
    PerfTimes : loadNativeLayer: loading jperflib failed. no jperflib in java.library.path
    com.sap.engine.frame.core.configuration.ConfigurationException: Error while connecting to DB.
            at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnectionPool.<init>
    (DBConnectionPool.java:115)
            at com.sap.engine.core.configuration.impl.persistence.rdbms.PersistenceHandler.<init>
    (PersistenceHandler.java:38)
            at com.sap.engine.core.configuration.impl.cache.ConfigurationCache.<init>
    (ConfigurationCache.java:149)
            at com.sap.engine.core.configuration.bootstrap.ConfigurationManagerBootstrapImpl.init
    (ConfigurationManagerBootstrapImpl.java:236)
            at com.sap.engine.core.configuration.bootstrap.ConfigurationManagerBootstrapImpl.<init>
    (ConfigurationManagerBootstrapImpl.java:49)
            at com.sap.engine.configtool.batch.BatchConfig.go(BatchConfig.java:47)
            at com.sap.engine.configtool.batch.BatchConfig.main(BatchConfig.java:83)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:324)
            at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)
    Caused by: com.sap.sql.log.OpenSQLException: Error while accessing secure store: The encryption key
    (usually in the key file) is not the key that is required to decrypt the data in the secure store file or
    the system name (SID) is wrong..
            at com.sap.sql.log.Syslog.createAndLogOpenSQLException(Syslog.java:106)
            at com.sap.sql.log.Syslog.createAndLogOpenSQLException(Syslog.java:145)
            at com.sap.sql.connect.OpenSQLDataSourceImpl.setDataSourceName(OpenSQLDataSourceImpl.java:226)
            at com.sap.sql.connect.OpenSQLDataSourceImpl.setDataSourceName(OpenSQLDataSourceImpl.java:197)
            at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnectionPool.<init>
    (DBConnectionPool.java:112)
            ... 11 more
    Caused by: com.sap.security.core.server.secstorefs.WrongKeyException: The encryption key (usually in the
    key file) is not the key that is required to decrypt the data in the secure store file or the system name
    (SID) is wrong.
            at com.sap.security.core.server.secstorefs.SecStoreFS.openExistingStore(SecStoreFS.java:2017)
            at com.sap.sql.connect.OpenSQLConnectInfo.getStore(OpenSQLConnectInfo.java:802)
            at com.sap.sql.connect.OpenSQLConnectInfo.lookup(OpenSQLConnectInfo.java:783)
            at com.sap.sql.connect.OpenSQLDataSourceImpl.setDataSourceName(OpenSQLDataSourceImpl.java:209)
            ... 13 more
    Caused by: com.sap.security.core.server.secstorefs.InvalidStateException: Internal error during the
    decryption process.
            at com.sap.security.core.server.secstorefs.Crypt.decrypt(Crypt.java:850)
            at com.sap.security.core.server.secstorefs.SecStoreFS.openExistingStore(SecStoreFS.java:1985)
            ... 16 more
    Caused by: javax.crypto.BadPaddingException: Invalid PKCS#5 padding length: 176
            at iaik.security.cipher.s.b(Unknown Source)
            at iaik.security.cipher.w.a(Unknown Source)
            at iaik.security.cipher.w.engineDoFinal(Unknown Source)
            at javax.crypto.Cipher.doFinal(DashoA12275)
            at com.sap.security.core.server.secstorefs.Crypt.decrypt(Crypt.java:825)
            ... 17 more
    Error while connecting to DB.
    The error occurs when the installer tries to connect to oracle via jdbc, but the files
    SecStore.properties and SecStore.key are from DEV, and they were created with the values of DEV, so when
    the installer tries with PRD as central instance name, it doesn't work, how can we recreate this files or
    reconfigure the j2ee engine so the installer can connect and finish installation ?
    Thanks in advance

    Exactly, the problem is when the installer tries to execute the following:
    /usr/j2se/bin/java -classpath /tmp/sapinst_instdir/ERP/LM/AS/ORA/DI/install/shar
    edlib/launcher.jar -Xmx256m -d64 -d64 com.sap.engine.offline.OfflineToolStart co
    m.sap.engine.configtool.batch.BatchConfig /usr/sap/PRD/SYS/global/security/lib/t
    ools/iaik_jce.jar:/usr/sap/PRD/SYS/global/security/lib/tools/iaik_jsse.jar:/usr/
    sap/PRD/SYS/global/security/lib/tools/iaik_smime.jar:/usr/sap/PRD/SYS/global/sec
    urity/lib/tools/iaik_ssl.jar:/usr/sap/PRD/SYS/global/security/lib/tools/w3c_http
    .jar:/tmp/sapinst_instdir/ERP/LM/AS/ORA/DI/install/lib:/tmp/sapinst_instdir/ERP/
    LM/AS/ORA/DI/install/sharedlib:/oracle/client/10x_64/instantclient/ojdbc14.jar /
    tmp/sapinst_instdir/ERP/LM/AS/ORA/DI/BatchConfig.xml
    The file /tmp/sapinst_instdir/ERP/LM/AS/ORA/DI/BatchConfig.xml has this:
    <?xml version='1.0' encoding='UTF-8'?>
    <!DOCTYPE config [
    <!ELEMENT config (dbproperties, task*)>
       <!ELEMENT dbproperties (property*)>
       <!ELEMENT task (property*)>
         <!ATTLIST task name CDATA #REQUIRED>
       <!ELEMENT property (#PCDATA)>
         <!ATTLIST property key CDATA #REQUIRED>
         <!ATTLIST property value CDATA #REQUIRED>
    ]>
    <config>
      <dbproperties>
        <property key="rdbms.maximum_connections" value="5"/>
        <property key="system.name" value="PRD"/>
        <property key="secstorefs.keyfile" value="/sapmnt/PRD/global/security/data/S
    ecStore.key"/>
        <property key="secstorefs.secfile" value="/sapmnt/PRD/global/security/data/S
    ecStore.properties"/>
        <property key="secstorefs.lib" value="/sapmnt/PRD/global/security/lib"/>
        <property key="rdbms.driverLocation" value="/oracle/client/10x_64/instantcli
    ent/ojdbc14.jar"/>
        <property key="rdbms.connection" value="jdbc/pool/PRD"/>
        <property key="rdbms.initial_connections" value="1"/>
    As you can see the are values "system.name" with PRD. This cause an error:
    PerfTimes : loadNativeLayer: loading jperflib failed. no jperflib in java.library.path
    com.sap.engine.frame.core.configuration.ConfigurationException: Error while connecting to DB.
            at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnectionPool.<init>(DBConnectionPool.java:115)
            at com.sap.engine.core.configuration.impl.persistence.rdbms.PersistenceHandler.<init>(PersistenceHandler.java:38)
            at com.sap.engine.core.configuration.impl.cache.ConfigurationCache.<init>(ConfigurationCache.java:149)
            at com.sap.engine.core.configuration.bootstrap.ConfigurationManagerBootstrapImpl.init(ConfigurationManagerBootstrapImpl.java:236)
            at com.sap.engine.core.configuration.bootstrap.ConfigurationManagerBootstrapImpl.<init>(ConfigurationManagerBootstrapImpl.java:49)
            at com.sap.engine.configtool.batch.BatchConfig.go(BatchConfig.java:47)
            at com.sap.engine.configtool.batch.BatchConfig.main(BatchConfig.java:83)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:324)
            at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)
    Caused by: com.sap.sql.log.OpenSQLException: Error while accessing secure store: The encryption key (usually in the key file) is not the key that is required to decrypt the data in the secure store file or the system name (SID) is wrong..
            at com.sap.sql.log.Syslog.createAndLogOpenSQLException(Syslog.java:106)
            at com.sap.sql.log.Syslog.createAndLogOpenSQLException(Syslog.java:145)
            at com.sap.sql.connect.OpenSQLDataSourceImpl.setDataSourceName(OpenSQLDataSourceImpl.java:226)
            at com.sap.sql.connect.OpenSQLDataSourceImpl.setDataSourceName(OpenSQLDataSourceImpl.java:197)
            at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnectionPool.<init>(DBConnectionPool.java:112)
            ... 11 more
    Caused by: com.sap.security.core.server.secstorefs.WrongKeyException: The encryption key (usually in the key file) is not the key that is required to decrypt the data in the secure store file or the system name (SID) is wrong.
            at com.sap.security.core.server.secstorefs.SecStoreFS.openExistingStore(SecStoreFS.java:2017)
            at com.sap.sql.connect.OpenSQLConnectInfo.getStore(OpenSQLConnectInfo.java:802)
            at com.sap.sql.connect.OpenSQLConnectInfo.lookup(OpenSQLConnectInfo.java:783)
            at com.sap.sql.connect.OpenSQLDataSourceImpl.setDataSourceName(OpenSQLDataSourceImpl.java:209)
            ... 13 more
    Caused by: com.sap.security.core.server.secstorefs.InvalidStateException: Internal error during the decryption process.
            at com.sap.security.core.server.secstorefs.Crypt.decrypt(Crypt.java:850)
            at com.sap.security.core.server.secstorefs.SecStoreFS.openExistingStore(SecStoreFS.java:1985)
            ... 16 more
    Caused by: javax.crypto.BadPaddingException: Invalid PKCS#5 padding length: 176
            at iaik.security.cipher.s.b(Unknown Source)
            at iaik.security.cipher.w.a(Unknown Source)
            at iaik.security.cipher.w.engineDoFinal(Unknown Source)
            at javax.crypto.Cipher.doFinal(DashoA12275)
            at com.sap.security.core.server.secstorefs.Crypt.decrypt(Crypt.java:825)
            ... 17 more
    The same as configtool with PRD value.
    So can we change the system.name value to PRD and is there a posibility to change the encpytion key so it can be used with PRD value ??
    My theory is: The SecStore.key file is used to decript the SecStore.properties but the system.name value plays an important role in decryption, am I right??
    Can I regenerate the key with the system.name = PRD so the error solves??
    Regards.

  • Oracle iplanet configuration problem

    I am trying to run a batch script through the web server. But I get this error. The same configuration runs on Sun one 6.1 , but did not work since I migrated to 7 Update 9.
    [14/Dec/2010:17:39:31] info ( 9240): CORE3274: successful server startup
    [14/Dec/2010:17:39:54] failure ( 9240): for host 127.0.0.1 trying to GET /se/restart-81.bat, cgi_scan_headers reports: HTTP4044: the CGI program E:\path\RESTAR~4.BAT did not produce a valid header (program terminated without a valid CGI header. Check for core dump or other abnormal termination)
    [14/Dec/2010:17:39:54] warning ( 9240): for host 127.0.0.1 trying to GET /se/restart-81.bat, E:\path\RESTAR~4.BAT reports: CORE4385: stderr: The filename, directory name, or volume label syntax is incorrect.
    obj.conf:
    # Use only forward slashes in pathnames--backslashes can cause
    # problems. See the documentation for more information.
    <Object name="default">
    #AuthTrans fn="match-browser" browser="*MSIE*" ssl-unclean-shutdown="true"
    #NameTrans fn="ntrans-j2ee" name="j2ee"
    NameTrans fn="pfx2dir" from="/mc-icons" dir="E:/Sun/WebServer7/lib/icons" name="es-internal"
    NameTrans from="/se" fn="pfx2dir" dir="e:/path" name="shellcgi"
    NameTrans fn=document-root root="e:/admin"
    PathCheck fn="uri-clean"
    PathCheck fn="check-acl" acl="default"
    PathCheck fn=find-pathinfo
    PathCheck fn=find-index index-names="index.html,home.html,index.jsp"
    ObjectType fn=type-by-extension
    ObjectType fn=force-type type=text/plain
    Service method=(GET|HEAD) type=magnus-internal/imagemap fn=imagemap
    #Service method=(GET|HEAD) type=magnus-internal/directory fn=index-common
    Service fn="send-shellcgi" type="magnus-internal/shellcgi"
    Service method=(GET|HEAD|POST) type=*~magnus-internal/* fn=send-file
    Service method=TRACE fn=service-trace
    #Error fn="error-j2ee"
    AddLog fn="flex-log"
    </Object>
    <Object name="cgi">
    ObjectType fn=force-type type=magnus-internal/cgi
    Service fn=send-cgi
    </Object>
    <Object name="shellcgi">
    ObjectType fn="force-type" type="magnus-internal/shellcgi"
    Service fn="send-shellcgi"
    </Object>
    server.xml :
    <?xml version="1.0" encoding="UTF-8"?>
    <!--
    Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
    -->
    <server>
    <temp-path>C:/Windows/TEMP/httpd-se-809-fda731df</temp-path>
    <access-log>
    <file>E:/netscape_logs/access_hb809</file>
    <format>%Ses->client.ip% - %Req->vars.auth-user% [%SYSDATE%] "%Req->reqpb.clf-request%" %Req->srvhdrs.clf-status% %Req->srvhdrs.content-length% "%Req->headers.referer%" "%Req->headers.user-agent%" %Req->reqpb.method% %Req->reqpb.uri% %Req->reqpb.query% "%Req->reqpb.protocol%"</format>
    </access-log>
    <http-listener>
    <name>ls1</name>
    <port>811</port>
    <server-name>https-httpd-se-809</server-name>
    <default-virtual-server-name>https-httpd-se-809</default-virtual-server-name>
    </http-listener>
    <dns-cache>
    <enabled>false</enabled>
    </dns-cache>
    <stats>
    <enabled>false</enabled>
    </stats>
    <file-cache>
    <enabled>false</enabled>
    <max-age>30</max-age>
    <max-entries>1024</max-entries>
    <sendfile>false</sendfile>
    <copy-files>true</copy-files>
    <copy-path>C:/Windows/TEMP/httpd-se-809-file-cache</copy-path>
    <cache-content>false</cache-content>
    </file-cache>
    <http>
    <server-header>""</server-header>
    </http>
    <dns>
    <enabled>false</enabled>
    </dns>
    <thread-pool>
    <max-threads>128</max-threads>
    </thread-pool>
    <event>
    <time>
    <time-of-day>00:00</time-of-day>
    </time>
    <interval>86400</interval>
    <rotate-access-log>true</rotate-access-log>
    <rotate-log>true</rotate-log>
    </event>
    <virtual-server>
    <name>https-httpd-se-809</name>
    <host>httpd-se-809</host>
    <http-listener-name>ls1</http-listener-name>
    <object-file>obj.conf</object-file>
    <search-app>
    <uri>/search</uri>
    </search-app>
    <document-root>e:/admin</document-root>
    </virtual-server>
    <mime-file>mime.types</mime-file>
    <auth-db>
    <name>default</name>
    <url>null:///none</url>
    </auth-db>
    <jvm>
    <java-home>E:/Sun/WebServer7/jdk</java-home>
    <server-class-path>E:/Sun/WebServer7/lib/webserv-rt.jar;E:/Sun/WebServer7/lib/pwc.jar;E:/Sun/WebServer7/lib/ant.jar;${java.home}/lib/tools.jar;E:/Sun/WebServer7/lib/ktsearch.jar;E:/Sun/WebServer7/lib/webserv-jstl.jar;E:/Sun/WebServer7/lib/jsf-impl.jar;E:/Sun/WebServer7/lib/jsf-api.jar;E:/Sun/WebServer7/lib/webserv-jwsdp.jar;E:/Sun/WebServer7/lib/container-auth.jar;E:/Sun/WebServer7/lib/mail.jar;E:/Sun/WebServer7/lib/activation.jar</server-class-path>
    <debug>false</debug>
    <debug-jvm-options>-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=7896</debug-jvm-options>
    <jvm-options>-Djava.security.auth.login.config=login.conf</jvm-options>
    <jvm-options>-Xms128m -Xmx256m</jvm-options>
    </jvm>
    <servlet-container>
    <dynamic-reload-interval>-1</dynamic-reload-interval>
    <anonymous-role>ANYONE</anonymous-role>
    </servlet-container>
    <cluster>
    <local-host>cafrfd1attplw01.itservices.sbc.com</local-host>
    <instance>
    <host>cafrfd1attplw01.itservices.sbc.com</host>
    </instance>
    </cluster>
    <log>
    <log-level>info</log-level>
    <log-file>E:/NetScape_Logs/errors-se-809</log-file>
    </log>
    <variable>
    <name>dir</name>
    <value/>
    </variable>
    <variable>
    <name>nice</name>
    <value/>
    </variable>
    <variable>
    <name>group</name>
    <value/>
    </variable>
    <variable>
    <name>chroot</name>
    <value/>
    </variable>
    <variable>
    <name>accesslog</name>
    <value>E:/Netscape_Logs/access_se809</value>
    </variable>
    <variable>
    <name>user</name>
    <value/>
    </variable>
    <auth-realm>
    <name>file</name>
    <class>com.iplanet.ias.security.auth.realm.file.FileRealm</class>
    <property>
    <name>file</name>
    <value>E:/Sun/WebServer7/https-httpd-se-809/config/keyfile</value>
    </property>
    <property>
    <name>jaas-context</name>
    <value>fileRealm</value>
    </property>
    </auth-realm>
    <auth-realm>
    <name>native</name>
    <class>com.iplanet.ias.security.auth.realm.webcore.NativeRealm</class>
    <property>
    <name>jaas-context</name>
    <value>nativeRealm</value>
    </property>
    </auth-realm>
    <auth-realm>
    <name>ldap</name>
    <class>com.iplanet.ias.security.auth.realm.ldap.LDAPRealm</class>
    <property>
    <name>directory</name>
    <value>ldap://localhost:389</value>
    </property>
    <property>
    <name>base-dn</name>
    <value>o=isp</value>
    </property>
    <property>
    <name>jaas-context</name>
    <value>ldapRealm</value>
    </property>
    </auth-realm>
    <default-auth-realm-name>native</default-auth-realm-name>
    <audit-accesses>false</audit-accesses>
    </server>

    you could look to see if the server returned any useful information within the log file . also, you could increase the server log level to fine to get more information.

  • Excessive processing time for PROPFIND requests

    hi,
    i'm running web server 7.0U3 on Solaris 10 U5 (64-bit x86). in the 'perfdump' output, i see many PROPFIND requests for various files. for example, there are currently 324 'active sessions', of which about a third are PROPFIND - and many of these have been running for 60 seconds or more. according to the server error log, these are denied by the ACL:
    [03/Nov/2008:17:10:54] security (18304): for host x.x.x.x trying to PROPFIND <URL to file>, acl-state reports: HTTP5191: access of <path to file> denied by ACL default directive 2
    we don't use DAV and i have no interest in these requests, so being denied is not a problem. however, it seems to me the server is taking an excessive amount of time to deny them; i would assume, if they're denied by the ACL in PathCheck, that the response should be quick.
    (the number of active PROPFINDs varies; after reloading perfdump, there are 154 active sessions, of which only four are PROPFINDs; but all have been running at least 4 seconds.)
    how can i work out what's going on here - and more importantly, fix it (if there's a problem)?

    mv,
    here is the obj.conf for the virtual server:
    <Object name="default">
            NameTrans fn="assign-name" from="/scripts/*" name="scripts"
            NameTrans fn="pfx2dir" from="/private" dir="/export/upload/fake-private"
            PathCheck fn="uri-clean"
            PathCheck fn="check-acl" acl="default"
            ObjectType fn="type-by-extension"
            ObjectType fn="force-type" type="text/plain"
            NameTrans fn="assign-name" from="/.perfdump" name="perfdump"
            <Client uri="*(.inc|\\~)$">
                    Service fn="deny-existence"
            </Client>
            <Client uri="/.zfs/*">
                    Service fn="deny-existence"
            </Client>
            Service method="POST" type="*~magnus-internal/*" fn="send-file" bucket="file-bucket"
            <If -f $path>
                    Service method="(HEAD|GET)" type="*~magnus-internal/*" fn="send-file" bucket="file-bucket"
            </If>
            <Else>
                    Service fn="restart" uri="/scripts/thumb-handler.php" bucket="missing-file-bucket"
            </Else>
    </Object>
    <Object name="es-internal">
            PathCheck fn="check-acl" acl="es-internal"
    </Object>
    <Object name="scripts">
            Service fn="responder-fastcgi" type="application/x-php" app-path="/opt/php/bin/php-cgi" min-procs="25" bucket="php-bucket"
    </Object>
    <Object name="perfdump">
    Service fn="service-dump"
    </Object>and here is the ACL:
    version 3.0;
    acl "es-internal";
    allow (read,execute,info)
        user = "anyone";
    deny (list,write,delete)
        user = "anyone";
    acl "default";
    authenticate (user,group) {
            method = "basic";
            prompt = "Sun Java System Web Server";
    allow (read,execute,info)
        user = "anyone";
    deny (list,write,delete)
            user = "anyone";server.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <!--
      Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
      Use is subject to license terms.
    -->
    <server>
      <cluster>
        <local-host>ms1</local-host>
        <instance>
          <host>ms1</host>
        </instance>
      </cluster>
      <log>
        <log-file>/var/log/http/errors</log-file>
        <log-stdout>false</log-stdout>
        <log-level>info</log-level>
      </log>
      <temp-path>/tmp/https-ms1-5351d5c9</temp-path>
      <user>apache</user>
      <file-cache>
        <enabled>false</enabled>
        <sendfile>true</sendfile>
        <cache-content>false</cache-content>
      </file-cache>
      <default-auth-db-name>keyfile</default-auth-db-name>
      <auth-db>
        <name>keyfile</name>
        <url>file</url>
        <property>
          <name>syntax</name>
          <value>keyfile</value>
        </property>
        <property>
          <name>keyfile</name>
          <value>keyfile</value>
        </property>
      </auth-db>
      <acl-file>default.acl</acl-file>
      <mime-file>mime.types</mime-file>
      <access-log>
        <enabled>false</enabled>
        <file>/var/log/http/access</file>
      </access-log>
      <http-listener>
        <name>http-listener-1</name>
        <port>80</port>
        <server-name>ms1</server-name>
        <default-virtual-server-name>ms1</default-virtual-server-name>
      </http-listener>
      <virtual-server>
        <name>ms1</name>
        <http-listener-name>http-listener-1</http-listener-name>
        <host>ms1</host>
        <object-file>ms1-obj.conf</object-file>
        <document-root>/export/upload</document-root>
      </virtual-server>
      <event>
        <time>
          <time-of-day>03:00</time-of-day>
        </time>
        <rotate-access-log>false</rotate-access-log>
        <rotate-log>true</rotate-log>
      </event>
      <dav>
        <enabled>false</enabled>
      </dav>
      <thread-pool>
        <min-threads>64</min-threads>
        <max-threads>512</max-threads>
      </thread-pool>
    </server>i wrote a small C program to send a PROPFIND request then immediately drop the connection. i ran it a few times, but i couldn't get a 'stuck' entry in perfdump. however, the server is currently fairly idle; i'll try this again at a busier time, which is when i saw the problem originally.

  • Condtion check in txt to xml

    hi
    experts
    whlie converting txt file to xml i need check the keyfiled value of three fileds .if doesnt match we need rise execption .
    i tested with given keyfiledvalues is wrong in my source txt file .just it skiping worng keyfiled value records.
    how can i achvie this there is any technigue in content conversion or how can i do this?
    thanks&regards
    kumar narendra

    Hey
    have a look at the following,
    /people/michal.krawczyk2/blog/2007/04/26/xipi-throwing-generic-exceptions-from-any-type-of-mapping
    also have a look at the following
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step
    thanx
    ahmad
    Message was edited by:
            Ahmad

  • ACE full URL redirect

    Hi,
    I have ACE 4710. My users will be accessing website
    www.fcc.com which is mapped to VIP in DNS.
    My requirement is that when users access www.fcc.com then ACE should redirect the URL to the following ones
    Dear Team,
                   Kindly create an new website with the below mentioned details.
    Sitename : www.fcc.com
    Ip address: 10.52.7.198
                   The above mentioned ip address will be given for load balancer. The urls to be mapped in load balancer is given below.
    http://chfccapp01.kvbad.com:9001/forms/frmservlet?config=FCCPROD
    http://chfccapp02.kvbad.com:9001/forms/frmservlet?config=FCCPROD
    Is it possible in ACE. Below is the config which I have planned to deploy.
    probe tcp port9001
      port 9001
      interval 5
      passdetect interval 5
      connection term forced
    rserver host FCC-APP-WEB1
      ip address 10.52.7.196
      inservice
    rserver host FCC-APP-WEB2
      ip address 10.52.7.197
      inservice
    rserver redirect FCC-Redirect1
    webhost-redirection http://chfccapp01.kvbad.com:9001/forms/frmservlet?config=FCCPROD 301
    inservice
    rserver redirect FCC-Redirect2
    webhost-redirection http://chfccapp02.kvbad.com:9001/forms/frmservlet?config=FCCPROD 301
    inservice
    serverfarm host FCC-Dynamic-SF
      description *** FCC Dynamic ServerFarm ***
      probe port10870
      rserver FCC-APP-WEB1
        inservice
      rserver FCC-APP-WEB2
        inservice
    serverfarm redirect FCC-App-Redirect
    rserver FCC-Redirect1
      inservice
    rserver FCC-Redirect2
      inservice
    class-map type http loadbalance match-any FCC-Redirect
    2 match http header Host header-value "fcc"
    class-map match-any FCC-Redirect-VIP
    2 match virtual-address 10.52.7.198 tcp any
    policy-map type loadbalance first-match FCC-APP
    class FCC-Redirect
      serverfarm FCC-App-Redirect
    policy-map multi-match PM-MULTI-MATCH
    class FCC-Redir-VIP
      loadbalance vip inservice
      loadbalance policy IDAM-REDIR
      loadbalance vip icmp-reply
      Is the config right. The customer is ready to change any URL name or the config to make it work.

    Hi Kanwal,
    I got that URL copied as it is with ? included as per you suggestion. Then I came to know that ACE cannot redirect to two different URLs so I changed it only one URL.
    Old Config :
    Earlier there were two URLs with two redirect servers.
    rserver redirect FCC-Redirect1
    webhost-redirection http://chfccapp01.kvbad.com:9001/forms/frmservlet?config=FCCPROD 301
    inservice
    rserver redirect FCC-Redirect2
    webhost-redirection http://chfccapp02.kvbad.com:9001/forms/frmservlet?config=FCCPROD 301
    inservice
    serverfarm redirect FCC-App-Redirect
      rserver FCC-Redirect1
        inservice
      rserver FCC-Redirect2
        inservice
    New Config:
    rserver redirect FCC-Redirect1
    webhost-redirection http://chfccapp01.kvbad.com:9001/forms/frmservlet?config=FCCPROD 301
    inservice
    serverfarm redirect FCC-App-Redirect
      rserver FCC-Redirect1
        inservice
    After this config change, ACE is not redirecting traffic to the real servers but only handing over the redirect URL "http://chfccapp01.kvbad.com:9001/forms/frmservlet?config=FCCPROD" to the client. When the client access www.fcc.com, his webpage is redirected to the above URL and then he direclty hits the real server as the redirected URL is mapped to real server IP in DNS. This means that I will have to give direct access to server on port 9001. This behaviour is not which I want. Is this how the URL redirect works?? I am bit naive on this type of ACE config.
    I want the client to access www.fcc.com port 80 which should then be redirected to the URL running on real servers on port 9001. The real server should then respond back to VIP on port 80  and then VIP should return the traffic to the client.
    Is it possible? Attaching the running config

  • WS7/Comms Express Compilation problem

    I am just doing an implementation of the JES5 comms suite on WS7 and am getting the following error after logging in. Two questions:
    1) Could someone send me a working server.xml (with the right classpath)
    2) Has anyone else seen this error.
    Web server Version
    [24/May/2007:10:46:20] info (25597): CORE1116: Sun Java System Web Server 7.0 B12/04/2006 10:15
    [24/May/2007:10:46:21] info (25598): CORE5076: Using [Java HotSpot(TM) Server VM, Version 1.5.0_09] from [Sun Microsystems Inc.]
    JVM version
    /var/opt/SUNWwbsvr7/https-ce2.mail.uwo.pri/logs
    [9:56am ce2]# /usr/jdk/latest/bin/javac -version
    javac 1.5.0_09
    Error message
    Application Error
    org.apache.jasper.JasperException: PWC6033: Unable to compile class for JSP
    PWC6199: Generated servlet error:
    /var/opt/SUNWwbsvr7/https-ce2.mail.uwo.pri/generated/ce2.mail.uwo.pri/uwc/org/apache/jsp/uwc/mailclient/mail_jsp.java:306: jspxmeth_jato_text_0(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext) in org.apache.jsp.uwc.mailclient.mail_jsp cannot be applied to (com.iplanet.jato.taglib.UseViewBeanTag,javax.servlet.jsp.PageContext)
    if (_jspx_meth_jato_text_0(_jspx_th_jato_useViewBean_0, jspxpage_context))
    ^
    Note: /var/opt/SUNWwbsvr7/https-ce2.mail.uwo.pri/generated/ce2.mail.uwo.pri/uwc/org/apache/jsp/uwc/mailclient/mail_jsp.java uses unchecked or unsafe operations.
    PWC6199: Generated servlet error:
    Note: Recompile with -Xlint:unchecked for details.
    1 error

    I can send this to you offline if that makes it simpler.
    From WS 7/JCS 5 installation on Solaris 10 Update 3 11/06
    <?xml version="1.0" encoding="UTF-8"?>
    <!--
    Copyright 2006 Sun Microsystems, Inc. All rights reserved.
    Use is subject to license terms.
    -->
    <server>
    <cluster>
    <local-host>homer.cityofprescott.org</local-host>
    <instance>
    <host>homer.cityofprescott.org</host>
    </instance>
    </cluster>
    <log>
    <log-file>../logs/errors</log-file>
    <log-level>info</log-level>
    </log>
    <temp-path>/tmp/https-homer.cityofprescott.org-2fe52e21</temp-path>
    <user>webservd</user>
    <jvm>
    <java-home>/usr/jdk/entsys-j2se</java-home>
    <server-class-path>/opt/SUNWwbsvr7/lib/webserv-rt.jar:/opt/SUNWwbsvr7/lib/pwc.jar:${java.home}/lib/tools.jar:/opt/SUNWwbsvr7/lib
    /webserv-jstl.jar:/opt/SUNWwbsvr7/lib/container-auth.jar:/opt/SUNWwbsvr7/lib/jsf-impl.jar:/opt/SUNWwbsvr7/lib/jsf-api.jar:/usr/sfw/l
    ib/ant/ant.jar:/usr/share/lib/ktsearch.jar:/opt/SUNWjax/share/lib/jaxws-api.jar:/opt/SUNWjax/share/lib/jaxws-rt.jar:/opt/SUNWjax/sha
    re/lib/jaxws-tools.jar:/opt/SUNWjax/share/lib/jsr181-api.jar:/opt/SUNWjax/share/lib/jsr250-api.jar:/opt/SUNWjax/share/lib/jaxb-api.j
    ar:/opt/SUNWjax/share/lib/jaxb-impl.jar:/opt/SUNWjax/share/lib/jaxb-xjc.jar:/opt/SUNWjax/share/lib/sjsxp.jar:/opt/SUNWjax/share/lib/
    jsr173_api.jar:/opt/SUNWjax/share/lib/saaj-api.jar:/opt/SUNWjax/share/lib/saaj-impl.jar:/opt/SUNWjax/share/lib/xmldsig.jar:/opt/SUNW
    jax/share/lib/xmlsec.jar:/opt/SUNWjax/share/lib/xws-security.jar:/opt/SUNWjax/share/lib/xws-security_jaxrpc.jar:/opt/SUNWjax/share/l
    ib/wss-provider-update.jar:/opt/SUNWjax/share/lib/security-plugin.jar:/opt/SUNWjax/share/lib/FastInfoset.jar:/opt/SUNWjax/share/lib/
    relaxngDatatype.jar:/opt/SUNWjax/share/lib/resolver.jar:/usr/share/lib/mail.jar:/usr/share/lib/activation.jar</server-class-path>
    <class-path-suffix>:/opt/SUNWam/lib/xmlsec.jar:/usr/share/lib/endorsed/dom.jar:/opt/SUNWam/lib/saaj-api.jar:/opt/SUNWam/lib/jaxr
    pc-api.jar:/opt/SUNWam/lib/jaxrpc-impl.jar:/opt/SUNWam/lib/jaxrpc-spi.jar:/opt/SUNWam/lib/saaj-impl.jar:/etc/opt/SUNWam/config:/opt/
    SUNWam/lib:/opt/SUNWam/locale:/usr/share/lib/mps/secv1/jss4.jar:/opt/SUNWam/lib/am_sdk.jar:/usr/share/lib/ldapjdk.jar:/opt/SUNWam/li
    b/am_services.jar:/opt/SUNWam/lib/am_sso_provider.jar:/opt/SUNWam/lib/swec.jar:/opt/SUNWam/lib/acmecrypt.jar:/opt/SUNWam/lib/iaik_ss
    l.jar:/opt/SUNWam/lib/iaik_jce_full.jar:/opt/SUNWam/lib/mail.jar:/opt/SUNWam/lib/activation.jar:/opt/SUNWam/lib/am_logging.jar:/opt/
    SUNWam/lib/jaas.jar:/opt/SUNWam/lib/jax-qname.jar:/opt/SUNWam/lib/namespace.jar:/opt/SUNWam/lib/relaxngDatatype.jar:/opt/SUNWam/lib/
    xsdlib.jar:/opt/SUNWam/lib/jaxb-api.jar:/opt/SUNWam/lib/jaxb-impl.jar:/opt/SUNWam/lib/jaxb-libs.jar:/opt/SUNWam/lib/jaxb-xjc.jar:/op
    t/SUNWam/lib/amclientsdk.jar:/opt/SUNWma/lib/wireless_rendering.jar:/opt/SUNWma/lib/wireless_rendering_util.jar:/opt/SUNWma/lib/mobi
    le_services.jar:/opt/SUNWma/lib/ccpp-1_0.jar:/opt/SUNWma/lib/ccpp-ri-1_0.jar:/opt/SUNWma/lib/jena-1.4.0.jar:/opt/SUNWma/lib/rdffilte
    r.jar:/opt/SUNWma/lib/locale:/opt/SUNWam/lib/mobile_identity.jar:/opt/SUNWmfwk/lib/mfwk_instrum_tk.jar:/opt/SUNWjdmk/5.1/lib/jdmkrt.
    jar:/opt/SUNWjdmk/5.1/lib/jmxremote.jar:/opt/SUNWjdmk/5.1/lib/jmx.jar:/opt/SUNWcomm/lib/jars/commcli-client.jar:/opt/SUNWcomm/lib/ja
    rs/jdapi.jar:/opt/SUNWcomm/lib/jars/commcli-callback.jar</class-path-suffix>
    <debug>false</debug>
    <debug-jvm-options>-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=7896</debug-jvm-options>
    <jvm-options>-Djava.security.auth.login.config=login.conf</jvm-options>
    <jvm-options>-Xms128m -Xmx256m</jvm-options>
    <jvm-options>-Djava.protocol.handler.pkgs=com.iplanet.services.comm</jvm-options>
    <jvm-options>-DLOG_COMPATMODE=Off</jvm-options>
    <jvm-options>-Ds1is.java.util.logging.config.class=com.sun.identity.log.s1is.LogConfigReader</jvm-options>
    <jvm-options>-Dcom.iplanet.am.serverMode=true</jvm-options>
    </jvm>
    <thread-pool>
    <max-threads>128</max-threads>
    <stack-size>131072</stack-size>
    </thread-pool>
    <default-auth-db-name>keyfile</default-auth-db-name>
    <auth-db>
    <name>keyfile</name>
    <url>file</url>
    <property>
    <name>syntax</name>
    <value>keyfile</value>
    </property>
    <property>
    <name>keyfile</name>
    <value>keyfile</value>
    </property>
    </auth-db>
    <acl-file>default.acl</acl-file>
    <mime-file>mime.types</mime-file>
    <access-log>
    <file>../logs/access</file>
    </access-log>
    <http-listener>
    <name>http-listener-1</name>
    <port>80</port>
    <server-name>homer.cityofprescott.org</server-name>
    <default-virtual-server-name>homer.cityofprescott.org</default-virtual-server-name>
    </http-listener>
    <virtual-server>
    <name>homer.cityofprescott.org</name>
    <host>homer.cityofprescott.org</host>
    <http-listener-name>http-listener-1</http-listener-name>
    <document-root>/var/opt/SUNWwbsvr7/https-homer.cityofprescott.org/docs</document-root>
    <web-app>
    <uri>/amserver</uri>
    <path>../web-app/homer.cityofprescott.org/amserver</path>
    </web-app>
    <web-app>
    <uri>/ampassword</uri>
    <path>../web-app/homer.cityofprescott.org/ampassword</path>
    </web-app>
    <web-app>
    <uri>/amcommon</uri>
    <path>../web-app/homer.cityofprescott.org/amcommon</path>
    </web-app>
    <web-app>
    <uri>/amconsole</uri>
    <path>../web-app/homer.cityofprescott.org/amconsole</path>
    </web-app>
    <web-app>
    <uri>/im</uri>
    <path>../web-app/homer.cityofprescott.org/im</path>
    </web-app>
    <web-app>
    <uri>/da</uri>
    <path>../web-app/homer.cityofprescott.org/da</path>
    </web-app>
    <web-app>
    <uri>/commcli</uri>
    <path>../web-app/homer.cityofprescott.org/commcli</path>
    </web-app>
    <web-app>
    <uri>/uwc</uri>
    <path>/var/opt/SUNWuwc</path>
    </web-app>
    </virtual-server>
    </server>

  • SJWS 7 and SquirrelMail using SSL

    Hello All!
    My situation is this:
    I have deployed SquirrelMail web based email client. I have configured it as a virtual server within SJWS 7. I have configured its port to use 443. Once I get the login screen (using https://mydomain.com), I enter my credentials. It then sits and wait for quite some time. After a few minutes it errors out with a Method Not Allowed error and give me the url as http://mydomain.com/src/webmail.php instead of https://mydomain.com/src/webmail.php.
    Any ideas on why it's trying to pass http instead of https? Yes, if I were to change the http to https, I can access and fully use the web client. Any help is appreciated.
    N

    I have certificates installed on my virtual server. I've posted my server.xml file. I'm starting to believe that it is a SquirrelMail issue with how it's handling redirects after authentication. I would like to verify that my SJWS setup is correct.
    <?xml version="1.0" encoding="UTF-8"?>
    <!--
    Copyright 2006 Sun Microsystems, Inc. All rights reserved.
    Use is subject to license terms.
    -->
    <server>
    <cluster>
    <local-host>mtvmsol02</local-host>
    <instance>
    <host>mtvmsol02</host>
    </instance>
    </cluster>
    <log>
    <log-file>../logs/errors</log-file>
    <log-level>info</log-level>
    </log>
    <temp-path>/tmp/https-mtvmsol02-5351d5c9</temp-path>
    <user>webservd</user>
    <jvm>
    <java-home>/opt/webserver7/jdk</java-home>
    <server-class-path>/opt/webserver7/lib/webserv-rt.jar:/opt/webserver7/lib/pwc.jar:/opt/webserver7/lib/ant.jar:${java.home}/lib/tools.jar:/opt/webserver7/lib/ktsearch.jar:/opt/webserver7/lib/webserv
    -jstl.jar:/opt/webserver7/lib/jsf-impl.jar:/opt/webserver7/lib/jsf-api.jar:/opt/webserver7/lib/webserv-jwsdp.jar:/opt/webserver7/lib/container-auth.jar:/opt/webserver7/lib/mail.jar:/opt/webserver7/lib/
    activation.jar</server-class-path>
    <debug>false</debug>
    <debug-jvm-options>-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=7896</debug-jvm-options>
    <jvm-options>-Djava.security.auth.login.config=login.conf</jvm-options>
    <jvm-options>-Xms128m -Xmx256m</jvm-options>
    </jvm>
    <default-auth-db-name>keyfile</default-auth-db-name>
    <auth-db>
    <name>keyfile</name>
    <url>file</url>
    <property>
    <name>syntax</name>
    <value>keyfile</value>
    </property>
    <property>
    <name>keyfile</name>
    <value>keyfile</value>
    </property>
    </auth-db>
    <acl-file>default.acl</acl-file>
    <mime-file>mime.types</mime-file>
    <access-log>
    <file>../logs/access</file>
    </access-log>
    <http-listener>
    <name>ssl</name>
    <port>443</port>
    <server-name>mtvmsol02</server-name>
    <default-virtual-server-name>mymail</default-virtual-server-name>
    <ssl>
    <server-cert-nickname>cert-mymail</server-cert-nickname>
    <ssl2-ciphers/>
    <ssl3-tls-ciphers/>
    </ssl>
    </http-listener>
    <http-listener>
    <name>standard</name>
    <port>80</port>
    <server-name>mtvmsol02</server-name>
    <default-virtual-server-name>mydomain.com</default-virtual-server-name>
    </http-listener>
    <http-listener>
    <name>ssl2</name>
    <port>444</port>
    <server-name>mtvmsol02</server-name>
    <default-virtual-server-name>crm</default-virtual-server-name>
    <ssl>
    <server-cert-nickname>cert-cats</server-cert-nickname>
    </ssl>
    </http-listener>
    <http-listener>
    <name>ssl3</name>
    <port>445</port>
    <server-name>mtvmsol02</server-name>
    <default-virtual-server-name>cats</default-virtual-server-name>
    <ssl>
    <server-cert-nickname>cert-mtvmsol02</server-cert-nickname>
    <ssl2-ciphers/>
    <ssl3-tls-ciphers/>
    </ssl>
    </http-listener>
    <virtual-server>
    <name>crm</name>
    <http-listener-name>ssl3</http-listener-name>
    <host>mtvmsol02</host>
    <object-file>crm-obj.conf</object-file>
    <document-root>/opt/webdocs/crm</document-root>
    </virtual-server>
    <virtual-server>
    <name>mydomain.com</name>
    <http-listener-name>standard</http-listener-name>
    <host>mtvmsol02</host>
    <object-file><mydomain>.com-obj.conf</object-file>
    <document-root>/opt/webdocs/mydomain.com</document-root>
    </virtual-server>
    <virtual-server>
    <name>reception</name>
    <http-listener-name>ssl</http-listener-name>
    <host>mtvmsol02</host>
    <document-root>/opt/webdocs</document-root>
    </virtual-server>
    <virtual-server>
    <name>cats</name>
    <http-listener-name>ssl2</http-listener-name>
    <object-file>cats-obj.conf</object-file>
    <document-root>/opt/webdocs/cats</document-root>
    </virtual-server>
    <virtual-server>
    <name>mymail</name>
    <http-listener-name>ssl</http-listener-name>
    <host>mtvmsol02</host>
    <object-file>mymail-obj.conf</object-file>
    <document-root>/opt/webdocs/mymail</document-root>
    <log-file>../logs/mymail-log</log-file>
    </virtual-server>
    </server>
    Edited by: actwon on Aug 21, 2009 9:55 AM

  • SJSW7-Directing virtual server log

    all my virtual server logging are stored in the default directory. I have one instance running, however, I would like to create a separate folder for each virtual server and store their log information in it. I tried configuring a virtual server under log preferences and have both server log and access log boxes checked and the location set but after testing it out, both directories are empty.

    I already applied changes and reboot instance. my virtual server that I'm configuring is "uc.memphis.edu"
    server.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <!--
    Copyright 2006 Sun Microsystems, Inc. All rights reserved.
    Use is subject to license terms.
    -->
    <server>
    <cluster>
    <local-host>peter-vm2-2003.memphis.edu</local-host>
    <instance>
    <host>peter-vm2-2003.memphis.edu</host>
    </instance>
    </cluster>
    <log>
    <log-file>../logs/errors</log-file>
    <log-level>info</log-level>
    </log>
    <jvm>
    <java-home>C:/Sun/WebServer7/jdk</java-home>
    <server-class-path>C:/Sun/WebServer7/lib/webserv-rt.jar;C:/Sun/WebServer7/lib/pwc.jar;C:/Sun/WebServer7/lib/ant.jar;${java.home}/lib/tools.jar;C:/Sun/WebServer7/lib/ktsearch.jar;C:/Sun/WebServer7/lib/webserv-jstl.jar;C:/Sun/WebServer7/lib/jsf-impl.jar;C:/Sun/WebServer7/lib/jsf-api.jar;C:/Sun/WebServer7/lib/webserv-jwsdp.jar;C:/Sun/WebServer7/lib/container-auth.jar;C:/Sun/WebServer7/lib/mail.jar;C:/Sun/WebServer7/lib/activation.jar</server-class-path>
    <debug>false</debug>
    <debug-jvm-options>-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=7896</debug-jvm-options>
    <jvm-options>-Djava.security.auth.login.config=login.conf</jvm-options>
    <jvm-options>-Xms128m -Xmx256m</jvm-options>
    </jvm>
    <thread-pool>
    <max-threads>128</max-threads>
    <stack-size>131072</stack-size>
    </thread-pool>
    <default-auth-db-name>keyfile</default-auth-db-name>
    <auth-db>
    <name>keyfile</name>
    <url>file</url>
    <property>
    <name>syntax</name>
    <value>keyfile</value>
    </property>
    <property>
    <name>keyfile</name>
    <value>keyfile</value>
    </property>
    </auth-db>
    <acl-file>default.acl</acl-file>
    <mime-file>mime.types</mime-file>
    <access-log>
    <file>../logs/access</file>
    </access-log>
    <http-listener>
    <name>http-listener-1</name>
    <port>80</port>
    <server-name>peter-vm2-2003.memphis.edu</server-name>
    <default-virtual-server-name>peter-vm2-2003.memphis.edu</default-virtual-server-name>
    </http-listener>
    <http-listener>
    <name>http-listener-2</name>
    <port>83</port>
    <server-name>webtest.memphis.edu</server-name>
    <default-virtual-server-name>webtest</default-virtual-server-name>
    </http-listener>
    <http-listener>
    <name>http-listener-3</name>
    <port>86</port>
    <server-name>uc.memphis.edu</server-name>
    <default-virtual-server-name>uc</default-virtual-server-name>
    </http-listener>
    <virtual-server>
    <name>peter-vm2-2003.memphis.edu</name>
    <http-listener-name>http-listener-1</http-listener-name>
    <host>peter-vm2-2003.memphis.edu</host>
    <object-file>peter-vm2-2003.memphis.edu-obj.conf</object-file>
    <document-root>c:/webprod/temp1</document-root>
    <acl-file>peter-vm2-2003.memphis.edu.acl</acl-file>
    <access-log>
    <file>C:/logs/peter-vm2</file>
    <format>%Ses->client.ip% - %Req->vars.auth-user% [%SYSDATE%] "%Req->reqpb.clf-request%" %Req->srvhdrs.clf-status% %Req->srvhdrs.content-length% %Req->headers.referer% %Req->headers.user-agent% %Req->reqpb.method% %Req->reqpb.uri% %Req->reqpb.query% %Req->reqpb.protocol% %vsid% </format>
    </access-log>
    </virtual-server>
    <virtual-server>
    <name>webtest</name>
    <http-listener-name>http-listener-2</http-listener-name>
    <host>webtest.memphis.edu</host>
    <object-file>webtest-obj.conf</object-file>
    <document-root>c:/webprod/webtest</document-root>
    <acl-file>webtest.acl</acl-file>
    </virtual-server>
    <virtual-server>
    <name>uc</name>
    <http-listener-name>http-listener-3</http-listener-name>
    <host>uc.memphis.edu</host>
    <object-file>uc-obj.conf</object-file>
    <document-root>c:/webprod/uc</document-root>
    <access-log>
    <file>c:/webprod/logs/uc</file>
    <format>%Ses->client.ip% - %Req->vars.auth-user% [%SYSDATE%] "%Req->reqpb.clf-request%" %Req->srvhdrs.clf-status% %Req->srvhdrs.content-length% %Req->headers.referer% %Req->headers.user-agent% %Req->reqpb.method% %Req->reqpb.uri% %Req->reqpb.query% %Req->reqpb.protocol% %vsid% </format>
    </access-log>
    <log-file>c:/webprod/logs/uc</log-file>
    </virtual-server>
    </server>
    And this is my obj.conf for the virtual server "uc-obj.conf"
    # Copyright 2007 Sun Microsystems, Inc. All rights reserved.
    # Use is subject to license terms.
    # You can edit this file, but comments and formatting changes
    # might be lost when you use the administration GUI or CLI.
    # Use only forward slashes in pathnames as backslashes can cause
    # problems. Refer to the documentation for more information.
    <Object name="default">
    AuthTrans fn="match-browser" browser="*MSIE*" ssl-unclean-shutdown="true"
    NameTrans fn="ntrans-j2ee" name="j2ee"
    NameTrans fn="pfx2dir" from="/mc-icons" dir="C:/Sun/WebServer7/lib/icons" name="es-internal"
    NameTrans fn="home-page" path=""
    PathCheck fn="nt-uri-clean"
    PathCheck fn="check-acl" acl="default"
    PathCheck fn="find-pathinfo"
    PathCheck fn="find-index-j2ee"
    PathCheck fn="find-index" index-names="index.htm,index.html,home.html,index.jsp"
    PathCheck fn="set-cache-control" control="public"
    ObjectType fn="type-j2ee"
    ObjectType fn="type-by-extension"
    ObjectType fn="force-type" type="text/plain"
    Service fn="php5_execute" type="magnus-internal/x-httpd-php"
    Service method="(GET|HEAD)" type="magnus-internal/directory" fn="index-common"
    Service fn="append-trailer" type="text/html" timefmt="%B %d, %Y %I:%M" trailer=""
    Service method="(GET|HEAD|POST)" type="*~magnus-internal/*" fn="send-file"
    Service method="TRACE" fn="service-trace"
    Error fn="error-j2ee"
    AddLog fn="flex-log"
    </Object>
    <Object name="j2ee">
    Service fn="service-j2ee" method="*"
    </Object>
    <Object name="es-internal">
    PathCheck fn="check-acl" acl="es-internal"
    </Object>
    <Object name="cgi">
    ObjectType fn="force-type" type="magnus-internal/cgi"
    Service fn="send-cgi"
    </Object>
    <Object name="send-precompressed">
    PathCheck fn="find-compressed"
    </Object>
    <Object name="compress-on-demand">
    Output fn="insert-filter" filter="http-compression"
    </Object>
    <Object name="x-httpd-php">
    ObjectType fn="force-type" type="magnus-internal/x-httpd-php"
    Service fn="php5_execute"
    </Object>

  • Key Field Value in FCC

    Hi Experts,
    I have a scenario in PI, where I have 1 Header, n Data Records and 1 Trailer in the source file. This data is coming in CSV format.
    I am using FCC to convert CSV into XML.
    In the FCC, I have used keyFieldValue parameter. For the Header Record, the Key Field Value is constant "H"; for Trailer Record the key field value is constant "T".
    However for Data Record, the key field value is not constant. The first character of Key field of Data Record will always be "D", but rest of the Alphabets can change.
    Sample File:
    "H","3.04",22/10/2009,16:31:12
    "D2S",21/10/2009,20:00:26,"20044",00666,"S",1
    "D2S",22/10/2009,14:26:20,"20044",00668,"S",1
    "D0S",22/10/2009,08:33:34,"00044",04165,"S",1
    "D0S",22/10/2009,11:59:59,"00044",04166,"S",1
    "T",1393.27,1393.27,8
    Here, first line is Header Line (Key Field Value "H"), Last Line is Trailer Line (Key Field Value "T") and all lines in between Header and Trailer are Data Records (Key Field Value starts with "D). I need to convert this file into XML.
    I have no clue, if this can be converted into XML through FCC.
    Any help will be highly appreciated.
    Regards,
    Varun

    >
    Varun Agarwal wrote:
    > Sample File:
    >
    "H","3.04",22/10/2009,16:31:12
    > "D2S",21/10/2009,20:00:26,"20044",00666,"S",1
    > "D2S",22/10/2009,14:26:20,"20044",00668,"S",1
    > "D0S",22/10/2009,08:33:34,"00044",04165,"S",1
    > "D0S",22/10/2009,11:59:59,"00044",04166,"S",1
    > "T",1393.27,1393.27,8
    >
    > Here, first line is Header Line (Key Field Value "H"), Last Line is Trailer Line (Key Field Value "T") and all lines in between Header and Trailer are Data Records (Key Field Value starts with "D). I need to convert this file into XML.
    >
    > I have no clue, if this can be converted into XML through FCC.
    > Any help will be highly appreciated.
    >
    >
    > Regards,
    > Varun
    Write a simple module. The module will do a replace of the Dxx fields to D (you can use simple regex function for this)
    After the module, use the messagetransformbean to do the FCC for you.
    The module might sound complex, but trust me its a simple logic you need to implement and you can easily do the FCC with the messagetransformbean

  • FCC Receiver Error :Column value '   ' too long

    Hi Experts
    I am getting data from SAP for which i should create a file which is fixed length on the target side
    My structure is :
    File----1.....Unbound
    ----->Header --- -1..1
    >RecordType
    >Transcode
    >PO_Num
    >Vend_ID
    >Crea_date
    >WHS_ID
    >POM_Status
    >Cancel_date 
    >Delv_date 
    >Ord_type 
    >POM_Char
    ---->Record_Detail---1..Unbound
    >Record_typ
    >PO_Num
    >Line_no
    >Itm_no
    >Sch_No
    >QTY
    >UOM
    >Vend_itm_no
    >Delv_Date
    >Buyer_name
    >WHS_ID
    ---->var1-0..1
    ---->var2-0..1
    var1 and var2 I am using for variable substitution.
    I have configured the receiver FCC as below
    Record Structure  HeaderRecord,Record_Detail
    HeaderRecord.fieldFixedLengths     1,1,30,10,8,2,1,8,8,8,1
    Record_Detail.fieldFixedLengths     1,30,5,30,3,8,2,20,8,25,2
    And I have given var1 and var2 in varaible substitution.
    But I am getting the following error when recevier receiving the file
    Could not process due to error: java.lang.Exception: Exception in XML Parser (format problem?):'java.lang.Exception: Message processing failed in XML parser: 'java.lang.Exception: Column value '0811200613.WAPONUM' too long (>1 for 0. column) - must stop', probably configuration error in file adapter (XML parser error)'
    Please help me
    Regards
    Sowmya

    Hi,
    If u have added Trailer Node ( And Var1 & Var2 inside it) then try adding this:
    Trailer.fieldFixedLengths     0,0
    Trailer.fixedLengthTooShortHandling     Cut
    Hope it will solve ur problem.
    For reference check:
    http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm
    Check ur final structure is like this:
    Recordset Structure: File,Header,Record_Detail,Trailer
    Header.fieldFixedLengths: 1,1,30,10,8,2,1,8,8,8,1
    Header.fieldNames: RecordType,Transcode,PO_Num,Vend_ID,Crea_date,WHS_ID,POM_Status,Cancel_date,Delv_date,Ord_type,POM_Char
    Record_Detail.fieldFixedLengths: 1,30,5,30,3,8,2,20,8,25,2
    Record_Detail.fieldNames: Record_typ,PO_Num,Line_no,Itm_no,Sch_No,QTY,UOM,Vend_itm_no,Delv_Date,Buyer_name,WHS_ID
    Trailer.fieldFixedLengths: 0,0
    Trailer.fieldNames: var1,var2
    Trailer.fixedLengthTooShortHandling: Cut
    File.fieldSeparator: 'nl'
    Thanks,
    Mahi
    Edited by: Maheshwari Morbale on Nov 21, 2008 6:33 AM

  • FCC error :java.lang.Exception: Column value '   ' too long

    Hi all,
    I am using FCC on receiving File adapter...
    While executing i am getting this error in CC monitor
    com.sap.aii.af.ra.ms.api.RecoverableException: Exception in XML Parser (format problem?):'java.lang.Exception: Message processing failed in XML parser: 'java.lang.Exception: Column value '   ' too long (>1 for 2. column) - must stop',
    i searched in SDN but no luck till now..
    Plz help me out..
    Thanx in advance.

    Hi,
    Check ur FCC parameters,
    File content conversion sites
    /people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1
    /people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2
    /people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
    /people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file
    /people/shabarish.vijayakumar/blog/2005/08/17/nab-the-tab-file-adapter
    /people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1
    /people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2
    /people/venkat.donela/blog/2005/06/08/how-to-send-a-flat-file-with-various-field-lengths-and-variable-substructures-to-xi-30
    /people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file
    /people/shabarish.vijayakumar/blog/2005/08/17/nab-the-tab-file-adapter
    /people/jeyakumar.muthu2/blog/2005/11/29/file-content-conversion-for-unequal-number-of-columns
    /people/shabarish.vijayakumar/blog/2006/02/27/content-conversion-the-key-field-problem
    /people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter
    /people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
    http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm
    Regards,
    Phani.
    Reward points if Helpful

Maybe you are looking for

  • Windows 7 Pro DNS issue with static IP

    0 down vote favorite I have been unable to solve a DNS problem I am having as follows: I have a Windows 7 Professional (64 bit) computer running VirtualBox with a couple of Windows XP guests (not sure if this bit is relevant). After heavy file copyin

  • Oracle Software Security Assurance Survey Now Available!

    Hi, this is Eric Maurice. Oracle and the Independent Oracle User Group (IOUG) have recently launched a security assurance survey. The purpose of this survey is to gather feedback from as many organizations as possible about their security patching pr

  • Can't do anything in facebook

    Facebook worked fine for years until yesterday. I can log into Facebook but can't do anything that requires a mouse click on any button. The various buttons will show that they are being depressed but then nothing happens. Can't post. share. comment

  • How come nobody can log in to a user account?

    10.6 Server functioning well in all configured aspects. Did a software update. I don't think it was an important one, perhaps Safari and iTunes which I did just because I always do all the updates. Then, I used Disk Utility to repair permissions. Aga

  • Drill through for Attribute dimensions

    Hi, How to enable drill thrus for Attribute dimension members. I have included the Attribute dimension in Drill thru intersections, but still I am not able to do drill thrus on Attribute dimension members. Is there any other settings I need to do in