Porting of Sybase Application to Oracle 8i under Solaris

Dear All
I want to port an application from sybase 10.2 which is running under Solaris to Oracle 8I under Solaris. Apart from database objects and stored procedures which I have already converted I wan to conver some C Codes and Unix Scripts
Which are either shell scripts or perl programs. I need all of your valuable suggestions in this regard.
Q-1 . In the Perl Program the following lines are sybase specific
Use Sybase:: Dblib
Require /files0/apps/local/lib/perl15/Sybase/sybperl.pl;
What will be the equivalent for ORACLE.
Suggest what perl I should use in this context.
In continuation to the above also I have some shell variables assigned as follows
$SYB_SERVER=SYB_PROD_CERT;
$SYB_DATABASE=APPLDB;
$ENV{SYBASE}=/sybase/10.0.4;
$ENV{DSQUERY}=$SYB_SERVER
$SYB_USER=keshav;
$SYB_PWFILE=/myappl/processcert/passwords/$SYB_SERVER;
$SYB_PW=/usr/bin/cat $SYB_PWFILE;
chop($SYB_PW);
dbmsghandle(message_handler);
dberrhandle(error_handler);
( ($dbproc = &dblogin($SYB_USER,$SYB_PW,$SYB_SERVER)) != -1 );
( &dbuse($dbproc, $SYB_DATABASE) != -1 );
( ($dbproc2 = &dblogin($SYB_USER,$SYB_PW,$SYB_SERVER)) != -1 );
( &dbuse($dbproc2, $SYB_DATABASE) != -1 );
sub Statistics
# get distinct sub-cat counts
( &dbcmd($dbproc, "select count(*),orgnumber,name=(select servicerorgname from servicer where servicer.orgnumber=transactionlog.orgnumber) from transactionlog group by orgnumber order by count(*) desc\n") != -1 );
&dbsqlexec($dbproc);
&dbresults($dbproc);
$row = DBROWS( $dbproc );
2. One of the Sample C Program is given here which I want to convert into pro*c.
I would like to know what are the corresponding libraries of oracle under
Solaris are to be used and also the respective header files mapping of Sybase
To Oracle. Any comment of this will be appreciated.
#include "sql.h"
#include "unix.h"
#include <stdlib.h>
#ifndef SQL_INCLUDED
#define SQL_INCLUDED
#include <sybfront.h>
#include <sybdb.h>
/*#include "sybdbex.h"*/
/* #include <syberror.h>*/
#endif     
/* LogonToServer(char server[]) */
/*----------------------------------------------------------------------sra-*/
DBPROCESS *LogonToServer(char server[], char datab[], char user[],
char passwd[], char appname[] )
PCHAR szTemp;
char data[1000];
int result;
long l;
DBPROCESS *dbp;
LOGINREC *login;
/* initiailize library */
if ( dbinit() == FAIL)
printf("DB Initialization failed!\n");
exit(1);
/* install user supplied error handling and message handling routines*/
dberrhandle(err_handler);
dbmsghandle(msg_handler);
/* get LOGINREC structure and fill */
login = dblogin();
DBSETLUSER(login,user);
DBSETLPWD(login,passwd);
DBSETLAPP(login,appname);
/* get a DBPROCESS structure for communicating with the server */
if ((dbp = dbopen(login,server)) == NULL)
printf("dbopen failed on server: %s\n",server);
exit(1);
dbcmd(dbp,strcat("use ",datab));
dbsqlexec(dbp);
result=dbresults(dbp);
return dbp;
/* LogoutOfServer() */
/*----------------------------------------------------------------------sra-*/
void LogoutOfServer(DBPROCESS *dbproc)
DBPROCESS *dbp2;
dbclose( dbproc );
return;
int err_handler(DBPROCESS *dbproc,int severity,int dberr,int oserr,
char dberrstr,char oserrstr)
if ((dbproc == NULL))
return(INT_EXIT);
else
fprintf(ERR_CH, "DB-LIBRARY error:\n\t%s\n",dberrstr);
if (oserr != DBNOERR)
fprintf(ERR_CH,"Operating-system error:\n\t%s\n",oserrstr);
return(INT_CANCEL);
int msg_handler(DBPROCESS *dbproc, DBINT msgno, int msgstate, int severity,
char msgtext,char srvname,char *procname,DBUSMALLINT line)
return 0;

Hello
The "-D_BIG_ENDIAN" shows you that the code is endian-dependent. This means that the program cannot be ported 1:1 because x86 is little endian while Sparc is big-endian.
I would first try to use "-D_LITTLE_ENDIAN" (or what flag ever I can find in the source codes) and to compile for x86.
Because of the "-D_BIG_ENDIAN" different source code is used for both machines. Maybe the little-endian source code is wrong:
#ifdef _BIG_ENDIAN
// correct source code for Sparc
#else
// INCORRECT source code for x86
#endifMartin

