Return nothing from DB

I am a beginner to JDBC and my english is not good. i hope anyone here understand where my problem is.
i am trying to show some data in the database using very simple servlet. i have checked that the string returned have size (rs.getString(1).length()) but it shows nothing. If the string is a number, it shows characters. What's wrong?
WINXP chinese platform
j2sdk1.4.1_02
mysql-connector-java-3.0.6-stable
Tomcat 4.1
segment of code:
import javax.servlet.*;
import javax.servlet.http.*;
import java.io.*;
import java.sql.*;
public class DataViewerServlet extends HttpServlet {
/**Load JDBC driver*/
private String DBclass = "com.mysql.jdbc.Driver";
private String DBURL = "jdbc:mysql://localhost/test?user=root";
public void init() {
try {
Class.forName(DBclass);
System.out.println("JDBC driver loaded");
catch (ClassNotFoundException e) {
System.out.println(e.toString());
/**Process the HTTP Get request*/
public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
response.setContentType("text/html");
PrintWriter out = response.getWriter();
out.println("<HTML>");
out.println("<HEAD>");
out.println("<TITLE>Display All Users</TITLE>");
out.println("</HEAD>");
out.println("<BODY>");
out.println("<CENTER>");
out.println("<BR><H2>Displaying All Users</H2>");
out.println("<BR>");
out.println("<BR>");
out.println("<TABLE>");
out.println("<TR>");
out.println("<TH>First Name</TH>");
out.println("<TH>Last Name</TH>");
out.println("<TH>User Name</TH>");
out.println("<TH>Password</TH>");
out.println("</TR>");
String sql = "SELECT FirstName, LastName, UserName, Password FROM Users";
try {
Connection con = DriverManager.getConnection(DBURL);
Statement s = con.createStatement();
ResultSet rs = s.executeQuery(sql);
          System.out.println(sql);
while (rs.next()) {
out.println("<TR>");
out.println("<TD>" + rs.getString(1) + "</TD>");
out.println("<TD>" + rs.getString(2) + "</TD>");
out.println("<TD>" + rs.getString(3) + "</TD>");
out.println("<TD>" + rs.getString(4) + "</TD>");
out.println("</TR>");
//checking
System.out.print("FirstName : " + rs.getString(1));
System.out.println(" length = " + rs.getString(1).length());
System.out.print("LastName : " + rs.getString(2));
System.out.println(" length = " + rs.getString(2).length());
System.out.print("UserName : " + rs.getString(3));
System.out.println(" length = " + rs.getString(3).length());
System.out.print("Password : " + rs.getString(4));
System.out.println(" length = " + rs.getString(4).length());
// end checking
rs.close();
s.close();
con.close();
catch (SQLException e) {
catch (Exception e) {
out.println("</TABLE>");
out.println("</CENTER>");
out.println("</BODY>");
out.println("</HTML>");
public void doPost(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
doGet(request, response);
database:
mysql> select * from users;
-----------------------------------------+
| FirstName | LastName | UserName | Password |
-----------------------------------------+
| abc | def | ghi | jkl |
| 123 | 456 | 789 | 0 |
-----------------------------------------+
2 rows in set (0.79 sec)
console:
SELECT FirstName, LastName, UserName, Password FROM Users
FirstName : length = 3
LastName : length = 3
UserName : length = 3
Password : length = 3
FirstName : qrs length = 3
LastName : tuv length = 3
UserName : wxy length = 3
Password : p length = 1
why the string cannot be printed out and the number have changed to character?

i found that it can only return the type of data of each column. If the result contains any user defined string, it shows nothing.
i.e.
System.out.println("column's database-specific type name. :" + rsmd.getColumnTypeName(1));
it returns "varchar".
System.out.println("number of columns in this ResultSet object :" + rsmd.getColumnCount
it returns the correct number of columns in the result set
however,
ResultSetMetaData rsmd = rs.getMetaData();
System.out.println("designated column's table name :" + rsmd.getTableName(1));
System.out.println("Get the designated column's name. :" + rsmd.getColumnName(1));
it shows nothing.
it seems that the problem is on the handling of String from database to resultset.The db connector use the default setting and the my.ini setting is:
character-sets-dir=C:\\mysql\\share\\charsets
default-character-set=latin1

Similar Messages

  • JNDI returns nothing from MS Exchange LDAP server

    I used code sample from answer to "Question of the week # 143" to get the attributes of certain LDAP objects from our NT, LDAP server, but it's returning zero results. I can see some of the DIT object names by looking at email properties in Microsoft Outlook (i.e. c, o), yet I am not getting anything when running the example.
    I tried it in slightly a different way to do a basic search by passing an attribute/value, but I keep getting this error:
    javax.naming.CommunicationException: [LDAP: error code 2 - Protocol Error]; remaining name 'o=Dalsemi' blah blah...
    Our LDAP is X.400 and I believe the latest JNDI supports X.500. Could this be part of the problem? I'd appreciate any help.
    Thanks.

    Hi, I am having the exact same problem. Wondering if you were able to solve your problem. If so, how?

  • Windows 8.1 PC, using reader, when searching a folder containing approx 100 doc's. If i search for a word, no results are returned. only the doc names can be found but nothing from within the doc. This is a new problem and was not the case before.

    Windows 8.1 PC, using reader, when searching a folder containing approx 100 doc's. If i search for a word, no results are returned. only the doc names can be found but nothing from within the doc.
    This is a new problem and was not the case before.

    Works perfectly fine for me with the latest Reader version (11.0.09).
    You write that it worked "before"; before what?  An update?  Update from what version to what version?

  • Facing problem while going to  catch return result from web-services.

    Hi everybody,
    I am new to BPEL. I am facing problem while going to catch the attributes of resultsets returning from web-services(QAS). As far as my knowledge, two types of results it should return - XML entities and another is attributes which is coming as the part of XML entitites. I am able to catch the XML entities, but can't catch the attributes under it. Even, I am not able to see whether web-services returning something within that field.
    When, I tried to catch the attribute and store to a temporary varilable using the following code:
    *<assign name="AssignQASDoGetAddress1">*
    *<copy>*
    *<from variable="InvokeQAS_DoSearch_OutputVariable"*
    part="body"
    query="/ns6:QASearchResult/ns6:QAPicklist/ns6:PicklistEntry/@PostcodeRecoded"/>
    *<to variable="temp"/>*
    *</copy>*
    *</assign>*
    but, I am facing the following selectionFailure errors after running it:
    *"{http://schemasxmlsoap.org/ws/2003/03/business-process/}selectionFailure" has been thrown.*
    -<selectionFailure xmlns="http://schemasxmlsoap.org/ws/2003/03/business-process/">
    -<part name="summary">
    *<summary>*
    empty variable/expression result.
    xpath variable/expression expression "bpws:getVariableData('InvokeQAS_DoSearch_OutputVariable', 'body', '/ns6:QASearchResult/ns6:QAPicklist/ns6:PicklistEntry/@PostcodeRecoded')" is empty at line 269, when attempting reading/copying it.
    Please make sure the variable/expression result "bpws:getVariableData('InvokeQAS_DoSearch_OutputVariable', 'body', '/ns6:QASearchResult/ns6:QAPicklist/ns6:PicklistEntry/@PostcodeRecoded')"is not empty.
    *</summary>*
    *</part>*
    *</selectionFailure>*
    Getting this error it seems to me that web-service is returning nothing, but, it returns something as it has been catched using a method called isPostcodeRecoded() Java Code in Oracle ADF. This method has been used as it should return boolean whereas for catching the xml entities using java code we used the method like getPostcode(), getMoniker().
    For your information, we are using Jdeveloper as the development tool for building the BPEL process.
    Am I doing any syntax error. Please consider it as urgent and provide me asolution.
    Thanks in advance.
    Chandrachur.

    Thanks Dave and Marc, for your suggestions. Actually what I found is QAS web-service is returning nothing as attributes when the attributes are set to the default value. For example, following is the part of the wsdl of the result which QAS webservice returns.
    <xs:element name="QASearchResult">
    - <xs:complexType>
    - <xs:sequence>
    <xs:element name="QAPicklist" type="qas:QAPicklistType" minOccurs="0" />
    <xs:element name="QAAddress" type="qas:QAAddressType" minOccurs="0" />
    </xs:sequence>
    <xs:attribute name="VerifyLevel" type="qas:VerifyLevelType" default="None" />
    </xs:complexType>
    </xs:element>
    <xs:complexType name="QAPicklistType">
    - <xs:sequence>
    <xs:element name="FullPicklistMoniker" type="xs:string" />
    <xs:element name="PicklistEntry" type="qas:PicklistEntryType" minOccurs="0" maxOccurs="unbounded" />
    <xs:element name="Prompt" type="xs:string" />
    <xs:element name="Total" type="xs:nonNegativeInteger" />
    </xs:sequence>
    <xs:attribute name="AutoFormatSafe" type="xs:boolean" default="false" />
    <xs:attribute name="AutoFormatPastClose" type="xs:boolean" default="false" />
    <xs:attribute name="AutoStepinSafe" type="xs:boolean" default="false" />
    <xs:attribute name="AutoStepinPastClose" type="xs:boolean" default="false" />
    <xs:attribute name="LargePotential" type="xs:boolean" default="false" />
    <xs:attribute name="MaxMatches" type="xs:boolean" default="false" />
    <xs:attribute name="MoreOtherMatches" type="xs:boolean" default="false" />
    <xs:attribute name="OverThreshold" type="xs:boolean" default="false" />
    <xs:attribute name="Timeout" type="xs:boolean" default="false" />
    </xs:complexType>
    <xs:complexType name="PicklistEntryType">
    - <xs:sequence>
    <xs:element name="Moniker" type="xs:string" />
    <xs:element name="PartialAddress" type="xs:string" />
    <xs:element name="Picklist" type="xs:string" />
    <xs:element name="Postcode" type="xs:string" />
    <xs:element name="Score" type="xs:nonNegativeInteger" />
    </xs:sequence>
    <xs:attribute name="FullAddress" type="xs:boolean" default="false" />
    <xs:attribute name="Multiples" type="xs:boolean" default="false" />
    <xs:attribute name="CanStep" type="xs:boolean" default="false" />
    <xs:attribute name="AliasMatch" type="xs:boolean" default="false" />
    <xs:attribute name="PostcodeRecoded" type="xs:boolean" default="false" />
    <xs:attribute name="CrossBorderMatch" type="xs:boolean" default="false" />
    <xs:attribute name="DummyPOBox" type="xs:boolean" default="false" />
    <xs:attribute name="Name" type="xs:boolean" default="false" />
    <xs:attribute name="Information" type="xs:boolean" default="false" />
    <xs:attribute name="WarnInformation" type="xs:boolean" default="false" />
    <xs:attribute name="IncompleteAddr" type="xs:boolean" default="false" />
    <xs:attribute name="UnresolvableRange" type="xs:boolean" default="false" />
    <xs:attribute name="PhantomPrimaryPoint" type="xs:boolean" default="false" />
    </xs:complexType>
    here the attributes like FullAddress, PostcodeRecodedare , etc. are not being return by the web-service when it is getting the default value false. But, if it gets true then , it is being displayed at the BPEL console.
    Do you have any idea how can I catch the attributes and its value even when it gets the default value which is already set. Previously, it was returning(it was not being displayed at the console).
    Thanks once again for your valuable suggestions...!!!
    Chandrachur.

  • User Profile -Purchasing -returns nothing

    I created a User Profile in Oracle Applications under -Application Developer
    Application :Purchasing
    User Profile Name: PO: SBM CHANGE
    Hierarchy type: Security
    SQL validation:
    SQL="select decode(meaning,
                   'Yes','Full',
                   'No','None') \"Access Level\",
              lookup_code
         into :visible_option_value, :profile_option_value
         from fnd_lookups
         where lookup_type = 'YES_NO'
    Now I am trying to run this query which returns Nothing. Is that because i have application level *Purchasing*
    {code}
    select apps.fnd_profile.value('PO: SBM CHANGE') from dual;
    {code}
    Thanks

    Hi,
    First you need to give values for that profile option (resp. System Administrator > Profile > System).
    Also, when using fnd_profile.value, you need to specify the internal profile option name, and not the user profile option name (maybe they are identical in your case?).
    And also, typically you need to specify your context before calling fnd_profile. You can use fnd_global.apps_initialize for that.
    Hope it helps.

  • Web Services deployment error "Server returned nothing (no headers, no data)" and more

    I'm developing a large-scale VI with an associated web service VI in 2010 SP1. The "auxiliary VI" is responsible for data capture and analysis as well as communications and data storage. It is fairly large and communicates with the web method VI via network-shared variables [and I'm using the DSC module to allow event handling on the shared variables].
    I can build and deploy the web method VI just fine and it runs great. However, I need to communicate between the auxiliary and web method VI's, and it looks like I can't do that without including the auxiliary vi in the RESTful web service build [by the way, is there any way to do this with web service builds?]. When I added the auxiliary vi to the build, it built fine, but then during the deployment I got:
    "Server returned nothing (no headers, no data)"
    The next time I tried to deploy, I got a spurious NI Auth dialog per this KnowledgeBase article. Following the instructions for case 1 ["Application Web Server failure since last start"], I ran Services.msc and found that NI Application Web Service was indeed not running. I tried to restart the service but got this error:
    "The NI Application Web Server service on Local Computer started and then stopped. Some services stop automatically if they have no work to do, for example, the Performance Logs and Alerts service."
    The KnowledgeBase article suggests restarting at this point and I did, but I still see the same behavior. So I really have a few questions:
    1. Is there any way to deploy a network-shared variable library across a deployed web service and local VI?
    2. What causes "Server returned nothing (no headers, no data)" upon deployment? A google search returned very little.
    3. What does this mean: "The NI Application Web Server service on Local Computer
    started and then stopped..." and what do I need to do to get my Application Web Server back up?
    [to heap on the pile... I tried to re-enable the Application Web Server from localhost:3580 and got an error. Then localhost:3580 went off-line also.]
    thanks!
    Solved!
    Go to Solution.

    Update.
    I noticed that the Application Web Server was trying to deploy the broken web service and was choking on it. There seemed to be no way to erase the .lvws originally created by the build. I could delete the deployment folder at $(WebServicesRoot)\UserServices\deployed\<Service Name>-<Globally Unique Identifier (GUID)> but it was recreated from the .lvws every time I attempted to restart the service.
    So I called NI and they pointed me to this directory [in XP]:
    C:\Documents and Settings\LocalService\My Documents\LabVIEW Data\WebServices\Standalone
    The .lvws was in this folder. I deleted it and now I can run the ApplicationWebService. Apparently this undocumented hidden file is a "not-quite-bug" that is recognized as needing a fix in upcoming releases.

  • Return NullVal from XMLtype ???

    Hi.
    When I execute a query:
            WITH t AS (
              SELECT XMLType( CURSOR( select ID, NAME
                                      from Table
                                      ) ) as XXX,
              SELECT XMLType( CURSOR( select ID, NAME
                                      from Table2
                                      ) ) as KKK
              FROM dual
            SELECT XMLQuery(
            '<messages>
             for $i in $XXX/ROWSET/ROW
             return element {$i/NAME} { attribute id {$i/ID},
             for $Z in $KKK/ROWSET/ROW
             return element {$Z/NAME} { attribute id {$Z/ID},
            </messages>'
            passing t.XXX as "XXX",
                       t.KKK AS "KKK"
            returning content
            ).getclobval()
            FROM t
            ;And my TABLE1 return nothing because is empty or don't have a value, Oracle return an error:
    ORA-06502: PL/SQL: error of number or value
    ORA-06512: a "SYS.XMLTYPE", line 334
    ORA-06512: a line 1
    There is a condition if return null?
    Thanks.
    Best regards.
    Edited by: city_andre on 7-mar-2011 9.31

    Hi,
    Yes, that's a drawback of using the CURSOR XMLType constructor...
    You can also use DBMS_XMLGEN.getXMLType with each query as a string, but you won't be able to use bind variables :
    SELECT XMLQuery(
    '<messages>
    for $i in $XXX/ROWSET/ROW
    return element {$i/NAME} { attribute id {$i/ID},
    for $Z in $KKK/ROWSET/ROW
    return element {$Z/NAME} { attribute id {$Z/ID},
    </messages>'
    passing DBMS_XMLGEN.getXMLType('select ID, NAME from Table1') as "XXX",
            DBMS_XMLGEN.getXMLType('select ID, NAME from Table2') as "KKK"
    returning content
    ).getclobval()
    FROM t
    ;Or maybe, consider SQL/XML functions to generate the same XML contents from relational data (as suggested in a previous thread).

  • Hsodbc returns nothing :::Plz Help me :)

    Hi to all,
    I try to connect Oracle DB to Mysql database. I did these steps :
    1- Testing MySQL ODBC Driver using isql => Works fine
    2- Configuring the HSODBC process , my listner.ora file contains these entries :
    # listener.ora Network Configuration File: /u01/app/oracle/oracle/product/10.2.0/devxen03/network/admin/listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /u01/app/oracle/oracle/product/10.2.0/devxen03)
    (PROGRAM = extproc)
    (SID_DESC =
    (PROGRAM = hsodbc)
    (ORACLE_HOME = /u01/app/oracle/oracle/product/10.2.0/devxen03)
    (SID_NAME =my_client)
    (ENVS = "LD_LIBRARY_PATH=/u01/app/oracle/oracle/product/10.2.0/devxen03/lib32:/usr/lib:/u01/app/oracle/oracle/product/10.2.0/devxen03/hs/lib32")
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = devxen03.es.el.lan)(PORT = 1521))
    when I tried; hsodbc in command line : nothing comes back from this command
    Any idea please? I(m working on Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 on linux redhat server.
    Thanks a lot,
    Edited by: OracleJavaLinux on Dec 1, 2009 3:20 PM

    Thanks ora-dba;
    it means returns nothing without errors;
    But strange I got erros when I execute the command below, any idea? :
    *[root@devxen03 ~]# strace /u01/app/oracle/oracle/product/10.2.0/devxen03/bin/hsodbc*
    *execve("/u01/app/oracle/oracle/product/10.2.0/devxen03/bin/hsodbc", ["/u01/app/oracle/oracle/product/1"...], [* 26 vars */]) = -1 ENOEXEC (Exec format error)*
    dup(2)                                  = 3
    fcntl(3, F_GETFL)                       = 0x8002 (flags O_RDWR|O_LARGEFILE)
    *fstat(3, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 2), ...}) = 0*
    mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2a95557000
    lseek(3, 0, SEEK_CUR)                   = -1 ESPIPE (Illegal seek)
    write(3, "strace: exec: Exec format error\n", 32strace: exec: Exec format error
    *) = 32*
    close(3)                                = 0
    munmap(0x2a95557000, 4096)              = 0
    exit_group(1)                           = ?
    *[root@devxen03 ~]# echo $?*
    *0*

  • Putting variable in regexp_substr pattern returns nothing

    I'm trying to create a function to simply extract positioned text from a string, ie I want the text in position two from string X with a pattern of ' - '. I want to create a function so it is simpler for the developers but regexp_substr doesn't seem to like it.
    So I want a function like below to be executed, select text_extractor('ABC - DEF - HIJ',' - ',2) from dual; which would return DEF;
    But regexp_substr doesn't like matching on ' - '. If I tell it to give me position 2, I get '-', and if I tell it position 3, I get DEF. It seems to work fine if the '-' is substritued with a ':'
    ie
    select regexp_substr('ABC - DEF - HIJ','[^ - ]+',1,2) from dual;
    results
    select regexp_substr('ABC - DEF - HIJ','[^ - ]+',1,3) from dual;
    results
    DEF
    select regexp_substr('ABC : DEF : HIJ','[^ : ]+',1,2) from dual;
    results
    DEF
    I would further like to make a function to wrap it in but it didn't work at all.
    The following examples return nothing.
    create or replace function text_extractor (p_text varchar2, p_delimiter varchar2, p_position number)
    return varchar2
    is
    begin
    return (regexp_substr(p_text,'^p_delimiter]+', 1,p_position));
    end;
    I've also tried
    create or replace function text_extractor (p_text varchar2, p_delimiter varchar2, p_position number)
    return varchar2
    is
    v_search_expression varchar2(2000);
    begin
    v_search_expression := '''[^'||p_delimiter||']+''';
    return (regexp_substr(p_text,v_search_expression),1,p_position);
    end;
    But I get nothing. Any ideas?

    When you do this:
    select regexp_substr('ABC - DEF - HIJ','[^ - ]+',1,2) from dual;
    results
    -Your search string is a set of characters, so you are saying anything that is NOT a space or dash (or space again, but that's redundant). So the first match is ABC, the second match is "-" as that's the second non-space match, so that's why you get that. Probably what you want is to ignore the spaces and use the "-" as your delimiter, then just trim the spaces off after...
    SQL> ed
    Wrote file afiedt.buf
      1* select trim(regexp_substr('ABC - DEF - HIJ','[^-]+',1,2)) from dual
    SQL> /
    TRI
    DEF
    SQL>

  • SQL LIKE Operator return nothing

    I am working on an intranet application and use Access as the
    database.
    There is a query that I have
    <CFQUERY DATASOURCE="#DSN#" NAME="GET_SEARCH_RESULT">
    SELECT * FROM WL_TREES
    WHERE TREENAME LIKE '3*'
    </CFQUERY>
    It returns nothing in ColdFusion, if I copy just the SQL and
    run it in Access, it returns with the expected result.
    Any idea why ColdFusion query didn't work?
    Thanks,
    tofuTnT

    replace the * with a % and you should be good to go.
    HTH
    Tim Carley
    www.recfusion.com
    [email protected]

  • CRM search, request return nothing

    Hi,
    When I try to make research in our b2b applications (CRM 5, TREX 7 update26) if I use the character "*" it return all items, but any other character, (join, union) returns nothing for any requests.
    I have the following error : "An exception has occurred: Invalid attribute "TEXT_0001" in the filter printout  Invalid attribute "TEXT_0001" in the filter printout.
    com.sap.isa.catalog.impl.CatalogBuildFailedException: Invalid"
    (SRM0, RFC connections works fine, catalog is well replicated)
    The Quick Search Attributes from the WEB-INF/cfg/catalog-site-config.xml was not be modified.
    Any Help will be reward.
    Regards,
    Thomas

    This reply is way too late, but might help someone.
    There are two options in your case:
    1. Attribute "TEXT_0001" is not replicated in TREX catalog
    2. "TEXT_0001" is in P-Index, and you are doing search over the S-index (or vice-verse).
    There are 2 types of Queries in ISA.
    Catalog search which is done over the P-indexes (when you create your Quesry throug the ICatalog object).
    Category specific search which is done over the S-indexes (when you get your Query from a ICategory).
    Best regards,
    Marian

  • How to print - when query returns nothing

    Hi All
    I have query...
    select sum((sum(nvl(ac.amtsourcedr,0))-sum(nvl(ac.amtsourcecr,0)))) as balance
    from fact_acct ac
    where ad_client_id=1000000
    and dateacct < '1/04/2010'
    and ac.account_id=1000432
    group by  ac.account_id
    I want to print zero when query returns nothing
    how to do that ..???
    thanking you in advance
    Regards
    gaurav

    use NVL
    select nvl(sum((sum(nvl(ac.amtsourcedr,0))-sum(nvl(ac.amtsourcecr,0)))),0) as balance
    from fact_acct ac
    where ad_client_id=1000000
    and dateacct < '
    and ac.account_id=1000432
    group by ac.account_idAnd yes you need to remove the Group By as stated by Toon, forgot to mention it
    Edited by: Karthick_Arp on May 27, 2010 4:04 AM

  • Datasync.Write:return code from activesync_setup_5.pyc:1

    Hi all,
    I am testing Mobility Service 2.0.
    Test server is a sles11sp3 with nothing else running. Placed in dmz with GroupWise server on lan.
    Log snip:
    Wed Feb 12 22:22:56 CET 2014: Datasync.Write:executing: MUSER='datasync_user' MUSERPASS='******' /opt/novell/datasync/syncengine/connectors/mobility/cli/postgres_setup_1.sh
    Wed Feb 12 22:23:43 CET 2014: Datasync.Write:return code from postgress_setup_1.sh:0
    Wed Feb 12 22:23:43 CET 2014: Datasync.Write:executing: python /opt/novell/datasync/syncengine/connectors/mobility/cli/odbc_setup_2.pyc
    Wed Feb 12 22:23:43 CET 2014: Datasync.Write:return code from odbc_setup_2:0
    Wed Feb 12 22:23:43 CET 2014: Datasync.Write:executing: python /opt/novell/datasync/syncengine/connectors/mobility/cli/mobility_setup_3.pyc ...
    Wed Feb 12 22:23:44 CET 2014: Datasync.Write:return code from mobility_setup_3.pyc:0
    Wed Feb 12 22:23:44 CET 2014: Datasync.Write:executing: /opt/novell/datasync/syncengine/connectors/mobility/cli/enable_setup_4.sh
    Wed Feb 12 22:24:07 CET 2014: Datasync.Write:return code from enable_setup_4.sh:0
    Wed Feb 12 22:24:08 CET 2014: Datasync.Write:executing: python /opt/novell/datasync/syncengine/connectors/mobility/cli/mobility_setup_5.pyc --provision 'ldap' --galuser 'claus' --block false --selfsigned true --path '' --lport '443' --secure true
    Wed Feb 12 22:24:13 CET 2014: Datasync.Write:return code from activesync_setup_5.pyc:1
    Wed Feb 12 22:24:13 CET 2014: Datasync.Write:stdout on error:
    Wed Feb 12 22:24:21 CET 2014: Datasync.GetAllStaticInterfaces:static IP info: ["eth0"]
    Wed Feb 12 22:24:21 CET 2014: Datasync.GetAllipInterfaces:ip is 172.16.0.80
    Wed Feb 12 22:24:22 CET 2014: Datasync.GetAllStaticInterfaces:Mapping of IP addresses and network devices: $["172.16.0.80":"eth0"]
    Wed Feb 12 22:24:22 CET 2014: Datasync.GetIPAddr:First IP address 172.16.0.80
    Wed Feb 12 22:24:22 CET 2014: Datasync.Write:executing: python /opt/novell/datasync/syncengine/connectors/mobility/cli/groupwise_setup_6.pyc --keypath '*****' --lport '4500' --lip '172.16.0.80' --version '802' --soap 192.168.0.4 --key '*****' --sport 7191 --psecure 'no'
    Wed Feb 12 22:24:26 CET 2014: Datasync.Write:return code from groupwise_setup_6.pyc:1
    Wed Feb 12 22:24:26 CET 2014: Datasync.Write:stdout on error:
    Wed Feb 12 22:24:28 CET 2014: Datasync.Write:executing: python /opt/novell/datasync/syncengine/connectors/mobility/cli/start_mobility.pyc
    Wed Feb 12 22:24:41 CET 2014: Datasync.Write:return code from start_mobility.pyc:1
    Wed Feb 12 22:24:41 CET 2014: Datasync.Write:stdout on error:
    Wed Feb 12 22:24:46 CET 2014: Skipping Customer Center Configuration.
    Any ideas?

    Hi,
    returning to this.
    Since last:
    - Got 2.0.1 iso: No change
    - Tried increasing ram: No change
    - Test installed on an alternative vm guest on same subnet as GroupWise server: Succes
    So I guess it must some kind of networking issue:
    - I am installing on a dmz vm guest
    - Checked my firewalls: No packets seems to get blocked
    - Checked the soap interface from my mobility test server http://<groupwise-ip>:7191/soap, which returns POA response as expected
    From install.log:
    Wed Mar 26 21:48:14 CET 2014: Datasync.Write:executing: python /opt/novell/datasync/syncengine/connectors/mobility/cli/mobility_setup_5.pyc --provision 'groupwise' --galuser 'admin' --block false --selfsigned true --path '' --lport '443' --secure true
    Wed Mar 26 21:48:16 CET 2014: Datasync.Write:return code from activesync_setup_5.pyc:1
    Any suggestions?
    What is done is this step 5?
    Originally Posted by konecnya
    In article <[email protected]>, Clausbc wrote:
    > Hi,
    > sorry for being unclear:
    A trick I learned that helps me get better support response as well as
    reducing the number of times I need to use support, is to think through
    what will support (of any kind) need to know to help. Just doing that
    exercise speeds the whole process up.
    > - New install on sles11sp3 x64 virtual guest, 1G of ram
    ouch, that is rather tight and might be low enough to cause you some
    grief. 2GB has worked well enough for small deployments for me, though I
    have had to push up to the official minimum of 4GB once some real load
    got placed on it.
    I would recommend getting that box up to 2GB and try the install again.
    > - Log snip is from install.log in the /var/log/datasync/
    > - GMS never worked on this test install
    > - Haven't found any clues myself in messages
    OK, that helps put a context on things.
    > - Yes SOAP connection is opened, has been verified during wizard at the
    > trusted application step
    Was this run on this Mobility server? If not then do test from this
    Mobility VM. A to make sure the DMZ to LAN route lets it through as well
    as the SLES firewall on the Mobility server.
    Andy of
    KonecnyConsulting.ca in Toronto
    Knowledge Partner
    http://forums.novell.com/member.php/75037-konecnya
    If you find a post helpful and are logged in the Web interface, please
    show your appreciation by clicking on the star below. Thanks!

  • Brrestore from disk terminates with - BR0279E Return code from 'LANG=C unco

    Dear all,
    During restore of database backup using brrestore terminates with following error and following command is used for restore of database backup
    brrestore -m full -b  begoyfjy.afd -d disk -c ***
    BR0352I Decompressing /oracle/EED/sapdata2/sr3_6/sr3.data6
    BR0355I from /oracle/EED/sapdata4/backup/begoyfjy/sr3.data6.Z ...
    BR0278E Command output of 'LANG=C uncompress -c /oracle/EED/sapdata4/backup/begoyfjy/sr3.data6.Z > /oracle/EED/sapdata2/sr3_6/sr3.data6':
    uncompress: corrupt input
    BR0280I BRRESTORE time stamp: 2011-08-24 12.02.03
    BR0279E Return code from 'LANG=C uncompress -c /oracle/EED/sapdata4/backup/begoyfjy/sr3.data6.Z > /oracle/EED/sapdata2/sr3_6/sr3.data6': 1
    BR0359E Restore of /oracle/EED/sapdata2/sr3_6/sr3.data6 from /oracle/EED/sapdata4/backup/begoyfjy/sr3.data6.Z failed due to previous errors
    BR0406I End of file restore: regpukoh.rsb 2011-08-24 12.02.03
    BR0280I BRRESTORE time stamp: 2011-08-24 12.02.03
    BR0404I BRRESTORE terminated with errors
    epdrdvec:oraeed 8>
    epdrdvec:oraeed 8> #FILE..... /oracle/EED/sapdata1/sr3_27/sr3.data27
    #FILE.....: Command not found.
    epdrdvec:oraeed 9> #RESTORED. /oracle/EED/sapdata4/backup/begoyfjy/sr3.data27.Z  #1/5
    #RESTORED.: Command not found.
    epdrdvec:oraeed 10>
    epdrdvec:oraeed 10> BR0280I BRRESTORE
    I went through sap notes , but appreantly sounds for AIX as i am working with HP UX 11.31 on HP IVM. Please advice if this is a known issue.
    Thanks ,
    Rahul

    Hi Rahul,
    >> uncompress -c /oracle/EED/sapdata4/backup/begoyfjy/sr3.data6.Z
    Seems like the data file has been corrupted and cannot be extracted. At ths stege, there's nothing to do. Even, you will able to extract the file, its structure might be damaged and not safe to use.
    Best regards,
    Orkun Gedik

  • ProductTextSearch return nothing

    ProductTextSearch doesn't return anything, below are the configuration i did
    <dsp:importbean bean="/atg/commerce/catalog/ProductTextSearch"/>
    <dsp:input id="search-q" bean="ProductTextSearch.searchInput" type="text" placeholder="I'm looking for..." class="se-input"/>
    <dsp:input bean="ProductTextSearch.search" type="hidden" value="Search"/>
    <dsp:input type="submit" bean="ProductTextSearch.search" class="btn btn-sml btn-alt" name="search-q" value="Go"/>
    i executed the generated query on the database and it returns nothing
    SELECT DISTINCT t1.product_id,t1.product_type
       FROM dcs_product t1, dcs_prd_catalogs t2, dcs_product_sites t3
      WHERE t2.product_id=t1.product_id
        AND t3.product_id=t1.product_id
        AND (((CONTAINS(t1.description,'desire',0) > 1
        OR CONTAINS(t1.display_name,'desire',1) > 1)
        AND t2.catalog_id = 'catalog10003')
        AND t3.site_id = 'mySiteId')

    Hi Amr,
    Have you configure the catalog to properly handle full text searching as mentioned in below link-
    http://docs.oracle.com/cd/E24152_01/Platform.10-1/ATGCommProgGuide/html/s0204configuringacatalogfororaclefull01.html
    For debugging enable the loggingDebug of that component and see if there is any error in log.
    Try with above configuration and let us know if problem is solved or not.
    Regards,
    Prateek Gupta

Maybe you are looking for

  • Can i re download music etc purchased on my account?

    My daughters ipod broke and has been replaced with a new one. Also, her itunes was on a laptop that too is not accessible. She has a new laptop and new ipod. All purchased downloads were made on my account. Can she re download them? I have searched p

  • IDOC scenario Debugging

    Hi,    I want to debug the IDOC senarios(Both File to Idoc and Idoc to file ).. for this.. from where can we start.. and what are the things we need to check.. how can we debug the scenarios... i mean.. just give me the descriptive steps.. Thanks BAB

  • Oracle portal and session tracking

    Friend I am working in JDeveloper in my PC and my statements in with setAttribute and getAttribute does work ,but the same statement doesn't work when I use this jsp as my portlet.The error is given below.So portal doesnot support this method's ? Met

  • [SOLVED] Printer prints wrong size from GIMP

    Dear friends, I have a printer HP Photosmart 5520. I set up the printer with the HP Device Manager. I like to use GIMP to print a file with exact measurements, which is an image on the paper which is 12cm in width, the page is A4, so is my printer. O

  • Is there any Oracle database that can run on Windows ME?

    For the millions of us who have computers running Windows ME, particularly laptops, and don't want to switch to memory hog XP, is there any Oracle database software that will run? Any workarounds out there? Currently, you get problems with the produc