Unix setup
hello
i am familiar with manual database creation on windows platform.
-oradim to create a service
-orapwd to create a password file
run the create database scritp...
but is it the same steps on unix based systems ?
what diffrences are there
oracle 10g
thanks for your kind help
I am not sure if you have any specific reasons to do it manually, but I would rather use dbca. Since 8i the usage for both UNIX and Windows platform have become uniform. The undrlying difference in the OS remain (outside ORACLE realm).
dbca/emca/grid make life lot easier if you have to manage several database across multiple platforms (solaris/aix/linux/windows/hpux)
my 1/2 a cent worth thought
Similar Messages
-
Unable to use WriteBack function in OBIEE on a Unix setup
Hi All
I am trying to implement the writeBack function in OBIEE. We have OBIEE installed on a Unix machine. Below is the xml that I have writte, it keeps erroring stating that the xml file cannot be read.
<?xml version="1.0" encoding="utf-8" ?>
<WebMessageTables xmlns:sawnm="com.siebel.analytics.web/message/v1">
<WebMessageTable lang="en-us" system="WriteBack" table="Messages">
<WebMessage name="forecast">
<XML>
<writeBack connectionPool="MOM_BI">
<Insert></Insert>
<Update>UPDATE STORE SET STORE_NAME='{@c1}' WHERE STORE={@c0}</Update>
<postUpdate>COMMIT</postUpdate>
</writeBack>
</XML>
</WebMessage>
</WebMessageTable>
</WebMessageTables>
Below is the log that I've received from OBIEE:
Error loading XML Message File (/app/oracle/product/OBIEE10133/OracleBI/web/msgdb/CustomMessages/forecast.xml): Sax parser returned an exception.
Message: Invalid document structure, Entity publicId: /app/oracle/product/OBIEE10133/OracleBI/web/msgdb/CustomMessages/forecast.xml, Entity systemId: , Line number: 2, Column number: 1^M
Error Codes: UH6MBRBC^M
Could you please let me know what is wrong with my xml file? By the way I only want to do an update to my table. Also I have followed all the examples from Venkat and others but I stil cannot get it to work.
Regards
AdnanIt's already good to know that the file gets picked up.
What I don't understand: "The log files are not being updated with the error however when I re-save my Answer it is populating the log file to state that the object already existed."?
I had to put a fake "insert" statement to get it working once. Here's the example:
<?xml version="1.0" encoding="utf-8"?>
<WebMessageTables xmlns:sawm="com.siebel.analytics.web/message/v1">
<WebMessageTable lang="en-us" system="WriteBack" table="Messages">
<WebMessage name="ELT_Upside">
<XML>
<writeBack connectionPool="ELT_Writeback_Pool">
<update> UPDATE T_DW_LOGIC_ELT_UPSIDE SET COMMENTS='@{c0}', AMOUNT=@{c1}, LAST_UPDATED_BY='@{c6}', LAST_UPDATE_DATE=TO_TIMESTAMP('@{c7}', 'YYYY-MM-DD HH24:MI:SS.FF3') where UPSIDE_COMMENT_ID=@{c2} </update>
<insert> UPDATE T_DW_LOGIC_ELT_UPSIDE SET COMMENTS='@{c0}', AMOUNT=@{c1}, LAST_UPDATED_BY='@{c6}', LAST_UPDATE_DATE=TO_TIMESTAMP('@{c7}', 'YYYY-MM-DD HH24:MI:SS.FF3') where UPSIDE_COMMENT_ID=@{c2} </insert>
</writeBack>
</XML>
</WebMessage>
<WebMessage name="ELT_Downside">
<XML>
<writeBack connectionPool="ELT_Writeback_Pool">
<update> UPDATE T_DW_LOGIC_ELT_DOWNSIDE SET COMMENTS='@{c0}', AMOUNT=@{c1}, LAST_UPDATED_BY='@{c6}', LAST_UPDATE_DATE=TO_TIMESTAMP('@{c7}', 'YYYY-MM-DD HH24:MI:SS.FF3') where DOWNSIDE_COMMENT_ID=@{c2} </update>
<insert> UPDATE T_DW_LOGIC_ELT_DOWNSIDE SET COMMENTS='@{c0}', AMOUNT=@{c1}, LAST_UPDATED_BY='@{c6}', LAST_UPDATE_DATE=TO_TIMESTAMP('@{c7}', 'YYYY-MM-DD HH24:MI:SS.FF3') where DOWNSIDE_COMMENT_ID=@{c2} </insert>
</writeBack>
</XML>
</WebMessage>
<WebMessage name="ELT_Outlook">
<XML>
<writeBack connectionPool="ELT_Writeback_Pool">
<update> UPDATE T_DW_LOGIC_ELT_OUTLOOK SET AMOUNT=@{c4}, LAST_UPDATED_BY='@{c6}', LAST_UPDATE_DATE=TO_TIMESTAMP('@{c7}', 'YYYY-MM-DD HH24:MI:SS.FF3') where OUTLOOK_COMMENT_ID=@{c0} </update>
<insert> UPDATE T_DW_LOGIC_ELT_OUTLOOK SET AMOUNT=@{c4}, LAST_UPDATED_BY='@{c6}', LAST_UPDATE_DATE=TO_TIMESTAMP('@{c7}', 'YYYY-MM-DD HH24:MI:SS.FF3') where OUTLOOK_COMMENT_ID=@{c0} </insert>
</writeBack>
</XML>
</WebMessage>
</WebMessageTable>
</WebMessageTables>
Cheers,
C. -
Hi folks,
We have just installed 9iAS 1.0.2.1 on HPUX 11.0
Everything works fine except for the JSP demos like hello user, lottery, etc.
They all fail with the same general error. I suspect it is an environmental issue but cannot be sure as I have found nothing i the docs. Any insight is appreciated. It is important that I fix this as we are planning on installing the JPDK.
Here is the error log we receive in the browser when we run the "hello user" sample:
JSP Error:
Request URI:/demo/basic/hellouser/hellouser.jsp
Exception:
java.lang.NoClassDefFoundError: sun/tools/javac/Main
Here is the error log we receive in the browser when we run the "lottery" sample:
JSP Error:
Request URI:/demo/basic/lottery/lotto.jsp
Exception:
java.lang.NoClassDefFoundError: sun/tools/javac/Main
Thanks,
FredAdd your java tools.jar file to the classpath for JServ (assumiing you are using JServ in 9iAS). The file is usually in your jdk home directory under lib.
John H. -
JAVA+UNIX+MS_ACCESS
Anybody knows how to connect to a MsAccess DB located in a unix server ?
I tried with jdbc:odbc, but not connect.
Thnx !Access and Unix don't play very well. As I recall, you need some sort of third party software to make this happen. Most that I looked into weren't cheap.
Your best options are to either look into a Windows based server, or use a different database on your Unix setup.
HTH. -
SQL*NET V2 SETUP (MTS)
제품 : SQL*NET
작성날짜 : 1997-06-23
SQL*NET V2 SETUP (MTS)
======================
UNIX에서 SQL*NET V2를 사용하려면 ORACLE 인스톨 후에 다음과 같이 SETUP을 한
다음 사용하면 된다. 여기서
ORACLE_HOME DIRECTORY는 /usr/oracle7
ORACLE_SID는 ORA7
이라고 가정한다.
1. (단, MTS로 setting하지 않고 dedicated로 접속할 때에는 이 과정은 생략하도록
한다.)
Multi-threaded server 프로세스들을 먼저 기동을 하여야 한다.
$ORACLE_HOME/dbs/initSID.ora 화일에 다음과 같은 내용을 추가하고
DB 를 다시 startup 을 한다
# Filename : /usr/oracle7/dbs/initSID.ora
# Protocol : tcp
mts_dispatchers="tcp, 3"
mts_max_dispatchers=10
mts_servers=5
mts_max_servers=10
mts_service=ORA7
mts_listener_address="(ADDRESS=(PROTOCOL=tcp)(port=1521)
(host=hostname))"
2. tnsnames.ora 및 listener.ora 를 작성한다. 이 화일들은
/usr/oracle7/network/admin 디렉토리에 만들어야 하며 유닉스 환경변수를
TNS_ADMIN=$ORACLE_HOME/network/admin
과 같이 지정하고 사용하는 것이 좋다.
<EXAMPLE>
# File name : /usr/oracle7/network/admin/listener.ora
# This configuration supports tcp
LISTENER =
(ADDRESS_LIST =
(ADDRESS =
(PROTOCOL = tcp)
(HOST = hostname)
(PORT = 1521)
STARTUP_WAIT_TIME_LISTENER = 0
CONNECT_TIMEOUT_LISTENER = 0
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = ORA7)
(ORACLE_HOME=/usr/oracle7)
# Filename : /usr/oracle7/network/admin/tnsnames.ora
TORA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS =
(PROTOCOL = tcp)
(HOST = hostname)
(PORT=1521)
(CONNECT_DATA =
(SID = ORA7)
3. Listener process를 start한다.
$lsnrctl start
4. SQL*NET v2 를 사용하여 MTS 에 접속한다.(LOOPBACK TEST)
$ sqlplus scott/tiger@TORA
5. CLIENT에서 접속하는 경우라면 위에서 만든 tnsnames.ora 화일을 CLIENT의
$ORACLE_HOME/network/admin 디렉토리에 COPY 하기만 하면 된다.
6. 예를 들어 CLIENT가 WIN95라면 C:\ORAWIN95\NETWORK\ADMIN 디렉토리에
tnsnames.ora 화일을 COPY하면 된다. 만약 ORA-12154 에러가 발생하면
C:\ORAWIN95\NETWORK\ADMIN 디렉토리에 sqlnet.ora가 있는지 확인하고
이것을 sqlnet.old 같이 다른 이름으로 rename 한 후에 접속테스트를 해
보도록 한다. sql*plus(plus33.exe or plus33w.exe)로 접속하는 경우
다음과 같이 접속하면 된다.
USERNAME scott
PASSWORD tiger
HOST STRING TORA
* SERVER가 WINDOWS NT인 경우에는 다른 부분은 UNIX와 동일하게 setup하면
되고 단지 Listener를 띄우는 방법만 다르다.
제어판 -> SERVICES 에서 ORACLE 관련 SERVICE들을 모두 START 시켜주면 된다.This forum is for Oracle Migration Workbench issues, i.e. migration using the workbench from a non Oracle database to an Oracle database.
Here are some pointers that may be useful, but you may need to get more information elsewhere, for example Oracle Customer Support.
a Oracle 7.1 client (including your example) will connect to an Oracle 8.1.5 server.
Is the server correctly configured (can a client connect from another machine)?
Tracing can be turned on in the client, server and/or listener to get further information.
Turloch -
How to web enable NT forms for Unix Environment
We would like to convert our NT forms
to Unix forms and make them web enabled.
We are looking for any UNIX setup information we can find so that we can get started.
We have already installed DEV6i Forms and Reports and it appears the server software went down as well.
WoW the questions.
Where does OAS 4.0.8 fit into the equation?
Do we need to use a JRE on the PC's? Is Jinitiator at the PC's O.K.?
How do you use the unix product Project Builder? -- what launces it? Is it motiff?
Is their any simple documentation for how to web enable forms.
It should be so complex --
Does anyone have a check list of what software should be installed.
Any directions for how how to configure the environment?
we believe we need some sort of checklist for what to do... Can anyone give any help.You should install Oracle9iAS v1.0.2 on your unix machine. This will have The Forms services configured for you and save you all the manual settings.
Check out the internet deployment section on
http://otn.oracle.com/products/forms -
Different display on client report builder and web reports
Hi all, I have build a report in report 6i version Report Builder 6.0.8.13.1.And I set the page to 8.5*11 ,and it runs well in the client ,but when I put it on the UNIX SERVER,and run it from web URL,It displayed different from the client report builder.The web report is "smaller" than the client report ,but the font size is as same as the client .
My HPUX is 11x,and display the Chinese report .
Any body know why ?give me some advice ,thank u very much.Hi
If you had built the report definition on Windows and then moved this to Unix server, you may find different fonts in use. This is becuase your Unix setup does not have the same fonts install. At design time, You need to use fonts which are available on Unix also. The same fonts shaould also be installed for printer in Unix i.e. the AFM/PFM font files should be kept under $ORACLE_HOME/guicommonX/tkXX/admin/AFM or PFM directory. This would give you the same output and would lessen the porting affect.
Thanks
Rohit -
Newbie questions on Admin, Deployment & Answers
Hi Gurus,
Sorry to be raising questions that may have been repeated over again. I tried to search thru the net/forums but cudn't find anything useful. Really wud appreciate any help/directions/links to the answers I seek
Developement and Production Proposed environment
- OBIEE Client Tools - Windows based
- OBIEE Apps Server - Unix (HP-UX)
- DB Server - Oracle 10g
Based on our Dev R&D, we have one physical layer, 5 business models and 5 corresponding presentation layers.
Currently we are facing some issues with the Unix setup so we are proceeding with our development R&D on Windows whilst re-installing the Unix box
Administration
A1. Currently we are using our Data Source Connection Type is ODBC 3.5. As we are plan to have the Dev and Prod on Unix, what is the best Connection Type we should use?
A2. Is there any configuration when we use Unix?
Deployment
B1. Since we are performing our Dev R&D, is it possible to move all our work from the current windows environment into our Dev Unix environment?
From the forum, I found there are 2 methods
B2. - copy the directories (C:\OracleBI\server\Repository and C:\OracleBIData\web\catalog) over for Windows. Is it possible to do the same from Windows to Unix?
B3. - using Catalog Manager. How do I use this? (Cudn't find any docu for it)
Answers
C1. The total number of records is 9 but when we pull the data out from Answer the records are grouped returning only 8 records. Is there a config setting to return all the rows?
Also wud appreciate if you experts can share any tips/common practises that you practise for easier development/deployment etc? e.g. creating alises instead of using the imported table.
Thanks
BA1. It's better to use Oracle native drivers connection for an Oracle database (OCI).
A2. See [this thread|http://forums.oracle.com/forums/thread.jspa?threadID=845201].
B1. Yes, no issues.
B2. Yes, no problems. Just use FTP.
B3. Open two instances of Catalog Manager (one for your Windows Server and one for your Unix Server) and then just do Copy/Paste between them. Although it's simpler and better to copy the whole catalog using FTP as you mentioned in B2.
C1. Grouping is done by default because you have aggregable measures. Include the field that will break the records if you want to see them all. You can include a field in the criteria tab and hide it if you don't want to see it. This will force OBIEE to select it and show all records. -
How to take the cron job log in HP UX?
Hi,
How to take the cron job log in HP UX
I need to run a backup and other stuff everyday. How do I check and start cron service under HP-UX UNIX operating system? How do I write cron jobs?
A. Cron service is required to run jobs and tasks such as backup.
You must login as the root to run following commands. Each user that is using the cron service must have a cron configuration file in the /var/spool/cron/crontab directory. Also users are permitted if their name appeared in /var/adm/cron/cron.allow file
Task: Find out if cron is running under HP-UX
Type the following command at a shell prompt
# ps -ef | grep cron
Open /etc/rc.config.d/cron file
vi /etc/rc.config.d/cron
Set control variable to 1 to enable cron: CRON=1
Set control variable to 0 to disable: CRON=0
Close and save the file. To start or stop cron you can type the following command:
# /sbin/init.d/cron start <-- start cron
# /sbin/init.d/cron stop <-- stop cron
Task: HP-UX Start cron service
If cron is not running, simply type:
# cron
Task: Edit / create cron jobs
Type the following command to submit a cron job:
# crontab -e
List your cron file:
# crontab -l
Backup all your cron jobs:
# crontab -l > ~/backup.cron.jobs
Remove ALL cron job:
# crontab -r
Task: Crontab file format
Cron file format is as follows:
MIN HOUR DATE MONTH DAY /PATH/TO/COMMAND
0-59 0-23 1-31 1-12 0-6 /root/scripts/backup2tape.shEasy to remember crontab file format:
* * * * * command to be executed
| | | | |
| | | | ----- Day of week (0 - 7) (Sunday=0 or 7)
| | | ------- Month (1 - 12)
| | --------- Day of month (1 - 31)
| ----------- Hour (0 - 23)
------------- Minute (0 - 59)To run /root/script/backup at 23:00, every day, enter:
# crontab -e
Append following
0 23 * * * /root/script/backupRun foo job very weekday (MON-Fri) at 6am, enter:
0 6 * * 1-5 /root/script/backupFor more information refer to cron and crontab man pages.
Subscribe to our free e-mail newsletter or RSS feed to get all updates. You can Email this page to a friend.
Related Other Helpful FAQs:
What is Cron?
Linux Start and stop the cron or crond service
Run crontab Every 10 Minutes
Linux / UNIX Setup and run php script as a cron job
Stop Ubuntu / Debian Linux From Deleting /tmp Files on Boot
Discussion on This FAQDavid Says:
January 15th, 2008 at 12:21 am
You might note that all files normally found in /etc/init.d, /etc/rc*.d, and others are all in /sbin in HP-UX 10.20 and up.
Note too that your formatting is off in the description of the /etc/rc.config.d/cron file. Also, if you run /usr/bin/cron instead of /sbin/init.d/cron start, the /etc/rc.config.d/cron file is not used.
Regards,
SatyaI guess it would :)
btw, how did this piece miss from the contents pasted by the OP ?
The doc has given all details of CRON and missed where to see the logfiles. :)
****Added****
I tried man crontab in windows, i dont see it.i overlook most of the things, i would have done the same ;)
Edited by: Bobcatalog on Oct 23, 2008 9:40 AM -
Problem in Installing PetStore 1.3
Dears, I am facing problem in installing petstore following is my console's out put.Please advise.
I am following the same instructions provided in the docs.
E:\j2sdkee1.2.1\public_html\petstore1.3>setup
Buildfile: setup.xml
init:
help:
[echo] Before running this script, please start the cloudscape database and J2EE server by running the following commands:
[echo] <change directory to j2sdkee1.3/bin>
[echo] cloudscape -start
[echo] j2ee -verbose
create_jms_queues:
[echo] Creating JMS Queues ....
[java] java.lang.NoClassDefFoundError: com/sun/enterprise/tools/admin/AdminTool
[java] Java Result: 1
[java] java.lang.NoClassDefFoundError: com/sun/enterprise/tools/admin/AdminTool
[java] Java Result: 1
[java] java.lang.NoClassDefFoundError: com/sun/enterprise/tools/admin/AdminTool
[java] Java Result: 1
[java] java.lang.NoClassDefFoundError: com/sun/enterprise/tools/admin/AdminTool
[java] Java Result: 1
[java] java.lang.NoClassDefFoundError: com/sun/enterprise/tools/admin/AdminTool
[java] Java Result: 1
[java] java.lang.NoClassDefFoundError: com/sun/enterprise/tools/admin/AdminTool
[java] Java Result: 1
[java] java.lang.NoClassDefFoundError: com/sun/enterprise/tools/admin/AdminTool
[java] Java Result: 1
create_users:
[echo] Creating users ....
[java]
[java] Group default has been added successfully.
[java]
[java] User jps_admin has been added successfully.
[java]
[java] User rcvr has been added successfully.
create_supplier_db:
[java] java.lang.NoClassDefFoundError: com/sun/enterprise/tools/admin/AdminTool
[java] Java Result: 1
create_opc_db:
[java] java.lang.NoClassDefFoundError: com/sun/enterprise/tools/admin/AdminTool
[java] Java Result: 1
core:
[echo] The J2EE SDK is now successfully configured to run the petstore application. Please restart cloudscape and the j2ee servers, and deploy all the ear files. You can do this by issuing the fo
llowing commands:
[echo] change directory to j2sdkee1.3/bin
[echo] cloudscape -stop
[echo] j2ee -stop
[echo] cloudscape -start
[echo] j2ee -verbose
[echo] change directory to petstore1.3
[echo] setup.bat deploy (or on Unix, setup.sh deploy)
BUILD SUCCESSFUL
Total time: 22 seconds
E:\j2sdkee1.2.1\public_html\petstore1.3>cd ..
E:\j2sdkee1.2.1\public_html>cd ..
E:\j2sdkee1.2.1>cd bin
E:\j2sdkee1.2.1\bin>cloudscape -stop
URL=[jdbc:rmi:jdbc:cloudscape:]
Attempting to shutdown RmiJdbc server
RmiJdbc Server RmiAddr is: //aliawan/RmiJdbcServer
WARNING: Shutdown was successful!
E:\j2sdkee1.2.1\bin>j2ee -stop
Shutting down the J2EE server.
E:\j2sdkee1.2.1\bin>cd ../public_html
E:\j2sdkee1.2.1>cd /public_html
The syntax of the command is incorrect.
E:\j2sdkee1.2.1>cd public_html
E:\j2sdkee1.2.1\public_html>cd petstore
The system cannot find the path specified.
E:\j2sdkee1.2.1\public_html>cd petstore1.3
E:\j2sdkee1.2.1\public_html\petstore1.3>setup.bat deploy
Buildfile: setup.xml
init:
deploy:
[echo] Deploying ears ....
[java]
[java] Sender object Deploytool (Main) : Neither this XML document's public nor system id's could be resolved: java.net.UnknownHostException: java.sun.com java.sun.com
[java] on parsing the doucment corresponding to class com.sun.enterprise.deployment.xml.EjbBundleNode
[java] Java Result: 1
[java]
[java] Sender object Deploytool (Main) : Neither this XML document's public nor system id's could be resolved: java.net.UnknownHostException: java.sun.com java.sun.com
[java] on parsing the doucment corresponding to class com.sun.enterprise.deployment.xml.ApplicationNode
[java] Java Result: 1
[java]
[java] Sender object Deploytool (Main) : Neither this XML document's public nor system id's could be resolved: java.net.UnknownHostException: java.sun.com java.sun.com
[java] on parsing the doucment corresponding to class com.sun.enterprise.deployment.xml.ApplicationNode
[java] Java Result: 1
[java]
[java] Sender object Deploytool (Main) : Neither this XML document's public nor system id's could be resolved: java.net.UnknownHostException: java.sun.com java.sun.com
[java] on parsing the doucment corresponding to class com.sun.enterprise.deployment.xml.ApplicationNode
[java] Java Result: 1
[echo] The petstore application is now installed.
[echo] Please restart your cloudscape database and the J2EE server, and then point your browser to http://localhost:8000/petstore to access petstore.
BUILD SUCCESSFUL
Total time: 17 seconds
E:\j2sdkee1.2.1\public_html\petstore1.3>cd ..
E:\j2sdkee1.2.1\public_html>cd ..
E:\j2sdkee1.2.1>cd bin
E:\j2sdkee1.2.1\bin>cloudscape -stop
URL=[jdbc:rmi:jdbc:cloudscape:]
Attempting to shutdown RmiJdbc server
RmiJdbc Server RmiAddr is: //aliawan/RmiJdbcServer
WARNING: Shutdown was successful!
E:\j2sdkee1.2.1\bin>j2ee -stop
Shutting down the J2EE server.
E:\j2sdkee1.2.1\bin>Hello ali_awan,
Upon looking at the output from the console, it looks like you had a problem when you ran setup under the petstore1.3 directory. The setup echoed several times:
[java] java.lang.NoClassDefFoundError: com/sun/enterprise/tools/admin/AdminToolBecause this class was not found, the latter deployment of the Petstore .ear file was not successful. To fix this, you will first need to successfully setup petstore1.3.
The NoClassDefFoundError indicates that the class files in the package com/sun/enterprise/tools/admin/AdminTool could not be located in the system CLASSPATH variable.
Please make sure that the directory that stores the package com/sun/enterprise/tools/admin/AdminTool is included in the system CLASSPATH. This should get rid of the errors during the create_jms_queues step. And hopefully this should alleviate the problems encountered during the deployment of the Petstore ear file.
For instructions how to set your CLASSPATH variable, please visit the following link:
http://java.sun.com/j2se/1.3/install-windows.html
Hope this helps!
Ming Chou
Developer Technical Support
http://www.sun.com/developers/support -
Oracle Gateway Not Connecting to Sybase database
Hi,
I'm trying to setup an oracle gateway to connect to Sybase database. I followed in details the instructions but still can connect successfully. The Oracle database is in RAC environment. Below are the steps I took:
The oracle gateway and oracle database are in the same server while Sybase is on a separate unix box.
1. create an initdg4sybs.ora file
# This is a customized agent init file that contains the HS parameters
# that are needed for the Database Gateway for Sybase
# HS init parameters
HS_FDS_CONNECT_INFO=[999.99.108.99]:4527/common ## IP address of sybase server
HS_FDS_TRACE_LEVEL=ON
HS_FDS_RECOVERY_ACCOUNT=RECOVER
HS_FDS_RECOVERY_PWD=RECOVER
2. create a listener on the oracle gateway home
# listener.ora Network Configuration File: /u03/app/oracle/gateway/11.2/network/admin/listener.ora
# Generated by Oracle configuration tools.
LISTENER_DG4SYSBS =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1543))
(ADDRESS = (PROTOCOL = TCP)(HOST = 99.999.155.26)(PORT = 1543)(IP = FIRST)) #IP address of oracle gateway (node A)
(ADDRESS = (PROTOCOL = TCP)(HOST = 99.999.155.24)(PORT = 1543)(IP = FIRST)) #IP address of oracle gateway (node B)
SID_LIST_LISTENER_DG4SYSBS=
(SID_LIST=
(SID_DESC=
(SID_NAME=dg4sybs)
(ORACLE_HOME=/u03/app/oracle/gateway/11.2)
(ENVS="LD_LIBRARY_PATH=/u03/app/oracle/gateway/11.2/dg4sybs/driver/lib:/u03/app/oracle/gateway/11.2/lib")
(PROGRAM=dg4sybs)
ADR_BASE_LISTENER = /u03/app/oracle/gateway/11.2
TRACE_LEVEL_LISTENER_DG4SYSBS = OFF
TRACE_FILE_LISTENER_DG4SYSBS = /u03/app/oracle/gateway/11.2/network/admin/LISTENER_DG4SYBS.trc
INBOUND_CONNECT_TIMEOUT_LISTENER_DG4SYSBS=0
3. create tnsnames.ora in oracle database home
dg4sybs =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 99.999.155.26)(PORT = 1543)) #IP address of Node A
(CONNECT_DATA =
(SERVER = DEDICATED) #added for single node test
(SID = dg4sybs)
(HS=OK)
4. create database link
create database link dg4sybs connect to "user" identified by "password" using 'dg4sybs'
5. when testing the connection; i'm getting below error message. tried all the setup based my research and couldn't make it work.
SQL> select * from dual@dg4sybs
2 /
select * from dual@dg4sybs
ERROR at line 1:
ORA-03113: end-of-file on communication channel
Process ID: 7427
Session ID: 495 Serial number: 787
I perform above settings on a standalone database running in windows and successfully connect to the sybase. In UNIX setup, been unsuccessful. Can someone please help.
Also, below is the trace file error message:
Oracle Corporation --- THURSDAY OCT 18 2012 10:57:55.747
Heterogeneous Agent Release
11.2.0.1.0
Oracle Corporation --- THURSDAY OCT 18 2012 10:57:55.745
Version 11.2.0.1.0
HOSGIP for "HS_FDS_TRACE_LEVEL" returned "ON"
ODBCINST set to "/u03/app/oracle/gateway/11.2/dg4sybs/driver/dg4sybs.loc"
RC=-1 from HOSGIP for "LD_LIBRARY_PATH_64"
Setting LD_LIBRARY_PATH_64 to "/u03/app/oracle/gateway/11.2/dg4sybs/driver/lib"
HOSGIP for "HS_FDS_SHAREABLE_NAME_ICU" returned "/u03/app/oracle/gateway/11.2/dg4sybs/driver/lib/libHGicu23.so"
HOSGIP for "HS_FDS_SHAREABLE_NAME_INST" returned "/u03/app/oracle/gateway/11.2/dg4sybs/driver/lib/libodbcinst.so"
HOSGIP for "HS_FDS_SHAREABLE_NAME" returned "/u03/app/oracle/gateway/11.2/dg4sybs/driver/lib/libodbc.so"
HOSGIP for "HS_OPEN_CURSORS" returned "50"
HOSGIP for "HS_FDS_FETCH_ROWS" returned "100"
HOSGIP for "HS_LONG_PIECE_TRANSFER_SIZE" returned "65536"
HOSGIP for "HS_NLS_NUMERIC_CHARACTER" returned ".,"
HOSGIP for "HS_KEEP_REMOTE_COLUMN_SIZE" returned "OFF"
HOSGIP for "HS_FDS_DELAYED_OPEN" returned "TRUE"
HOSGIP for "HS_FDS_WORKAROUNDS" returned "0"
HOSGIP for "HS_FDS_MBCS_TO_GRAPHIC" returned "FALSE"
HOSGIP for "HS_FDS_GRAPHIC_TO_MBCS" returned "FALSE"
HOSGIP for "HS_FDS_RECOVERY_ACCOUNT" returned "RECOVER"
HOSGIP for "HS_FDS_TRANSACTION_LOG" returned "HS_TRANSACTION_LOG"
HOSGIP for "HS_FDS_TIMESTAMP_MAPPING" returned "DATE"
HOSGIP for "HS_FDS_DATE_MAPPING" returned "DATE"
HOSGIP for "HS_FDS_CHARACTER_SEMANTICS" returned "FALSE"
HOSGIP for "HS_FDS_MAP_NCHAR" returned "TRUE"
HOSGIP for "HS_FDS_RESULTSET_SUPPORT" returned "FALSE"
HOSGIP for "HS_FDS_RSET_RETURN_ROWCOUNT" returned "FALSE"
HOSGIP for "HS_FDS_PROC_IS_FUNC" returned "FALSE"
HOSGIP for "HS_FDS_REPORT_REAL_AS_DOUBLE" returned "FALSE"
using ro as default value for "HS_FDS_DEFAULT_OWNER"
HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
SQL text from hgopars, id=1, len=20 ...
00: 53454C45 4354202A 2046524F 4D202244 [SELECT * FROM "D]
10: 55414C22 [UAL"]
hgopars, line 526: calling SQLNumResultCols got sqlstate 42S02
SQL text from hgopars, id=2, len=57 ...
00: 53454C45 43542027 58272046 524F4D20 [SELECT 'X' FROM ]
10: 2264626F 222E2273 79737573 65727322 ["dbo"."sysusers"]
20: 20413120 57484552 45204131 2E226E61 [ A1 WHERE A1."na]
30: 6D65223D 2764626F 27 [me"='dbo']
Deferred open until first fetch.
HS Agent received unexpected RPC disconnect
Network error 1003: NCR-01003: NCRS: Read error.
Edited by: gonzroman on Oct 18, 2012 11:03 AM-=-=-=-=-=- tnsnames.ora on the UNIX side
GTW_C100_COMN =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.124.155.26)(PORT = 1543)) #IP address of jrc1suvip01a
#(ADDRESS = (PROTOCOL = TCP)(HOST = 10.124.155.24)(PORT = 1543)) #IP address of jrc1sudb01a
(CONNECT_DATA =
(SERVER = DEDICATED) # added for single configuration
(SID = dg4sybs_comn_c100)
(HS=OK)
-=-=-=-=-=- listener.ora of the GATEWAY
LISTENER_DG4SYSBS =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1543))
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.124.155.26)(PORT = 1543)(IP = FIRST)) #IP address of jrc1suvip01a
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.124.155.24)(PORT = 1543)(IP = FIRST)) #IP address of jrc1sudb01a
#(ADDRESS = (PROTOCOL = TCP)(HOST = jrc1suvip01a)(PORT = 1543))
SID_LIST_LISTENER_DG4SYSBS=
(SID_LIST=
(SID_DESC=
(SID_NAME=dg4sybs)
(ORACLE_HOME=/u03/app/oracle/gateway/11.2)
(ENVS="LD_LIBRARY_PATH=/u03/app/oracle/gateway/11.2/dg4sybs/driver/lib:/u03/app/oracle/gateway/11.2/lib")
(PROGRAM=dg4sybs)
(SID_DESC=
(SID_NAME=dg4sybs_comn_c100)
(ORACLE_HOME=/u03/app/oracle/gateway/11.2)
(ENVS="LD_LIBRARY_PATH=/u03/app/oracle/gateway/11.2/dg4sybs/driver/lib:/u03/app/oracle/gateway/11.2/lib")
(PROGRAM=dg4sybs)
ADR_BASE_LISTENER = /u03/app/oracle/gateway/11.2
TRACE_LEVEL_LISTENER_DG4SYSBS = OFF
TRACE_FILE_LISTENER_DG4SYSBS = /u03/app/oracle/gateway/11.2/network/admin/LISTENER_DG4SYBS.trc
INBOUND_CONNECT_TIMEOUT_LISTENER_DG4SYSBS=0
-=-=-=-=- initdg4sybs_comn_c100.ora parameter
# This is a customized agent init file that contains the HS parameters
# that are needed for the Database Gateway for Sybase
# HS init parameters
#HS_FDS_CONNECT_INFO=[glb0pod29.aexeo.citco.com]:4100/common
HS_FDS_CONNECT_INFO=[209.87.108.99]:4527/common
HS_FDS_TRACE_LEVEL=ON
HS_FDS_RECOVERY_ACCOUNT=RECOVER
HS_FDS_RECOVERY_PWD=RECOVER
-=-=-=-=- gateway listener status
jrc1sudb01a:/u03/app/oracle/gateway/11.2/dg4sybs/admin $ lsnrctl status LISTENER_DG4SYSBS
LSNRCTL for Solaris: Version 11.2.0.1.0 - Production on 20-OCT-2012 13:09:05
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1543)))
STATUS of the LISTENER
Alias LISTENER_DG4SYSBS
Version TNSLSNR for Solaris: Version 11.2.0.1.0 - Production
Start Date 18-OCT-2012 13:16:24
Uptime 1 days 23 hr. 52 min. 41 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u03/app/oracle/gateway/11.2/network/admin/listener.ora
Listener Log File /u03/app/oracle/gateway/11.2/log/diag/tnslsnr/jrc1sudb01a/listener_dg4sysbs/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1543)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.124.155.26)(PORT=1543)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.124.155.24)(PORT=1543)))
Services Summary...
Service "dg4sybs" has 1 instance(s).
Instance "dg4sybs", status UNKNOWN, has 1 handler(s) for this service...
Service "dg4sybs_comn_c100" has 1 instance(s).
Instance "dg4sybs_comn_c100", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
-=-=-=-=-=- tnsping output
jrc1sudb01a:/u03/app/oracle/product/11.2.0.3/network/admin $ tnsping dg4sybs
TNS Ping Utility for Solaris: Version 11.2.0.3.0 - Production on 20-OCT-2012 13:11:28
Copyright (c) 1997, 2011, Oracle. All rights reserved.
Used parameter files:
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 10.124.155.24)(PORT = 1543)) (CONNECT_DATA = (SERVER = DEDICATED) (SID = dg4sybs)) (HS=OK))
OK (10 msec)
jrc1sudb01a:/u03/app/oracle/product/11.2.0.3/network/admin $ tnsping GTW_C100_COMN
TNS Ping Utility for Solaris: Version 11.2.0.3.0 - Production on 20-OCT-2012 13:11:35
Copyright (c) 1997, 2011, Oracle. All rights reserved.
Used parameter files:
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 10.124.155.26)(PORT = 1543)) (CONNECT_DATA = (SERVER = DEDICATED) (SID = dg4sybs_comn_c100)) (HS=OK))
OK (0 msec) -
Petstore demo install under Win2000
Hello:
Trying to get my arms around J2EE. A large task.
Anyway.
I have downloaded the J2EESDK and installed it.
I can start the Application server and run the Hello demo.
I can also run the App Server Admin Application, so I
think I got that right.
I want to work with the Petstore demo. So I downloaded
petstore-1_3_2.zip. I am following the enclosed install
instructions. When I run setup I get the following:
My environment is below also.
The Petstore demo seems to be built on top of Cloudscape.
But the J2EE SDK installs PointBase, is there a way around this.
Need some help. Please
thanks
kd
C:\Downloads\javasoft\petstore1.3.2>setup
Buildfile: setup.xml
init:
help:
create_jms_queues:
[echo] Creating JMS Queues ....
[java] java.lang.NoClassDefFoundError:
com/sun/enterprise/tools/admin/AdminTool
[java] Java Result: 1
[java] java.lang.NoClassDefFoundError:
com/sun/enterprise/tools/admin/AdminTool
[java] Java Result: 1
[java] java.lang.NoClassDefFoundError:
com/sun/enterprise/tools/admin/AdminTool
[java] Java Result: 1
[java] java.lang.NoClassDefFoundError:
com/sun/enterprise/tools/admin/AdminTool
[java] Java Result: 1
[java] java.lang.NoClassDefFoundError:
com/sun/enterprise/tools/admin/AdminTool
[java] Java Result: 1
[java] java.lang.NoClassDefFoundError:
com/sun/enterprise/tools/admin/AdminTool
[java] Java Result: 1
[java] java.lang.NoClassDefFoundError:
com/sun/enterprise/tools/admin/AdminTool
[java] Java Result: 1
[java] java.lang.NoClassDefFoundError:
com/sun/enterprise/tools/admin/AdminTool
[java] Java Result: 1
[java] java.lang.NoClassDefFoundError:
com/sun/enterprise/tools/admin/AdminTool
[java] Java Result: 1
[java] java.lang.NoClassDefFoundError:
com/sun/enterprise/tools/admin/AdminTool
[java] Java Result: 1
[java] java.lang.NoClassDefFoundError:
com/sun/enterprise/tools/admin/AdminTool
[java] Java Result: 1
[java] java.lang.NoClassDefFoundError:
com/sun/enterprise/tools/admin/AdminTool
[java] Java Result: 1
[java] java.lang.NoClassDefFoundError:
com/sun/enterprise/tools/admin/AdminTool
[java] Java Result: 1
[java] java.lang.NoClassDefFoundError:
com/sun/enterprise/tools/admin/AdminTool
[java] Java Result: 1
create_users:
[echo] Creating users ....
[java] java.lang.NoClassDefFoundError:
com/sun/enterprise/tools/admin/RealmTool
[java] Java Result: 1
[java] java.lang.NoClassDefFoundError:
com/sun/enterprise/tools/admin/RealmTool
[java] Java Result: 1
[java] java.lang.NoClassDefFoundError:
com/sun/enterprise/tools/admin/RealmTool
[java] Java Result: 1
create_petstore_db:
[java] java.lang.NoClassDefFoundError:
com/sun/enterprise/tools/admin/AdminTool
[java] Java Result: 1
create_supplier_db:
[java] java.lang.NoClassDefFoundError:
com/sun/enterprise/tools/admin/AdminTool
[java] Java Result: 1
create_opc_db:
[java] java.lang.NoClassDefFoundError:
com/sun/enterprise/tools/admin/AdminTool
[java] Java Result: 1
core:
[echo] The J2EE SDK is now successfully configured to run the
petstore application. P
lease restart cloudscape and the j2ee servers, and deploy all the ear
files. You can do th
is by issuing the following commands:
[echo] change directory to j2sdkee1.3/bin; start RI and
Cloudscape in separate window
s
[echo] cloudscape -start
[echo] j2ee -verbose
[echo] change directory to petstore1.3.2 to deploy the EAR files
[echo] setup.bat deploy (or on Unix, setup.sh deploy)
BUILD SUCCESSFUL
Total time: 5 seconds
C:\Downloads\javasoft\petstore1.3.2>
C:\Downloads\javasoft\petstore1.3.2>
C:\Downloads\javasoft\petstore1.3.2>set
ALLUSERSPROFILE=C:\Documents and Settings\All Users
ANT_CLASSPATH=c:\sun\appserver/lib/j2ee.jar;src/lib/ant/lib/ant.jar;src/lib/ant/lib/parser
.jar;src/lib/ant/lib/jaxp.jar;c:\programs\j2sdk1.4.2_03/lib/tools.jar
ANT_HOME=src/lib/ant
APPDATA=C:\Documents and Settings\Administrator\Application Data
CommonProgramFiles=C:\Program Files\Common Files
COMPUTERNAME=DUFFYHOU
ComSpec=C:\WINNT\system32\cmd.exe
HOMEDRIVE=C:
HOMEPATH=\Documents and Settings\Administrator
J2EE_HOME=c:\sun\appserver
JAVA_HOME=c:\programs\j2sdk1.4.2_03
LOGONSERVER=\\DUFFYHOU
NUMBER_OF_PROCESSORS=1
OS=Windows_NT
Os2LibPath=C:\WINNT\system32\os2\dll;
Path=c:\programs\j2sdk1.4.2_03\bin;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\WI
NDOWS;C:\WINDOWS\COMMAND
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 15 Model 0 Stepping 7, GenuineIntel
PROCESSOR_LEVEL=15
PROCESSOR_REVISION=0007
ProgramFiles=C:\Program Files
PROMPT=$p$g
SystemDrive=C:
SystemRoot=C:\WINNT
TEMP=C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp
TMP=C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp
USERDOMAIN=DUFFYHOU
USERNAME=Administrator
USERPROFILE=C:\Documents and Settings\Administrator
winbootdir=C:\WINDOWS
windir=C:\WINNT
C:\Downloads\javasoft\petstore1.3.2>I had this same symptom, and it was because I was trying to use Petstore version 1.3.2 with the J2EE 1.4 SDK.
There is an updated version of the Petstore sample application in the J2EE 1.4 samples bundle located at... http://java.sun.com/j2ee/1.4/download.html#samples. It is included as part of a group of three "J2EE Blueprint samples" and they can be run with the J2EE 1.4 SDK (whereas the old one's can't). (Note that the Buleprint samples are also included in the "All-In-One Bundle" and are located in the in the \AppServer\samples\blueprints directory.)
If you download the samples by themselves, their documentation won't specify that they must be installed in the \AppServer\samples\blueprints directory, but they must because the ant build script references at least a couple of other files in the samples directory heirarchy (common.xml and common.properties).
These are two samples of error messages I got when I was trying to build the Petstore application from outside the context of \AppServer\samples\blueprints directory heirarchy:
C:\blueprints\petstore1.4\src>asant
Buildfile: build.xml
C:\common.xml could not be found
BUILD FAILED
java.io.FileNotFoundException: C:\common.xml (The system cannot find the file specified)
C:\petstore1.4\src>asant
Buildfile: build.xml
BUILD FAILED
The file or path you specified (..\..\..\common.properties) is invalid relative to C:\petstore1.4\src -
JAVA, ,jar soft???
does the new firmware support java programmes?????
While I do not have linux or unix setup at the moment, The separation of OS
from exe means that it should follow the soft link; however, I would caution
against this for several reasons. First I will explain a simple test to verify that it works or does not, then I will explain the CAVEATS if it does work.
Create a simple src directory root. Create the simple HelloWorld.java.
Navigate to some directory other than your outside of your src root. Next,
create a Symbolic link to your src root. Now run: javac with the -d pointing at your symbolic link.
If they work or not, kindly post your findings.
Now on to the major caveats
1st-Read the man page about Symbolic links.
You will note that a soft/symbolic link may be on another machine.
This will seriously affect the compilation and classloading times.
2nd- If you do not have the proper permissions or the access to permission this may not even run. Additionally, these could be changed by another admin and crash your runs. -
Hello, We look for some helpful directions to set the environment
Jdeveloper 10.1.3 can connect to Oracle 10.1/HP-UX/ with Portal 10.1.4 installed on the top ,
plus the same
Jdeveloper 10.1.3 can connect to JVM on Oracle Applications 10.5.10.
We trying to migrate to the new environment from the current legacy
JDEV with some vague zones/pathes to hold some WEB-REPORTS which need to be sent to the current portal 3.0.9 by request from portlets.
Also we try to subscribe to Weather Web Services and add a new Custom Weather Portlet with Zip Code parameter in the new 10.1.4 portal.
Q: Where in the Portal 10.1.4 Unix setup is indicated which JVM to use?
Q: We want to go new portal (3.0.9 to 10.1.4), but not upgrade JDEV on Unix to OC4J.
Is it possible at all?
Q: Can we install this Jdeveloper on Unix with Oracle 10g and pick up the reports from JVM zones on Application 11i with 9iAS?Sorry , for too vague questions. I will close this thread for now.
-
How to send mail from FORMS and PL/SQL
I want to send a mail from forms + PL/sql.
I do not want to create a new C program and to make it as USER_EXIT.
The called function suppose to send it through the default email method as per the NT or UNIX setup.
ThanksThanks for your reply.
It requires JServer. We have many clinets around the world and some of them are still running Oracle 7.3.
Any other sleek solution?
Maybe you are looking for
-
I've tried doing a hardware scan through the Lenovo System Health and Diagnostics and it has twice failed the Targeted Read Test and SMART short selt test. Result Code: WHD01V00I - 7BX1F I have done a chkdsk full scan and on restart it hangs at 27%.
-
Create PDF PO in SAP R/3 4.7
Anyone know whether it is possible to create PDF PO document in R/3 4.7? If you have experience on the above work, appreciate if you can share with me. TQ.
-
Deleted photos space is not released
Delete all photos, delete also recently eliminated. But when I enter phone information photographs still occupy almost a gig and says I have 680 photos on the device. If I look at using iTunes tells me the same. How can I do to free that memory space
-
Svchost.exe slowing down my system terribly
svchost.exe slowing down my system terribly. I ran the Kapersky program and no virus files came up. I am getting desperate. I am ready to kill my computer. Why is this process such a hog and how can I stop it?
-
Error While Creating Informix Connection Pool
Hi, I am trying to port an application from Weblogic 6.1 to Weblogic 8.1. The Application accesses Informix database. I used the following driver, url and properties while connecting to this database using Weblogic 6.1 url:->jdbc:weblogic:informix4:s