Similar Messages

  • How to port custom forms application from oracle apps to standard Forms

    Hi All
    I have developed a small custom forms application inside Oracle EBS.
    I have used the TEMPLATE.fmb for all of my custom forms and followed all the standard metalink docs for building a custom forms application inside Oracle EBS 11i.
    Now i kindly want to ask if there is any possibility on hos to port this custom application in a standard forms and reports services with oracle database, not using the Oracle EBS technology stack.
    Is there any doc or step by step procedures?
    thank you very much in advance
    Soni

    Now i kindly want to ask if there is any possibility on hos to port this custom application in a standard forms and reports services with oracle database, not using the Oracle EBS technology stack.If you want to register this custom form and integrate it with EBS then you need to do it from EBS.
    Is there any doc or step by step procedures?https://forums.oracle.com/forums/search.jspa?threadID=&q=custom+AND+form+AND+register&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    https://forums.oracle.com/forums/search.jspa?threadID=&q=custom+AND+application+AND+register&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • Oracle 10g under solaris 10.

    Hi people, i have installed a Oracle 10g under a solaris 10 zone.
    The installation was completed sucefull.
    but when i will try to startup the instance ...
    [ @ORCL]: ./sqlplus "sys/secure as sysdba"
    SQL*Plus: Release 10.2.0.1.0 - Production on Thu Sep 22 10:24:03 2005
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Connected to an idle instance.
    SQL> startup nomount
    ORA-32004: obsolete and/or deprecated parameter(s) specified
    ORA-00600: internal error code, arguments: [keltnfy-ldmInit], [46], [1], [], [], [], [], []
    SQL> Disconnected
    I also have Oracle 10g installed an running, but under GLOBAL zone.
    There is any kind of restrinction ?
    Thanks !

    No, i couldn�t do this procedure.
    I installed the product using a custom response file.
    I have those vars.
    ORACLE_SID=ORCL
    ORACLE_HOME=/oracle/10.2.0/
    i already have a initORCL.ora
    My file contains:
    db_name=SOLARIS
    db_files = 80 # SMALL
    db_file_multiblock_read_count = 8 # SMALL
    db_block_buffers = 100 # SMALL
    shared_pool_size = 123232153 # SMALL
    log_checkpoint_interval = 10000
    processes = 50 # SMALL
    log_buffer = 32768 # SMALL
    max_dump_file_size = 10240 # limit trace file size to 5 Meg each
    global_names = TRUE
    control_files = (oradata/ora_control1, oradata/ora_control2)
    The error that i posted in first post ocurrs when i try to startup the instance.
    Until now, i never ever saw a detailed document with a how to install Oracle 10g UNDER zones.
    In global zone, there are now problem :))
    Please, help-me :)
    Regards !

  • Ressource Usage under Solaris

    Hi everybody,
    I'm a newbie and I created four data bases on Oracle 9i under
    Solaris. Ech data bases uses about 400 MB of memory. Is that a
    normal value? Basically there is no data in the data bases, yet.
    I created them as general data bases with the wizard.
    Thanks for any comments or hints.
    Best regards,
    Ingo

    Michael ,
    If you are looking for the amount of physical memory on your system,
    use the 'prtconf' command. If you would like to get some virtual
    memory page statistics, use the 'vmstat' command. If you would like to
    find out about the memory allocated to a particular process, use
    'ps -e -opid,vsz,rss,args'. The only problem is the different behavior on
    different versions of Solaris. Check the man pages to find out about
    the usage of each command.
    A good tool is 'prtmem' in the MemTool package which can be
    downloaded anonymously from playground.sun.com in /pub/memtool/
    or goto www.solarisinternals.com . The MemTool tools are reported to
    work on Solaris 2.6 to 2.8. The 'prtmem' tool will break down the
    memory usage as follows.
    1) Total Memory - approx. total memory
    2) Kernel Memory - memory allocated to the kernel
    3) Application - amount of anonymous pages in memory
    4) Executable & libs - amount of executable and shared library pages
    in memory
    5) File Cache - amount of file cache not on free list
    6) Free, file cache - amount of file cache on free list
    7) Free, free - memory that is free
    Please note that the "Free, free" number is usually very close,
    if not equal, to zero. This is due to the VM systems use of the free
    memory to cache files.
    The ultimate resource for this type of info, from a kernel perspective, is
    the "Solaris Internals" book written by Mauro and McDougall. I
    recommend it highly!
    HTH,
    Rob

  • Installing Oracle 8i in Solaris Intel Version With Pentium 4

    Hi Guys,
    I am trying to Install Oracle 8i under Solaris 8 Intel version with Pentium 4 processor fixed.But iam'nt able to continue after I click "Install" button,the runInstaller exited badly with no response.I was told that even Installing Oracle under Windows P4 is facing the same problem,but on searching I got solution by renaming a DDL file before starting installation.Is there any similar method to do for installing it under p4 processor on solaris intel 8 version.

    Dear Mr. Kumar, i am chandrasekaran from singapore, actualy i need your help regarding the intel sun os oracle. I have Intel Based SUN OS, but i try to get Oracle CD Any version either 8i or 9i for intel sun os.
    One of my friend have the cd but it already damaged so that i need your help.
    My address
    S.Chandrasekaran, Blk 84 #07-93, Commonwealth close, Singapore 140084. If you have the cd you make one copy for me and send by post. Thank you
    My email id: [email protected] or yahoo.com
    by chandran.s

  • Why do I get timeouts with a GPIB-ENET/100 under Solaris that I did not get with GPIB-ENET.

    We have an existing application that works fine under Solaris 2.6 and Solaris 7 with a GPIB-ENET. When we swap the GPIB-ENET with a GPIB-ENET/100, we get devices timeouts all the time.

    Hello-
    Unfortunately, it's difficult to determine any possible cause for this occurance. It was mentioned in a previous email that the instrument will communicate for a few commands. When does the timeout happen? What command fails? Also, what type of instrument is connected (make, model, etc)? Is this a timeout from the write or read? What is the distance of the Ethernet from the host? Is it possible that another machine is accessing the GPIB-ENET/100? Would it be possible to include the code that communicates with this instrument? Does ibic or VISAic communicate with the instrument without timeouts?
    Hopefully, this information can pinpoint the exact cause of the timeout.
    Randy Solomonson
    Applications Engineer
    National Instruments

  • What is the best approach to portalize a struts application to oracle porta

    Hey guys,
    what is the best approach to portalize a struts application to oracle portal... would it by created PDK Portlets or JSR 168 portlets... and is there any direction to do so... can some one please him this girl in need...

    HELLO!!! WELCOME BACK!! I THINK YOU SHOULD USE
    deploy....Hey Thanks.
    is there any network congestion OR any other problem that i can anticipate before i use "deploy" utility. I have heared of some problems(i couldn't remember them now ....because honestly, i couldn't understand them atall when a BEA consultant told me those...).
    so, any problem that may arise ....that i need to think about before deploying ~10 applications to like ~70-80 clusters ....all at a time.
    thanks again for your advise. iam learning to see the big picture of application deployment.
    -sangita

  • ApEx 2.1.0.00.39 as Partner Application in Oracle AS Single Sign-On

    Hi,
    I've installed the last Application Express 2.1.0.00.39 (oracle-xe-10.2.0.1-1.0.i386.rpm and oracle-xe-univ-10.2.0.1-1.0.i386.rpm) but, when I try to "create an authentication scheme" for configure an ApEx application to use SSO under
    Home>Application Builder>Application xxx>Shared Components>Authentication Schemes>Create Authentication Scheme
    in the second step of the procedure I don't find the choice "Oracle Application Server Single Sign-On (Application Express engine as Partner App)".
    I found only these:
    - Show Built-In Login Page and Use Open Door Credentials
    - Show Login Page and Use Application Express Account Credentials
    - Show Login Page and Use Database Account Credentials
    - Show Login Page and Use LDAP Directory Credentials
    - No Authentication (using DAD)
    even if under the help voice "V Information" the others two are describes:
    Oracle Application Server Single Sign-On (Application Express engine as Partner App) delegates authentication to the Oracle Application Server Single Sign-On (SSO) Server. This Application Express site must have already been registered as a partner application with the SSO server. For more information, contact your administrator.
    Oracle Application Server Single Sign-On (My application as Partner App) delegates authentication to the SSO server. In this case, you must register an application with SSO as a partner application. See the next page for more details.
    Does Someone know how to resolve it?
    Thanks
    Emanuele

    Thanks for all your help Scott
    I've added the -PORTAL_SSO- .....
    After this I've had a new problem same to this: Re: SSO Authentication Not Working
    "get the error below and it then directs me to http://hostx/htmldb/f? and the "p=" is missing"
    But after a lot of tests I discovered where was the problem: "The apache configuration for the proxy!!"
    This an extract from the installation doc :
    SetEnv force-proxy-request-1.0 1
    ProxyPass /htmldb http://127.0.0.1:8080/htmldb
    ProxyPassReverse /htmldb http://127.0.0.1:8080/htmldb
    ProxyPass /i http://127.0.0.1:8080/i
    ProxyPassReverse /i http://127.0.0.1:8080/i
    ProxyPass /sys http://127.0.0.1:8080/sys
    ProxyPassReverse /sys http://127.0.0.1:8080/sys
    where you replace 127.0.0.1 with the name OR ip address of your XE installation. 8080 is the default http port of your XE installation. "
    Well, I used the IP ADDRESS and in the @regapp > listener_token the NAME!!! (HTML_DB:servername.domain:80)
    I changed the IP ADDRESS with the NAME, restarted the httpd service and now all works fine.
    Emanuele

  • Error while deploying adf application on oracle cloud service

    hello, i hv registered oracle cloud service for java and database. i hv created simple adf application in which there are 2 jsf pages only linked together. I m using oracle jdeveloper 11gr2. so i hv created ear file for deployment on cloud. i deployed adf application on cloud using java console. But, after uploading application, deployment was failed. I tried 3 times this, but the result was same. I checked log, where i got 3 warnings in whitelist log and error in deploy log. Those are as follows:
    Warnings in   whitelist log:
    2013-04-14 06:57:11 CDT: Starting action "API Whitelist"
    2013-04-14 06:57:11 CDT: API Whitelist started
    2013-04-14 06:57:12 CDT: WARNING - There are 3 warnings(s) found for Testapp.ear.
    2013-04-14 06:57:12 CDT: WARNING - Path:Testapp.ear (3 Warnings)
    2013-04-14 06:57:12 CDT: WARNING - Path:Testapp.ear (3 Warnings)
    2013-04-14 06:57:12 CDT: WARNING - Path:Test_ViewController_webapp.war (3 Warnings)
    2013-04-14 06:57:12 CDT: WARNING - Path:WEB-INF**** (1 Warning)
    2013-04-14 06:57:12 CDT: WARNING - 1:Recommended child element "login-config" missing under element /
    javaee:web-app.
    If you want to make your application public, you can have empty
    <login-config/> in your web.xml. If you need authentication then you must
    have <login-config> and its child <auth-method> element in web.xml.
    Without this element(<login-config>), users may be challenged by SSO, but
    the application code will be executed as anonymous user only. Line No:4.
    2013-04-14 06:57:12 CDT: WARNING - Path:WEB-INF**** (2 Warnings)
    2013-04-14 06:57:12 CDT: WARNING - 1:Recommended child element "jsp-descriptor" missing under element /
    orcl-weblogic:weblogic-web-app.
    If you have a JSP file that is not pre-compiled, The compilation errors
    could be shown on the browser. It is recommended to include
    <jsp-descriptor><verbose>false<****><****-descriptor> in weblogic.xml.
    Line No:2.
    2013-04-14 06:57:12 CDT: WARNING - 2:Recommended child element "session-descriptor" missing under element /
    orcl-weblogic:weblogic-web-app.
    You will be required to have distinct cookie-path, if multiple
    applications are accessed with in the same SSO session or if you have
    multiple applications with different auth-method(CLIENT-CERT, FORM, BASIC)
    in the same service instance.
    Line No:2.
    2013-04-14 06:57:12 CDT: WARNING - Testapp.ear had 3 warning(s).
    2013-04-14 06:57:12 CDT: INFO - Whitelist validation has completed with 0 error(s) and 3 warning(s).
    2013-04-14 06:57:12 CDT: Whitelist validation passed.
    2013-04-14 06:57:12 CDT: "API Whitelist" complete: status SUCCESS
    and Error in deploy log:
    2013-04-14 06:57:12 CDT: Starting action "Deploy Application"
    2013-04-14 06:57:12 CDT: Deploy Application started
    2013-04-14 06:57:15 CDT: weblogic.application.ModuleException: Failed to load webapp: Test-ViewController-context-root because of DeploymentException: java.lang.ClassNotFoundException: oracle.adf.view.faces.bi.webapp.MapProxyServlet
    2013-04-14 06:57:15 CDT: WL action state: failed
    2013-04-14 06:57:15 CDT: Action FAILED with WL action state: failed
    2013-04-14 06:57:15 CDT: Check the server log of your Java cloud service for more info about the failure.
    2013-04-14 06:57:16 CDT: Application deployment failed.
    2013-04-14 06:57:16 CDT: "Deploy Application" complete: status FAILED
    I am using jdeveloper 11gr2, so pls dont tell me to use jdeveloper 11gr1. because, i hv already developed an application for my final year B.Tech and i cant migrate to previous release. So there is only one way for me by generating ear file and deploying from console.
    So,
    I m not getting what is the problem and what will be solution for this?
    What should i do?
    What changes should required?
    pls, help me to get out from this problem !!!!!

    Well, I guess you have a problem here. Check http://multikoop.blogspot.de/2012/12/deploying-adf-applications-into-oracle.html and from this
    >
    Note: In its current stage Oracle Java Cloud Service runs WebLogic Server 10.3.6 with the appropriate Runtime ADF 11.1.1.6. Deployment of ADF 11gR2 Applications is currently not supported. Beside this limitation some ADF Features are not supported on the Oracle Cloud. According to the Oracle Cloud Documentation it is not supported to use the following ADF features
    ADF Desktop Integration
    ADF mBean
    ADF MDS (Seeded customizations or cross-session personalization)
    ADF Mobile
    ADF Active Data Services (=> No real-time ADF Web Apps in Oracles Cloud)
    ADF Business Components services interfaces (web services) or events
    ADF Data Controls for BI, Essbase, BAM, and JMX
    Further there are some restrictions which are good to know I think
    No Java Mail API (=>Sending Mails is prohibited)
    No File system access by deployed applications (=>Writing files is prohibited)
    No Direct use of Oracle JDBC Driver APIs
    No Java Message Service (JMS)
    Max Size for deployment archive 95MB
    >
    I hope for you that the information from the blog has changes in the meantime (blog is from end of last year). Check the current doc for the cloud ...
    Timo

  • How to deploy hibernate application in Oracle Content Management  SDK?

    Hi All,
    I have a hibernate application which is perfectly working in Tomcat Server. I need to deploy the application under an OC4J Instance of Oracle Content Management SDK.
    I have deployed the application under one OC4J Instance, but when I submitting the login page of the application, some errors are coming. The error is given below.
    06/03/16 16:16:43 Started
    06/03/16 16:17:04 vidushiapp: jsp: init
    06/03/16 16:17:04 vidushiapp: LOGGING: init
    06/03/16 16:17:04 vidushiapp: LOGGING: [WebStarterAppServlet 1] init() called.
    06/03/16 16:17:04 vidushiapp: Started
    06/03/16 16:17:06 vidushiapp: NodeGuardian:
    06/03/16 16:17:06 vidushiapp: NodeGuardian: Oracle Content Management SDK
    06/03/16 16:17:06 vidushiapp: NodeGuardian: Node Guardian 9.0.4.2.2
    06/03/16 16:17:06 vidushiapp: NodeGuardian: Copyright (c) 2000, 2004 Oracle. All rights reserved.
    06/03/16 16:17:06 vidushiapp: NodeGuardian:
    06/03/16 16:17:06 vidushiapp: NodeGuardian: Domain = ifs://ritesh:1521:CMSDK.daffodildb.com:CM_SCHEMA
    06/03/16 16:17:06 vidushiapp: NodeGuardian: Node = Sample2HttpNode
    06/03/16 16:17:06 vidushiapp: NodeGuardian: ProcessId = 1456
    06/03/16 16:17:06 vidushiapp: NodeGuardian: Guarded = false
    06/03/16 16:17:06 vidushiapp: NodeGuardian: JavaCommand = java
    06/03/16 16:17:06 vidushiapp: NodeGuardian: LogLevel = 4
    06/03/16 16:17:06 vidushiapp: NodeGuardian: RemoterLogLevel = 2
    06/03/16 16:17:06 vidushiapp: NodeGuardian: LogRotationPeriod = 0
    06/03/16 16:17:06 vidushiapp: NodeGuardian:
    06/03/16 16:17:06 vidushiapp: NodeGuardian: Creating E:/OraHome/ifs/cmsdk\log\ritesh_1521_CMSDK_daffodildb_com_CM_SCHEMA\Sample2HttpNode_HTTPNodeGuardian.pid file
    06/03/16 16:17:06 vidushiapp: NodeGuardian: RemoterType = SocketRemoter
    06/03/16 16:17:06 vidushiapp: NodeGuardian: GuardianLocator = ifs_socket://admin:53153
    06/03/16 16:17:06 vidushiapp: SocketRemoter: Listening on 192.168.0.241:53153
    06/03/16 16:17:06 vidushiapp: SocketRemoter: Initialized
    06/03/16 16:17:06 vidushiapp: NodeGuardian: Ready
    06/03/16 16:17:13 vidushiapp: NodeGuardian: Unguarded node manager started as Sample2HttpNode
    06/03/16 16:17:13 vidushiapp: NodeManager:
    06/03/16 16:17:13 vidushiapp: NodeManager: Oracle Content Management SDK
    06/03/16 16:17:13 vidushiapp: NodeManager: Node Manager 9.0.4.2.2
    06/03/16 16:17:13 vidushiapp: NodeManager: Copyright (c) 2000, 2004 Oracle. All rights reserved.
    06/03/16 16:17:13 vidushiapp: NodeManager:
    06/03/16 16:17:13 vidushiapp: NodeManager: Domain = ifs://ritesh:1521:CMSDK.daffodildb.com:CM_SCHEMA
    06/03/16 16:17:13 vidushiapp: NodeManager: Node = Sample2HttpNode
    06/03/16 16:17:13 vidushiapp: NodeManager: ProcessId = 1456
    06/03/16 16:17:13 vidushiapp: NodeManager: DomainController Locator = ifs_socket://admin:53140
    06/03/16 16:17:13 vidushiapp: NodeManager: Oracle Home = E:/OraHome
    06/03/16 16:17:13 vidushiapp: NodeManager: CM SDK Home = E:/OraHome/ifs/cmsdk
    06/03/16 16:17:13 vidushiapp: NodeManager: LogLevel = 4
    06/03/16 16:17:13 vidushiapp: NodeManager: RemoterLogLevel = 2
    06/03/16 16:17:13 vidushiapp: NodeManager:
    06/03/16 16:17:13 vidushiapp: NodeManager: RemoterType = SocketRemoter
    06/03/16 16:17:13 vidushiapp: NodeManager: ManagerLocator = ifs_socket://admin:53154
    06/03/16 16:17:13 vidushiapp: SocketRemoter: Listening on 192.168.0.241:53154
    06/03/16 16:17:13 vidushiapp: SocketRemoter: Initialized
    06/03/16 16:17:14 vidushiapp: NodeGuardian: Log level set to 4
    06/03/16 16:17:14 vidushiapp: NodeManager: Log level set to 4
    06/03/16 16:17:14 vidushiapp: NodeGuardian: Remoter log level set to 2
    06/03/16 16:17:14 vidushiapp: NodeManager: Remoter log level set to 2
    06/03/16 16:17:14 vidushiapp: NodeGuardian: Node manager registered
    06/03/16 16:17:14 vidushiapp: NodeManager: Ready
    06/03/16 16:17:14 vidushiapp: NodeManager: Initialize: determining default services and servers
    06/03/16 16:17:14 vidushiapp: NodeManager: Initialize: starting service IfsDefaultService
    06/03/16 16:17:53 vidushiapp: NodeManager: Service IfsDefaultService started
    06/03/16 16:17:53 vidushiapp: NodeManager: Initialize: loading server WebStarterAppServer
    06/03/16 16:17:54 vidushiapp: NodeManager: Server WebStarterAppServer loaded
    06/03/16 16:17:54 vidushiapp: NodeManager: Initialize: setting priority of server WebStarterAppServer to 5
    06/03/16 16:17:54 vidushiapp: WebStarterAppServer: Priority change requested (old priority 5, new priority 5)
    06/03/16 16:17:54 vidushiapp: NodeManager: Initialize: starting server WebStarterAppServer
    06/03/16 16:17:54 vidushiapp: WebStarterAppServer: Requested to start
    06/03/16 16:17:54 vidushiapp: NodeManager: Initialize: loading server DavServer
    06/03/16 16:17:54 vidushiapp: WebStarterAppServer: Starting
    06/03/16 16:17:55 vidushiapp: WebStarterAppServer: WebStarterAppServer registered under WebStarterAppServer
    06/03/16 16:17:55 vidushiapp: WebStarterAppServer: Started
    06/03/16 16:17:55 vidushiapp: WebStarterAppServer: WebStarterAppServer: run called
    06/03/16 16:18:13 vidushiapp: NodeManager: Server DavServer loaded
    06/03/16 16:18:13 vidushiapp: NodeManager: Initialize: setting priority of server DavServer to 5
    06/03/16 16:18:13 vidushiapp: DavServer: Priority change requested (old priority 5, new priority 5)
    06/03/16 16:18:13 vidushiapp: NodeManager: Initialize: starting server DavServer
    06/03/16 16:18:13 vidushiapp: DavServer: Requested to start
    06/03/16 16:18:14 vidushiapp: NodeManager: Initialize: loading server ServiceWarmupAgent
    06/03/16 16:18:14 vidushiapp: DavServer: Starting
    06/03/16 16:18:14 vidushiapp: DavServer: Started
    06/03/16 16:18:14 vidushiapp: NodeManager: Server ServiceWarmupAgent loaded
    06/03/16 16:18:14 vidushiapp: NodeManager: Initialize: setting priority of server ServiceWarmupAgent to 5
    06/03/16 16:18:14 vidushiapp: ServiceWarmupAgent: Priority change requested (old priority 5, new priority 5)
    06/03/16 16:18:14 vidushiapp: NodeManager: Initialize: starting server ServiceWarmupAgent
    06/03/16 16:18:14 vidushiapp: ServiceWarmupAgent: Requested to start
    06/03/16 16:18:14 vidushiapp: NodeManager: Initialize: complete
    06/03/16 16:18:14 vidushiapp: ServiceWarmupAgent: Starting
    06/03/16 16:18:14 vidushiapp: ServiceWarmupAgent: Started
    06/03/16 16:18:14 vidushiapp: ServiceWarmupAgent: Starting
    06/03/16 16:18:14 vidushiapp: ServiceWarmupAgent: Service warmup starting
    06/03/16 16:18:14 vidushiapp: ServiceWarmupAgent: set administration mode
    06/03/16 16:18:14 vidushiapp: ServiceWarmupAgent: warming up Format cache
    06/03/16 16:18:14 vidushiapp: ServiceWarmupAgent: warming up Media cache
    06/03/16 16:18:14 vidushiapp: ServiceWarmupAgent: Service warmup complete
    06/03/16 16:18:14 vidushiapp: ServiceWarmupAgent: Stopping Service Warmup Agent
    06/03/16 16:18:14 vidushiapp: ServiceWarmupAgent: Requested to stop
    06/03/16 16:18:14 vidushiapp: ServiceWarmupAgent: Stopping
    06/03/16 16:18:14 vidushiapp: ServiceWarmupAgent: Timer stopped
    06/03/16 16:18:14 vidushiapp: ServiceWarmupAgent: postRun
    06/03/16 16:18:14 vidushiapp: ServiceWarmupAgent: Stopped
    06/03/16 16:18:50 vidushiapp: Servlet error
    javax.faces.FacesException: Error calling action method of component with id id32:id45
         at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:74)
         at javax.faces.component.UICommand.broadcast(UICommand.java:106)
         at javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:90)
         at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:164)
         at org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:271)
         at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:94)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:122)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:663)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:224)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)
    Caused by: javax.faces.el.EvaluationException: Exception while invoking expression #{UserValidation.validateUser}
         at org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:153)
         at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:63)
         ... 15 more
    Caused by: java.lang.ExceptionInInitializerError
         at com.daffodilwoods.framework.queryexecuter.HibernateUtil.<clinit>(HibernateUtil.java:66)
         at com.daffodilwoods.framework.validation.UserValidation.validateUser(UserValidation.java:23)
         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 org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:129)
         ... 16 more
    Caused by: java.lang.ExceptionInInitializerError
         at com.mchange.v2.c3p0.PoolConfig.<clinit>(PoolConfig.java:93)
         at org.hibernate.connection.C3P0ConnectionProvider.configure(C3P0ConnectionProvider.java:84)
         at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:80)
         at org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:362)
         at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:60)
         at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1463)
         at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1004)
         at com.daffodilwoods.framework.queryexecuter.HibernateUtil.<clinit>(HibernateUtil.java:62)
         ... 22 more
    Caused by: java.lang.ClassCastException
         at com.mchange.v2.cfg.BasicMultiPropertiesConfig.extractPropsByKey(BasicMultiPropertiesConfig.java:150)
         at com.mchange.v2.cfg.BasicMultiPropertiesConfig.<init>(BasicMultiPropertiesConfig.java:101)
         at com.mchange.v2.cfg.BasicMultiPropertiesConfig.<init>(BasicMultiPropertiesConfig.java:39)
         at com.mchange.v2.cfg.MultiPropertiesConfig.read(MultiPropertiesConfig.java:64)
         at com.mchange.v2.cfg.MultiPropertiesConfig.readVmConfig(MultiPropertiesConfig.java:73)
         at com.mchange.v2.log.MLog.<clinit>(MLog.java:48)
         ... 30 more
    I think there is some thing missing in my configurations. Can you please tell how to deploy and run a hibernate application. Is there any problem occurs while accessing another DataBase from Oracle Content Management? What are the setting I have to do for running a hibernate application from Oracle CMSDK?
    Thanks in advance
    Basil

    Hi,
    I got the solution for my problem. The error came because of the hibernate pooling. I removed the hibernate pooling lines from my hibernate configuration file and it is working fine.lines
    Thanks
    Basil

  • Problems with Sybase 12 to Oracle 10g migration

    Hi,
    I'm using SQL Developer to test a migration between Sybase and Oracle and it doesn't work (both online and offline)
    I've create a dedicated user account and connection, with the roles and privileges required (as seen in http://download.oracle.com/docs/cd/B32485_01/doc/appdev.110/b31695/migration.htm#i1005739)
    I've created the migration repository without any problems (using the above user account).
    QUICK MIGRATION
    - select the source Sybase connection: OK
    - select the target Oracle connection: OK
    - select the referential: OK
    - verify privileges before migration: OK
    - migrate tables only and click Next
    ## window closes and nothing happens ## - nothing on Captured Model pane
    CAPTURE SOURCE SYBASE DATABASE
    - right click on the Sybase connection in the Connections pane
    - choose Capture Sybase
    ## window closes and nothing happens ## - nothing on Captured Model pane
    OFFLINE CAPTURE
    - create database capture scripts: OK
    - launch the database scripts (SYB12_OFFLINE_CAPTURE.BAT): OK
    - load database capture script output (sybase12.ocp)
    ## window closes and nothing happens ## - nothing on Captured Model pane
    I can't find any relevant logs or trace from the application.
    I even tried to use the capture file sybasemigration.zip from the "Migrating a Sybase Database to Oracle Database 11g" web page (http://www.oracle.com/technology/obe/hol08/sqldev_migration/sybase/migrate_sybase_otn.htm), but the result was the same.
    Does anyone encountered the same problems? Does someone knows where are the logs (if any)?
    Thanks in advance.
    Regards,
    Pedro

    Hi Pedro,
    What version of SQL Developer are you using?
    Can you browse your Sybase connection in SQL Developer, to see its tables for example?
    If not, then you may need to point SQL Developer to your JTDS 1.2 driver again.
    Are you capturing a non system database ? SQL Developer wont migration master or tempdb ...
    Can you try running SQL Developer from the command line and watch the command line for any errors during the capture.
    \sqldeveloper\bin\sqldeveloper.exe
    Regards,
    Dermot
    SQL Developer Team

  • Deployment of ADF Application in Oracle  Application  server

    I am tring to deploy my application in Oracle 10.1.3 SOA Suite server. But, during deployment time of my xyz.deploy file I am getting following error ->
    Binding GlobalSalesService6.0 web-module for application GlobalSalesService6 to site default-web-site under context root GlobalSales
    Exception: NoClassDefFoundError: oracle/adf/view/faces/event/industrial/VirtualFunctionKeyActionEvent
    Operation failed with error:
    oracle/adf/view/faces/event/industrial/VirtualFunctionKeyActionEvent
    Deployment failed
    Please help me to solve the problem. My application is running fine in my embedded OC4J server in JDeveloper.

    I met the same problem too.
    I'm using oc4j 10.1.3.1 and install ADF runtime using adfinstaller.jar.
    does anybody know how to solve this problem?

  • Sybase NULL to Oracle - Error with Fail

    Hi,
    We are doing migration from Sybase 12 to oracle 9i using Oracle Migration Work Bench . Though we are able to successfully perform the migration , with all object count matching once migrated. When we launch our peoplesoft application on top of the migrated database and start browsing thru it, it throws up error like “Error: PS_ABSENCE_HIST - Alter failed due to an unknown column type (CLOB) found for field COMMENTS. (76,22)”. Though the actual datatype value of this column in Sybase is text and when we try to migrate it defaults to CLOB.
    The same we try to migrate thru peoplesoft provided tool datamover, the column datatype is LONG. But now we mapped the datatype value of text to long and started migrating . At this point, where Sybase value is NULL, Oracle Migration Work Bench is not able to insert data for such value.
    Any idea of how to resolve this issue.
    [email protected]

    venuhi,
    At this point, where Sybase value is NULL, Oracle Migration Work Bench is not able to insert data for such value.There is a difference between sybase and oracle in terms with dealing with nulls, in oracle an empty string is null. The workbench can be configured to put a string in place of a null, such as a single space.
    What specifically is going wrong for you in your use of the workbench, is it replacing null with a single space, or is the tool stopping, and if the tool is stopping, what is the output of the error on the screen and the results of Error.log file. Enough details should be available to write a reproducible testcase and log a bug.
    Regards,
    Turloch
    Oracle Migration Workbench Team.

  • Migrating table from Sybase 12 to Oracle 10g

    Hi ,
    We have a situation where we have to migrate multiple Sybase databases to Oracle10g . These multiple database have same set of tables but different data in these tables on each sybase database ( data differ, based on location or region wise but same table name and structure). We want to migrate all these sybase database to Oracle 10g and in single database, which involves inserting data from multiple tables ( though they exist on different database in sybase) into single Oracle table.
    for example if we have a table 'TESTK' that exist on five different sybase database but with different region wise data. I want to bring data from these five tables( Five as they exist in five differet sybase databases) and insert them into a single oracle table 'TESTK' .
    Have anybody ever face such scenerio , what are all possible approch please suggest. Once data is inserted into oracle table i need to partitioned this oracle table as well.

    It is not quite clear whether you have multiple tables (referencing each other) in multiple sybase databases or either one table or several non connected tables in multiple sybase databases.
    In the first case of course your task is harder because you need to keep references and most probably you cannot blindly copy data from db 1, db 2 and unite them because they can have the same id's coming from different sources.
    In the second case your task of course is much easier you can simply load all your data in Oracle tables either using some interim tables (if you need to filter out duplicates) or load data straight into target tables if you are sure you haven't duplicates.
    Also another question in case 1 is whether intersection of your data is 0 rows i.e. all data are completely different in each source db or not.
    So I'm sure you can find tools for blindly moving data from sybase to Oracle, although if you need to do some more complex filtering, computation or whatever you most probably need to write it yourself.
    I'v done a few data conversion projects from one schema to another and as the requirements were quite complex the only possibility for us was to initiate a separate data conversion project and create conversion software (pl/sql packages manually).
    You can find an overview of our approach in my article "Data migration from old to new application: an experience" here http://www.gplivna.eu/papers/legacy_app_migration.htm
    Gints Plivna
    http://www.gplivna.eu

  • Migrating existing Developer 6.0 application to Oracle 9iAS

    Hi everybody.
    I am using HP-UX 10.2 (Unix) as my OS for running Oracle 8.0.2. All my application users are in Windows 98 using Developer 2000. Now my concern is I want to bring in an application server (Oracle 9iAS) and make all the users use this application server keeping my DB as it is.
    What can be done to change all my forms and reports to Oracle 9iAS.
    Suggestions will be well appreciated
    Regards
    Shaji Chacko

    Hi,
    I had the same problem than you.Gina from Oracle told me than
    Developer is not compatible with Personal Oracle8 ( 8.0.3 or
    8.0.4) in a standalone environment. You can use Developer 6.0
    with Oracle Entreprise Edition 8.0.5 or any edition of Oracle 8i.
    If you have better solution please let me know
    Thanks in advance
    Francois Leroux
    Nam Ron (guest) wrote:
    : Hi,
    : I installed Developer 6.0 and Personel Oracle 8.0.4 under
    : diffence HOME, but I can make the connection from Developer to
    : Personel Oracle, any solution?
    : Thanks in advance
    null

Maybe you are looking for