PAS/AAS JAVA instances on UNIX/Linux - database component
Hi SCN,
Firstly consider this is all UNIX/Linux based...
In the past when creating AS (or AAS now) SAP dialog instances for ABAP systems I rarely ran a SAPINST process. It was simpler to copy existing profiles and NFS mount the kernel. There is no database component relating to the instances so you could easily add/remove them
However in Java it seems there is instance data inside the database Java schema, meaning that you have to install/re-install AS/AAS instances using SAPINST/SWPM to ensure these are properly created; otherwise the instance will not connect.
Does anyone have any details on what constitutes this database component? I would like to look at it with my own eyes and see what makes it up.
Regards all, Jamie
AKA doonan_79
Hi Jamie,
In case of JAVA, there we have BOX number. If you have a logical host on top of your physical host, then you can go with over scheme. Otherwise, because of BOX number, you have to go with export/import option.
Refer this thread: Understanding the Java Instance ID issue
Divyanshu
Similar Messages
-
Hi everybody
I'm switching to Red Hat Linux. Does anybody know any good IDE for that OS? I'm looking for something not too heavy, don't want to run massive IDE like JBuilder. For example under windows I use JCreator which is quite light, but unfortunately there isn't a Linux version.
Cheers mates
marcocacoSince this is a J2EE forum, I would recommend NetBeans 4.1 which has excellent web tier (JSP/Servlet) support as well as EJB and Web Services support now.
http://www.netbeans.org/community/releases/41/index.html
There's also a bundle for NetBeans 4.1 + Sun AS 8 2004Q4 here:
http://java.sun.com/j2ee/1.4/download.html#nb (full J2EE 1.4 support).
IMO, Eclipse is not there with Web tier development and has no EJB/Web Services support.
-Alexis -
After Restoring/Backup of File System XI Java Instances are not up!
Hello all,
We are facing problem in restoring the SAP XI System, after taking backup of the system the <b>java instances</b> in SAP XI System are not starting again. ABAP connections are fine.
Can anyone provide suggestions/solutions in order to restore the XI System back.
The system information is as follows.
System Component: SAP NetWeaver 2004s, <b>PI 7.0</b>
Operating System: SunOS 5.9, SunOS 5.10
Database: ORACLE 9.2.0.
Regards,
Ketan PatelIf it´s REALLY a PI 7.0 (SAP_BASIS 700 and WebAS Java 7.00) then it´s not compatible. WebAS 7.00 needs Oracle 10g (http://service.sap.com/pam)
Also see
http://service.sap.com/nw2004s
--> Availibility
--> SAP NetWeaver 7.0 (2004s) PAM
If you open the Powerpoint, you will see that Oracle 9 is not listed. I wonder, how you got that installed.
Neverless, if you recover a Java instance, both filesystem and database content (of the Java schema) must be in sync, means, you need to restore both, database (schema) and filesystem, that have been backed up at the same time.
Check Java Backup and Restore :
Restoring the System
1. Shut down the system.
2. Install a new AS Java system using SAPInst, or restore the file system from the offline backups that you created.
3. Import the database backup using the relevant tools provided by the database vendor.
4. Overwrite the SAP system directory /usr/sap/.
5. Start the system (see Starting and Stopping SAP NetWeaver ABAP and Java.)
The J2EE Engine is restored with the last backup.
Markus -
How to start a particular database in unix/linux
Hi,
Could any one tell me how to start a particular database in Unix/Linux assuming that my server consists of 10 databases.
Can we use LSNRCTL tool for this??
Regards,
Nagarjun.> Could any one tell me how to start a particular database in Unix/Linux
assuming that my server consists of 10 databases.
There is something very wrong in basic understanding of Oracle RDBMS architecture, when running 10 Oracle instances on a single server.
10x temp space. 10x redo space. 10x SGA. 10x system processes footprint. This is NOT how one scales Oracle and NOT how one uses Oracle optimally. -
Analysing SAP Java Memory Usage in Unix/Linux
Hi,
I need to analyze the SAP Java memory usage of Unix /Linux machine..NW 7.0
Please guide with the commands and steps..complete prcedure.
Based on it I should decide whether to create a new server node (or) increasing heap size
Thanks in advanceHi,
Do you have performance problems?
How many CPU's are in the server?
Did you check Log Configuration for delays or errors?
Did you tune any exisiting parameters?
You can add the nodes only if there is performance problems. You may think of adding one node to start with
Proper number of server nodes within an instance:
u2013 #ServerNodes = availableMemory / (JavaHeapPermSpaceStack)
You can calculate the server nodes based on below formula
No. of server Node = (RAM you want to assign or available RAM in GB)/2.5 ============> for 64-bit system
No. of server Node = (RAM you want to assign or available RAM in GB)/1.5 ============> for 32-bit system
Hence as per above discussion, we should go with 5 server nodes means,
5 = RAM/2.5 (Assuming you are on 64-bit platform)
i.e. RAM = 12.5 GB
2). u2013 Configure JVM heap according to Note 723909 and Note 1008311 - Recommended Settings for NW 7.0 >= SR2 for the AIX JVM (J9) -
Not able to connect linux database instance in another machine
Hi,
I have installed oracle 10g database server in Linux, and i created one database instance. and i have added tns entry and listener entry.
I am to connect the database on that machine. but not in different machine. i am able to access/ping linux machine in another machine also.
while creating tns entry for linux database instance in another machine using "netca" i am getting this error.
Connecting...ORA-12560: TNS:protocol adapter error
The test did not succeed.
Some of the information you provided may be incorrect.
Click Back to review the information provided for net service name, or Change Login to change username.
I verified listener and tns entry ( i think for this listener configuration is enough) also. and database is up.
If anybody knows why i am not able to connect linux database in another machine. is there any network configurations other than listener configuration.
Thanks in advance.yes i tried to connect with ORACLE_SID, its successful. and using tnsname like you said.
Instead of using netca to create the tnsnames.ora entry on the second server, copy the tnsnames.ora entry from the DB server. Then use tnsping to test connection :-i done above but not able to ping the tns name, i am getting this error.
TNS-12560: TNS:protocol adapter error
------------------------------------------------ -
CI (ABAP+Java) & DB in one AIX box and dialog Instance on a Linux box
We trying to install SAP, CI+DB in one AIX box and dialog Instance on a Linux box. We are facing problem when trying to install Java Dialog Instance. Is it possible and recomended to install in the above manner?
Has anyone done this? please share your exepeirience.
thanks & regards,
Harsha.
ps we have read the Note 1067221 - Central Note for Heterogeneous Installation, which indicates this is possible.If you would have stated, which kind of problem you are facing, we could have seen, if the problem is related to because of heterogeneity or because of something different.
It should be possible to do that - yes
Markus -
Database size history on Java instance
Hello,
Does anybody know how to get the database size history (db02) on a Java only instance.
The system is portal 7 running on SQL 2005 and windows 2003.
ThanksKruger,
Your best bet to get this type of information is going to be through the SQL Server Enterprise Manager. J2EE Engines typically do not grow as they rarely hold information but are pass-through systems. For this reason, there is little detail in the Portal for this specific type of information.
If you setup the Solution Manager as a CEN Monitor for the Java Instance you can provide some thresholds for the MTE's on Db but again, won't hold informaiton on size history.
Hope that helps - if this answers your question, please set this thread to answered. -
How to execute Java.exe on MAC, LINUX, UNIX...
okay, I know this is very stupid, but can anybody tell me how to run Java.exe on MAC, LINUX, UNIX?
I know how to run it from windows, I have a batch file created in windows, will it work on MAC, LINUX and UNIX as well? (I'm not sure if on other OS, there is such a file type call *.bat)See what I mean about probably wanting a beginner's book on Unix and/or shell scripting?
okay crackers, the only thing that I have to do is put
in the name of my program into "your program here".Not necessarily. There's the ClassPath, program parameters, etc. What you need to put in the "your program here" depends upon your program. What I did was allow the script to be invoked with command-line parameters and you could (depending upon your program) put "-jar myjar.jar" in the indicated spot, if your JAR file was runnable.
The rest no need to change. right?I don't know. What does your program need? Only you can answer that, not me. I just furnished an example. -
Java App Deploy Axis in Unix/Linux OS to call an external WService
Hi!
I would really appreciate some help in this matter.
I'm developing an application in Java to call a remote .Net Web Service from probably Unix/Linux/Windows 2000/2003 Operating System.
My question for you is, what requirements do I need to install before I'm able to call a remote web service from Unix/Linux?
I would like to keep things as simple as possible. The less software I install the better.
I'm also considering in using c++ instead of Java if the solution is more simpler.
ThanksI reply to myself, if there's someone interested....
So far, I' ve found 3 ways to approach this issue:
1) OpenSSH:
Install an OpenSSH server on WIN side.
On LINUX side, write a script that opens an OpenSSH transaction and then call the executable; this script is what I call from Runtime.getRuntime().exec()This way, the executable is executed on WIN.
2) Wine (Windows emulator for LINUX)
Install WINE on LINUX side.
Make the executable reachable from LINUX to WIN side (copy/paste or mount the folder) and call Runtime.getRuntime.exec("wine MYEXE.EXE").
This way, the executable is executed on LINUX (you need to make all DLLs reachable)
3) RMI
Write a RMI server as "exe invoker" and deploy it on WIN side.
Then, replace the portion of code that calls the executable with an RMI client that invoke the RMI server.
This way, the executable is executed on WIN.
Finally, I chose this third way. -
CAM switch between uttsc, Unix, Linux servers?
Suppose you had some of each:
Windows Terminal servers
Solaris Sun Ray servers
Linux Sun Ray servers
...and wanted to present a choice to users at the dtu startup screen, before login (e.g., with CAM), as to which system they wanted to connect to initially. Is it possible?
I'm in a university environment and want to give easy access to each of those operating environments without the Windows user having to know how to navigate a Unix/Linux environment, even briefly, and vice-versa.
For our purposes this sort of simple universal terminal configuration would be ideal.
Thanks for any ideas, hints, etc.
-tomHi ErikEJ.
I made a design decision several years ago to avoid using SQL Server Express for this project because it requires either a network connection or local instance of SQL Server to be running on a desktop platform which in many cases is resource-constrained.
SQL Server Compact was perfect for this application because the database engine could be entirely contained within the application without client/server overhead.
Thanks for the ODBC under Linux suggestion, but I presume that this also would require client/server connection to an ASP server instance somewhere.
I think it would be simpler to just use an ASP host environment directly where SQL Server Compact, SQL Server, .net, and all the custom utilities I have developed for this application could be hosted with hopefully minimal modification.
Thanks for your input.
-BGood -
How can I correlate an Java instance number with a server id?
I have 6 Web App Server running ABAP and the JAVA stacks. I can log into the Central Instance server and run /usr/sap/<SID>DVEBMSG00/j2ee/configtool/configtool.sh and bring up the GUI interface to "see" all the instances and their variables. I don't see an easy way to trace back the Java INSTANCE to the physical server's hostname.
Is there a central repository to correlate a Web App Server Java instance number to the actual hostid/hostname of the target server? I realize I can log into each Web App Server and look at the /usr/sap/<SID>D00/j2ee/cluster/instance.properties and find the Instance number, but I was wondering if this information was held in the SAP Central instance or SAP Database somewhere.Hi Timothy,
The instance ID used for the JAVA cluster is generated at installation time, and -amongst other things- takes into account the time it was generated. We installed two instances in parallel (on different hosts) and ended up with almost the same instance ID.
Because this can be very confusing, we asked SAP if this was changable - in theory it is only an ID which could be changed as long as it is updated on all places the identifier is stored - but SAP indicated that that is not possible, nor supported. We ended up with a diagram of the system architecture with all the identifiers on our desk.
Note that in the config tool - all instances are displayed with their system instance number. If you were to install a new system it might be usefull to install all instances with different instance numbers so you and distinguish more easily between them.
Hope this helps,
Cheers,
Walter -
Font mapping in Forms 10g on Unix/Linux
Hello,
does anybody have a adea how font mapping in forms 10g works on Unix/Linux.
As far as I know I do have to have a X-Server running on the node so that forms can mapp java fonts, is this true?
What configuration options do I have on the server.
Can I differ strictly between development tasks (consideration of developer) and admin tasks ([configuration]considerations of Application Server Admin) referring font mapping in forms 10g?
Is there any "Best Practices to this subject?
Thank you.
Regards
FrankHello Frank,
- fontmapping takes place in Registry.dat file?!
- According to your article "Forms: Using custom fonts in Oracle Forms Services 10g" I only have to customize fontmapping in Registry.dat file.
-Customer developes on MS-Client and uses Arial,but is surprised about displayed font, which is´nt Arial.
-Can I just customize font mapping in Registry.dat as follows (according your example)?
default.fontMap.appFontnames=x,y,Arial
default.fontMap.javaFontnames=u,v.Arial
What do we have to consider on client site?
What´s about java on client (JInitiator)?
Regards
Frank -
Java instance installation fails for EP 6.0 SR1 on AIX 5.1/Oracle 9.2
Hi Friends
I am currently installing EP 6.0 SR1 on NW04 on AIX 5.2 & Oracle 9.2.0.1, last few steps of installation I applied Oracle patchset 9.2.0.5. I am using the option SAPNW SR1-> Java system -> Central system ->custom installation-> Java system, the installation stops at step 30(Load Java database content) of 36 giving the message "java.sql.SQLException:Ioexception: The Network adapter could not establish the connection.
I am also attaching the contents of log jload.log & jload.java.log. Really appreciate if somebody who has faced similar problem or knows the solution can provide a tip, thanks in advance.
CDBAXD08:oraepd 27> more jload.log
11.03.05 20:05 com.sap.inst.jload.Jload main
INFO: Jload -sec
EPD,jdbc/pool/EPD,/sapmnt/EPD/global/security/data/SecStore.properties,/
sapmnt/EPD/global/
security/data/SecStore.key -dataDir /epinst/was_java/J2EE_OSINDEP/J2EE-
ENG/JDMP -job /tmp/sapinst_instdir/N
W04SR1/WEBAS_JAVA/CENTRAL/ONE_HOST/IMPORT.XML -
log /tmp/sapinst_instdir/NW04SR1/WEBAS_JAVA/CENTRAL/ONE_HOST
/jload.log
11.03.05 20:05 com.sap.inst.jload.Jload main
SEVERE: couldn't connect to DB
java.sql.SQLException: Io exception: The Network Adapter could not
establish the connection
CDBAXD08:oraepd 28> more jload.java.log
java version "1.4.2"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2)
ClassicVM (build 1.4.2, J2RE 1.4.2 IBM AIX 5L for PowerPC (64 bit JVM)
build caix64142ifx-20041126 (JIT en
abled: jitc))
Mar 11, 2005 8:05:10 PM com.sap.inst.jload.Jload main
INFO: Jload -sec
EPD,jdbc/pool/EPD,/sapmnt/EPD/global/security/data/SecStore.properties,/
sapmnt/EPD/global/
security/data/SecStore.key -dataDir /epinst/was_java/J2EE_OSINDEP/J2EE-
ENG/JDMP -job /tmp/sapinst_instdir/N
W04SR1/WEBAS_JAVA/CENTRAL/ONE_HOST/IMPORT.XML -
log /tmp/sapinst_instdir/NW04SR1/WEBAS_JAVA/CENTRAL/ONE_HOST
/jload.log
Mar 11, 2005 8:05:15 PM com.sap.inst.jload.Jload main
SEVERE: couldn't connect to DB
java.sql.SQLException: Io exception: The Network Adapter could not
establish the connection
FYI the SID name given to the Java instance is EPD & the output of
java -version of the 3 id's root, epdadm & oraepd is as attached.
CDBAXD08:epdadm 1> java -version
java version "1.4.2"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2)
Classic VM (build 1.4.2, J2RE 1.4.2 IBM AIX 5L for PowerPC (64 bit JVM)
build caix64142ifx-20041126 (JIT enabled: jitc))
Thanks & Rgds,
AbhishekHi Abhishek,
I'm trying to install EP 6.0 SR1 on Aix and DB2. I'm having problems with Secure Store installation step (Encryption: JCE and Crypto Toolkit).
Did you have any problems with this ? From which place did you get the JCE file ?
Thanks for your help, I really appreciate it !
Regards from Mexico,
Diego -
Java program in UNIX environment
Hi All,
Could you please help me with how to configure a java program in UNIX environment..
that is to schedule it to run every day from cron..
I need to know what are the basic things we require to achieve the above..
I guess it is:
A script
A config file containing db login details
oher than this I don?t know what is required plz helpYou can execute any jar or class file with cron. If you are using a jar you might use something like java -jar /usr/bin/myapp.jar .
I use Linux, this is my area of expertise.
Here is an online guide "for complete newbies" on how to set up cron.
http://www.unixgeeks.org/security/newbie/unix/cron-1.html
Hope it helps.
Maybe you are looking for
-
Can I print out the source pages for hyperlinks in a pdf
http://www.stratishealth.org/documents/ClinicLinkJuly14_R.pdf I have Acrobat X Pro. I've created the above PDF that shows hyperlinks as a clickable "Read more about it...." link. A reader has asked for a PDF that she can print out, yet it would someh
-
Exporting data from text file to a table using utl_file
Dear all, I have a text file as below and i have a table having 12 columns. Now i need to insert this text file into the table story_books. CREATE TABLE story_books book_id NUMBER, Category VARCHAR2(100 BYTE), Book_type VARCHAR2(100 BYTE), Name VARCH
-
We have a brand new SharePoint 2013 farm which we just put into production. As users have begun creating their My Sites, the My Sites web application database changed to a status of "Database is up to date, but some sites are not completely upgraded.
-
Server0 node is restarting automatically
Hi all, i have implemented EP. but server0 node is automatically restarting. the java parameters that i have given in the config tool is as below.. -Djco.jarm=1 -XX:MaxPermSize=256M -XX:PermSize=256M -Xms1024M -Xmx1024M -XX:NewSize=171M -XX:MaxNewSiz
-
Wls1033_oepe111150_win32.exe vs. server103_win32.exe
We're working on upgrading from weblogic 9.2 to 10.3. So far it's gone pretty smooth until this morning. I notice in the wls1033_oepe111150_win32.exe install package, there was no workshop IDE present...weird. So I went on a search for the latest wor