Connecting to an Solaris machine from our local system [windows]
Unable to connect using the below program - can any one please help me
public class J2SSHExample
public static void main(String[] args)
try
PasswordAuthenticationClient pwd = new PasswordAuthenticationClient();
SshConnectionProperties properties = new SshConnectionProperties();
BufferedReader bin = new BufferedReader(new InputStreamReader(System.in));
AuthenticationProtocolClient authentication = new AuthenticationProtocolClient();
ConnectionProtocol connection = new ConnectionProtocol();
SshClient ssh = new SshClient();
System.out.print("Host to connect: ");
String hostname = bin.readLine();
ssh.connect(hostname);
System.out.print("Username: ");
String username = bin.readLine();
pwd.setUsername(username);
System.out.print("Password: ");
String password = bin.readLine();
pwd.setPassword(password);
int result = ssh.authenticate(pwd);
if(result==AuthenticationProtocolState.COMPLETE)
System.out.println("The authentication is complete");
if(result==AuthenticationProtocolState.FAILED)
System.out.println("The authentication failed");
if(result==AuthenticationProtocolState.PARTIAL)
System.out.println("The authentication succeeded but another"+ "authentication is required");
if (authentication != null)
List l= authentication.getAvailableAuths(username,connection.getServiceName());
catch (Exception e)
System.out.println(e);
output:
The authentication failed
I was able to connect using the below program - problem is this is an sshfactory is an licensed version
import com.jscape.inet.ssh.*;
import java.io.*;
public class SshExample implements SshListener {
// state of SSH connection
private boolean connected = false;
* Creates a new SshExample instance.
public SshExample() {
String hostname = null;
String username = null;
String password = null;
Ssh ssh = null;
try {
BufferedReader bin =
new BufferedReader(new InputStreamReader(System.in));
System.out.print("Enter SSH hostname: ");
hostname = bin.readLine();
System.out.print("Enter SSH username: ");
username = bin.readLine();
System.out.print("Enter SSH password: ");
password = bin.readLine();
// create new Ssh instance
ssh = new Ssh(hostname, username, password);
// register to capture events
ssh.addSshListener(this);
System.out.println("Connecting please wait...");
Similar Messages
-
Trying to Connect the HANA Cloud from the Local System
Hi,
I am using the 30Days of free trial of the HANA Cloud and trying to Access from the Local System.
I have configure the All setting in Eclipse Kepler vesiona and also able to configure the my HANA Cloud Server in Local eclipse.
But for the Database Connectivity I have to do the cofigure the same through the database middleware driver selection.
But I dont have any idea about database middleware driver selection, Please suggest what exactly it is and from where i can get this to insalle in local system.
Thanks & Reagrds.
Praveer.airplay is a std that apple created if sony didn't build the playstation to support airplay you can't use it
you should check sonys site or the manual if your playstation support airplay -
To use ftp_connect to connect to our local system
hii
can anybody plz tell me how to connect to our local system using function module
ftp_connect
plz specify all the necessary parameters such as user, password and so on.
thanx in anticipation
answers will be rewardedHi,
Please find the sample program for your requirement.
report rsftp020 message-id zz.
parameters: user(12) type c lower case,
pwd(20) type c lower case,
host(64) type c lower case,
cmd1(100) type c lower case.
data: hdl type i,
key type i value 26101957,
dstlen type i.
data: begin of result occurs 0,
line(100) type c,
end of result.
authority-check object 'S_PATH'
id 'FS_BRGRU' dummy
id 'ACTVT' field '02'.
if sy-subrc ne 0.
message e000 with 'You are not authorized to run program: ' sy-repid.
endif.
describe field pwd length dstlen.
call 'AB_RFC_X_SCRAMBLE_STRING'
id 'SOURCE' field pwd id 'KEY' field key
id 'SCR' field 'X' id 'DESTINATION' field pwd
id 'DSTLEN' field dstlen.
call function 'FTP_CONNECT'
exporting user = user password = pwd host = host
rfc_destination = 'SAPFTPA'
importing handle = hdl.
if cmd1 ne ' '.
call function 'FTP_COMMAND'
exporting handle = hdl command = cmd1
tables data = result
exceptions command_error = 1 tcpip_error = 2.
loop at result.
write at / result-line.
endloop.
refresh result.
endif.
call function 'FTP_DISCONNECT'
exporting handle = hdl.
thanks,
sksingh -
Download of pdf to our local system by using classes in webdynpro abap
hi,
I createa an application ,in that i converted Smartform to Pdf.I want to download the generated pdf to our local system by using "cl_wd_runtime_services" because we cant directly use FM GUI_DOWNLOAD directly.So can any one please tell me the process.Hi ,
see the below code..
call function 'CONVERT_OTF'
exporting
format = 'PDF'
importing
bin_filesize = pdf_size
bin_file = LV_PDF
tables
otf = lt_otfdata[]
lines = l_dummy
exceptions
err_max_linewidth = 1
err_format = 2
err_conv_not_possible = 3
others = 4.
if sy-subrc <> 0.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
endif.
lv_string = filename
cl_wd_runtime_services=>attach_file_to_response(
i_filename = LV_STRING
i_content = lv_pdf
i_mime_type = 'pdf/application'
i_in_new_window = abap_false
i_inplace = abap_false ).
this will open a popup same as when u download some file...
Regards
Yash -
How to download elearning class to our local system
hi
this is yugandhar,
how to downl;oad this link data to our local system.
is there any possibility to download data.
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d92a039d-0d01-0010-82b7-a6e0bca87982I cannot open your link.
You must be willing to download so you can work offline on them. I don't think you can do that.
Try using IE and make sure to delete all files and cache before you start.
Sanju -
How to create a window with its own window border other than the local system window border?
How to create a window with its own window border other than the local system window border?
For example, a border: a black line with a width 1 and then a transparent line with a width 5. Further inner, it is the content pane.
In JavaSE, there seems to have the paintComponent() method for the JFrame to realize the effect.Not sure why your code is doing that. I usually use an ObjectProperty<Point2D> to hold the initial coordinates of the mouse press, and set it to null on a mouse release. That seems to avoid the dragging being confused by mouse interaction with other nodes.
import javafx.application.Application;
import javafx.application.Platform;
import javafx.beans.property.ObjectProperty;
import javafx.beans.property.SimpleObjectProperty;
import javafx.collections.FXCollections;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.geometry.Point2D;
import javafx.geometry.Pos;
import javafx.scene.Node;
import javafx.scene.Scene;
import javafx.scene.control.Button;
import javafx.scene.control.ChoiceBox;
import javafx.scene.input.MouseEvent;
import javafx.scene.layout.AnchorPane;
import javafx.scene.layout.StackPane;
import javafx.scene.layout.VBox;
import javafx.scene.paint.Color;
import javafx.stage.Stage;
import javafx.stage.StageStyle;
import javafx.stage.Window;
public class CustomBorderExample extends Application {
@Override
public void start(Stage primaryStage) {
AnchorPane root = new AnchorPane();
root.setStyle("-fx-border-color: black; -fx-border-width: 1px; ");
enableDragging(root);
StackPane mainContainer = new StackPane();
AnchorPane.setTopAnchor(mainContainer, 5.0);
AnchorPane.setLeftAnchor(mainContainer, 5.0);
AnchorPane.setRightAnchor(mainContainer, 5.0);
AnchorPane.setBottomAnchor(mainContainer, 5.0);
mainContainer.setStyle("-fx-background-color: aliceblue;");
root.getChildren().add(mainContainer);
primaryStage.initStyle(StageStyle.TRANSPARENT);
final ChoiceBox<String> choiceBox = new ChoiceBox<>(FXCollections.observableArrayList("Item 1", "Item 2", "Item 3"));
final Button closeButton = new Button("Close");
VBox vbox = new VBox(10);
vbox.setAlignment(Pos.CENTER);
vbox.getChildren().addAll(choiceBox, closeButton);
mainContainer.getChildren().add(vbox);
closeButton.setOnAction(new EventHandler<ActionEvent>() {
@Override
public void handle(ActionEvent event) {
Platform.exit();
primaryStage.setScene(new Scene(root, 300, 200, Color.TRANSPARENT));
primaryStage.show();
private void enableDragging(final Node n) {
final ObjectProperty<Point2D> mouseAnchor = new SimpleObjectProperty<>(null);
n.addEventHandler(MouseEvent.MOUSE_PRESSED, new EventHandler<MouseEvent>() {
@Override
public void handle(MouseEvent event) {
mouseAnchor.set(new Point2D(event.getX(), event.getY()));
n.addEventHandler(MouseEvent.MOUSE_RELEASED, new EventHandler<MouseEvent>() {
@Override
public void handle(MouseEvent event) {
mouseAnchor.set(null);
n.addEventHandler(MouseEvent.MOUSE_DRAGGED, new EventHandler<MouseEvent>() {
@Override
public void handle(MouseEvent event) {
Point2D anchor = mouseAnchor.get();
Scene scene = n.getScene();
Window window = null ;
if (scene != null) {
window = scene.getWindow();
if (anchor != null && window != null) {
double deltaX = event.getX()-anchor.getX();
double deltaY = event.getY()-anchor.getY();
window.setX(window.getX()+deltaX);
window.setY(window.getY()+deltaY);
public static void main(String[] args) {
launch(args); -
Hi All,
I have existing SSAS project. Previously it was working but now its showing following error:
The specified module could not be found. (Exception from HRESULT: 0x8007007E) (System.Windows.Forms)
Please provide the solution.
Thanks & Regards,
Vivek SinghHi Vivek,
According to your description, you are experiencing the error "The specified module could not be found. (Exception from HRESULT: 0x8007007E) (System.Windows.Forms)" when opening the SQL Server Analysis Services project that can be opened
without any problems, right?
Based on my research, the issue is caused by that some .dll files in your SSAS instance are corrupt. In your scenario, can you open other SSAS project? Please download the Adventure Works for SQL Server 2012 sample project and check if
you can open it or not.
https://msftdbprodsamples.codeplex.com/releases/view/55330
Besides, here are some similar issue with your, please see:
https://social.technet.microsoft.com/Forums/en-US/29e3cef1-4699-4710-9aa5-d56cf4a279c5/the-specified-module-could-not-be-found-exception-from-hresult-0x8007007e-systemwindowsforms?forum=sqlanalysisservices
https://social.technet.microsoft.com/Forums/en-US/b2faae67-19af-4f50-88c6-5a427556df3e/error-encountered-when-creating-new-integration-services-project-0x8007007e?forum=sqlintegrationservices
Regards,
Charlie Liao
TechNet Community Support -
JDBC connection to two different machines from the same program
I want to use JDBC to connect to two different databases that are on two different MySQL installations on two different machines.
One of the installations is MySQL 4.1.12 and the other is 4.1.14-nt
For some reason, all my statements seem to be going only to one machine, even though I am very clearly set it up to go to two different machines.
Does anyone know whether connecting to two different installations from one program presents any unusual problems?
Thanks.Unless there is some horrible defect in the MySQL JDBC driver (which I doubt!), there should be no problem and like the other poster says, please post snippits of your code so we can see what your doing...
-
XServe Mail Server not receiving emails from our phone system
Hi everyone,
Since late last year, staff haven't been receiving email notificiations to their work email (hosted by a 10.5.8 Xserve) of voice mail received by our 3COM NBX Phone System. However, if they provide any other email account, such as a Gmail account, they receive the email fine.
Our firewall providers have confirmed that there is nothing stopping the emails going in and out on their end. I've checked the server mail logs and can't find anything of value.
According to a forum thread, this is how our mail system sends an off-site notification via email:
1 - NCP performs an MX record lookup using DNS server IP information to return a valid TCP/IP address for each message being sent
2 - NCP acts as an MTA (Message Transfer Agent) - will directly contact each destination mail server for local delivery
3 - NCP establishes a TCP socket to the resolved TCP/IP address on SMTP port 25
4 - NCP must be able to open a TCP session to the resolved IP address of each destination email server
5 - Each destination server the NBX is sending email to may be configured for a rule base and based on certain criteria my reject an email or attachment that other email servers accept.
I'd appreciate any help you can provide.
Thankyou,
RhysI have no way of issuing that command from the "netSet".
Below is the link I found of the self service article on troubleshooting offsite notifications:
http://knowledge.3com.com/service/main.jsp;jsessionid=5CC7B2440667382AC7190A9665 9AC61D.selfservice1?t=solutionTab&ft=searchTab&ps=solutionPanels&locale=enUS&_dyncharset=UTF-8&curResURL=%2Fservice%2Fmain.jsp%3Bjsessionid%3D5CC7B2440667 382AC7190A96659AC61D.selfservice1%3FSearchButton%3DFind%26_dyncharset%3DUTF-8%26 locale%3DenUS%26t%3DsearchTab%26useFocusTopic%3Dtrue%26focusTopic%3D9029739%26searchstring% 3DNBX%252520-%252520Is%252520NAT%252520Supported%253f%26sfield%3D%26dosearch%3Dt rue%26pn%3D4&solutionId=1802&isSrch=Yes
I've tested the internal settings, the dig as we've established, and I've checked the server logs - they don't seem to show anything relating to the nbx.
The firewall has port 25 open to our mail server and phone system only.
-Rhys -
Error when transporting Webservice from our DEV system to QA system
Hello, I created a web service from an rfc by following the wizard from Utilities>More Utilities> Create Web Service. This was created in our 030 client of DEV. I had to create two transports one client independent that was the VI and Service and one Client dependent for the actual webservice. I then transported the webservice to our DEV 200 client and all worked well. Next I transported both to our QA box, first the vi/Service transport then the webservice transport. This is not working, in our QA system, from wsadmin when trying to get the wsdl error is Could not determine wsdl address (ICF ERROR) and from wsconfig when I pull up the service definition and variant the status shows a red stop sign. Is there a trick to transporting this webservice to different systems?
I def award points for helpful answers
Cheers
Devlinhi,
I had this problem once and in my case the service wasn't activated in SICF.
so see your service tree under /sap/bc/srt/rfc/sap/<your_service> and probably it's inactive (grayed out). right klick and activate it.
anton -
Error while using the WSDL from the local system
Hi all,
When I was trying to use a WSDL that was stored in the local system and was deploying the application... the application was deployed and was displaying an error called
" java.io.FileNotFoundException: D:\Documents and Settings\gz2yvb\Desktop\AbysalEmail.wsdl (The system cannot find the path specified) ".
Can anyone helpme out.
Regards,
AnuradhaHi,
Please check table T77IV and see whether you haver assigned a number range for the object you want to transfer the data.
Please let me know in case you require any further clarifications.
With Regards,
Kaustuv Goswami. -
In order to simplify local development and remain consistent with the use and data in the Java Data Dictionary, we would like our developers to connect to the JDD on the development server. We believe we can accomplish this, but the question is "How do we set security on the central JDD so that developers cannot update tables and data that do not belong to them"??
Any help would be greatly appreciated.Hello,
I work with Peggy and wanted to clarify our issue. We know we can contorl access to the Java Dictionary within NetWeaver by assigning them to tracks. That's not our concern right now. What we're worried about is that our developers will have to set up a DataSource to the Oracle DB on the development server, and will therefore know the password to that database. Once they know the password they would be able to access the data in all the tables - including ones not in their own tracks - because they could use any database tool to get to that data.
In addition, we're concerned not only about developers updating data, but even reading, as some of our data is sensitive data that only those working on the project should be allowed to even see.
Thanks for any other advice you have,
Jennifer -
Connecting to 64bit Oracle 11g from 32bit Client on Windows 7 64bit OS.
Hi All,
We have installed Oracle 11g 64 bit on a Windows 7 64 bit system. As we need to run some 32 bit application on the system, We installed 32 bit client and try to configured Local Net Service Name Configuration using Oracle Net Configuration Assistant and during test, it is unable to connect and giving the following error.
ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
Best Regards
Freduser13144834 wrote:
Hi All,
We have installed Oracle 11g 64 bit on a Windows 7 64 bit system. As we need to run some 32 bit application on the system, We installed 32 bit client and try to configured Local Net Service Name Configuration using Oracle Net Configuration Assistant and during test, it is unable to connect and giving the following error.
ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
Best Regards
Fred=================================
A couple of important points.
First, the listener is a server side only process. It's entire purpose in life is to receive requests for connections to databases and set up those connections. Once the connection is established, the listener is out of the picture. It creates the connection. It doesn't sustain the connection. One listener, with the default name of LISTENER, running from one oracle home, listening on a single port, will serve multiple database instances of multiple versions running from multiple homes. It is an unnecessary complexity to try to have multiple listeners or to name the listener as if it belongs to a particular database. That would be like the telephone company building a separate switchboard for each customer.
Additional notes on the listener: One listener is capable of listening on multiple ports. But please notice that it is the listener using these ports, not the database instance. You can't bind a specific listener port to a specific db instance. Similarly, one listener is capable of listnening on multiple IP addresses (in the case of a server with multiple NICs) But just like the port, you can't bind a specific ip address to a specific db instance.
Second, the tnsnames.ora file is a client side issue. It's purpose is for address resolution - the tns equivalent of the 'hosts' file further down the network stack. The only reason it exists on a host machine is because that machine can also run client processes.
Assume you have the following in your tnsnames.ora:
larry =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = myhost)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = curley)
)Now, when you issue a connect, say like this:
$> sqlplus scott/tiger@larrytns will look in your tnsnames.ora for an entry called 'larry'. Next, tns sends a request to (PORT = 1521) on (HOST = myhost) using (PROTOCOL = TCP), asking for a connection to (SERVICE_NAME = curley).
Where is (HOST = myhost) on the network? When the request gets passed from tns to the next layer in the network stack, the name 'myhost' will get resolved to an IP address, either via a local 'hosts' file, via DNS, or possibly other less used mechanisms. You can also hard-code the ip address (HOST = 123.456.789.101) in the tnsnames.ora.
Next, the request arrives at port 1521 on myhost. Hopefully, there is a listener on myhost configured to listen on port 1521, and that listener knows about SERVICE_NAME = curley. If so, you'll be connected.
What can go wrong?
First, there may not be an entry for 'larry' in your tnsnames. In that case you get "ORA-12154: TNS:could not resolve the connect identifier specified" No need to go looking for a problem on the host, with the listener, etc. If you can't place a telephone call because you don't know the number (can't find your telephone directory (tnsnames.ora) or can't find the party you are looking for listed in it (no entry for larry)) you don't look for problems at the telephone switchboard.
Maybe the entry for larry was found, but myhost couldn't be resolved to an IP address (say there was no entry for myhost in the local hosts file). This will result in "ORA-12545: Connect failed because target host or object does not exist"
Maybe there was an entry for myserver in the local hosts file, but it specified a bad IP address. This will result in "ORA-12545: Connect failed because target host or object does not exist"
Maybe the IP was good, but there is no listener running: "ORA-12541: TNS:no listener"
Maybe the IP was good, there is a listener at myhost, but it is listening on a different port. "ORA-12560: TNS:protocol adapter error"
Maybe the IP was good, there is a listener at myhost, it is listening on the specified port, but doesn't know about SERVICE_NAME = curley. "ORA-12514: TNS:listener does not currently know of service requested in connect descriptor"
Third: If the client is on the same machine as the db instance, it is possible to connect without referencing tnsnames and without going through the listener.
Now, when you issue a connect, say like this:
$> sqlplus scott/tigertns will attempt to establish an IPC connection to the db instance. How does it know the name of the instance? It uses the current value of the enviornment variable ORACLE_SID. So...
$> export ORACLE_SID=fred
$> sqlplus scott/tigerIt will attempt to connect to the instance known as "fred". If there is no such instance, it will, of course, fail. Also, if there is no value set for ORACLE_SID, the connect will fail.
check executing instances to get the SID
[oracle@vmlnx01 ~]$ ps -ef|rgrep pmon
oracle 4236 1 0 10:30 ? 00:00:00 ora_pmon_vlnxora1
oracle 4878 4854 0 10:42 pts/0 00:00:00 grep pmonset ORACLE_SID appropriately, and connect
[oracle@vmlnx01 ~]$ export ORACLE_SID='vlnxora1
[oracle@vmlnx01 ~]$ sqlplus scott/tiger
SQL*Plus: Release 10.2.0.4.0 - Production on Wed Sep 22 10:42:37 2010
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing optionsNow set ORACLE_SID to a bogus value, and try to connect
SQL> exit
[oracle@vmlnx01 ~]$ export ORACLE_SID=FUBAR
[oracle@vmlnx01 ~]$ SQLPsqlplus scott/tigere
SQL*Plus: Release 10.2.0.4.0 - Production on Wed Sep 22 10:42:57 2010
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
ERROR:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux Error: 2: No such file or directory
Enter user-name: Now set ORACLE_SID to null, and try to connect
[oracle@vmlnx01 ~]$ export ORACLE_SID=
[oracle@vmlnx01 ~]$ SQLsqlplus /scott/tiger
SQL*Plus: Release 10.2.0.4.0 - Production on Wed Sep 22 10:43:24 2010
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
ERROR:
ORA-12162: TNS:net service name is incorrectly specified===================================== -
Connecting to SAP Oracle DB from External Oracle system
Dear DB Gurus
I have to connect the Oracle server on my desktop system to the Oracle Database of my SAP DEV System. Both the Oracle versions are Oracle 9i. However hard I try, I end up with either Oracle error ORA 12541 - No Listener or ORA 12154 : TNS could not resolve service name. I have checked and listener is running on both the servers. Even have started it through lsnrctl start.
For reference, I am enclosing the respective file entries of bbot my server & SAP server.
tnsnames.ora file at my server
DEV.PIIL.COM =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.XXX.X.XX)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = DEV.WORLD)
I presume that there might a problem with the domain name understanding as my machine is in domain A and the SAP Servers are out of domain or domain WORLD.
The tnsnames.ora file of the SAP server says
DEV.WORLD=
(DESCRIPTION =
(SDU = <sdu no.>)
(ADDRESS_LIST =
(ADDRESS =
(COMMUNITY = SAP.WORLD)
(PROTOCOL = TCP)
(HOST = <hostname>)
(PORT = <port>)
(CONNECT_DATA =
(SID = DEV)
(GLOBAL_NAME = DEV.WORLD)
sqlnet. ora files - at my server
NAMES.DEFAULT_DOMAIN = piil.com
SQLNET.AUTHENTICATION_SERVICES= (NONE)
NAMES.DIRECTORY_PATH= (TNSNAMES, ONAMES, HOSTNAME)
sqlnet. ora files - at SAP server
AUTOMATIC_IPC = ON
TRACE_LEVEL_CLIENT = OFF
NAMES.DEFAULT_DOMAIN = WORLD
NAME.DEFAULT_ZONE = WORLD
SQLNET.EXPIRE_TIME = 0
TCP.NODELAY=YES
listener.ora file at my server
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = lokeshsvr)(PORT = 1521))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = D:\oracle\ora92)
(PROGRAM = extproc)
(SID_DESC =
(GLOBAL_DBNAME = OLG)
(ORACLE_HOME = D:\oracle\ora92)
(SID_NAME = OLG)
listener.ora file at SAP server
LISTENER =
(ADDRESS_LIST =
(ADDRESS =
(PROTOCOL = IPC)
(KEY = DEV.WORLD)
(ADDRESS=
(PROTOCOL = IPC)
(KEY = DEV)
(ADDRESS =
(COMMUNITY = SAP.WORLD)
(PROTOCOL = TCP)
(HOST = <hostname>)
(PORT = 1527)
STARTUP_WAIT_TIME_LISTENER = 0
CONNECT_TIMEOUT_LISTENER = 10
TRACE_LEVEL_LISTENER = OFF
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SDU = <sduno>)
(SID_NAME = DEV)
(ORACLE_HOME = /oracle/DEV/920_64)
Any kind of help would be appreciable
Regards
Lokesh GuptaThe port number configuration was mismatched between my server and SAP Server due to which listener was not able to setup the connection.
-
Reading file structure and path from other local system share in jsp
Hi,
I have a requirement where I need to list all the file and folder structure from other shared folder from different path.
\\tempx\\test , here test is the folder thats shared on tempx folder. if I copy and paste the path "\\tempx\\test" in start->run it opens the file in window. Same could be achived in java with File. However it gives issues in jsp. Please help me to resolve the issue.
Thanks in advance.I am using below code to access share folder in other system and display all the file & directores below the folder. This code works fine in java in windows system, however if I move this in jsp and to Unix box issue appears. Plese guide
import java.io.*;
import java.io.File;
import java.lang.*;
public class BCMRepo
public static void main(String args[])
try
File fbcm = new File("\\\\tmp678\\test\\Common");
String strFilename = fbcm.getAbsolutePath();
System.out.println("strFilename :"+strFilename);
String strFile[] = fbcm.list();
if(fbcm.isDirectory())
System.out.println("Is directory");
for (int i=0;i<strFile.length;i++)
System.out.println(strFile);
else
System.out.println("Is not directory");
catch(Exception e)
System.out.println("Error :"+e);
Maybe you are looking for
-
The download offered is 4.0, at Mozilla.com. I have that installed on my computer. But I want the 4.0Beta12 back. I don't know where to find it. If I go to Help and About Firefox and click on Updates, the downloaded updates will then not install. Any
-
Looping through files in a folder, How to
Looking for plsql code to read through files in a folder, and pass the name of the file found to a parm. The parm will then be used to open the table, process data to end of file, and then close the file. The file is then moved to an archive, and the
-
Trying to get open nat for mw3 on ps3 WRT610n
ive tried all types of things i read online and it is stuck on moderate no matter what i do, im hooked into router directly, when i hook directly into modem it switches to open... please help
-
Can't enter a date into a table cell the way I want to
I am trying to put "Jul 2008" in a table cell but every time I remove focus from it, it changes to "Jul 1, 2008". This is very annoying, how can I turn this off?
-
F4 Input values for variables based on Navigation Attributes
Hi, We would like to use the option "Q Only Posted values for navigation" from the set F4 mode 'Query Execution Filter Val. Selectn' in the Multiprovider specific properties. The problem is that this option Works for Infoobject stored on the infocu