Download of a class
Hi,
i have a class with tons of methods and attributes. How can i download this to a PC without having to C&P everything?
Hi,
To download ABAP Object like Class and others you can use SAPLINK. For more information please look at here [SAPLink - Wiki|https://wiki.sdn.sap.com/wiki/display/ABAP/SAPlink].
SAPlink is a project that aims to make it easier to share ABAP developments between programmers. It provides the ability to easily distribute and package custom objects.
Regards,
Similar Messages
-
Downloading packages and class files
Hi Friends
I have a query regarding downloading packages . I have a LdapHelper class defined in a package of com.beasys.commerce.bridge.ldap of wls 2.0 version . I want that package to be imported to my wls of 8.1 version . Is this feasible ? . Can i download Package files as such . If so how ? .
thanks in advance
Samia-------- Original Message --------
Subject: [Fwd: downloading packages and class files]
Date: Wed, 19 Jan 2005 13:14:24 -0700
From: Jim Litton <[email protected]>
Newsgroups: weblogic.developer.interest.portal
Samia,
It would probably be best to rewrite your application to take advantage
of the 8.1 versions of Weblogic authentication and Portal property
management.
In 8.1 Portal :
1. has an Authentication class where we basically use
weblogic.servlet.security.ServletAuthentication.weak(username, password,
request).
http://e-docs.bea.com/wlp/docs81/javadoc/com/bea/p13n/security/Authentication.html
2. has a AtnManagerProxy class where we check user existence and member
of, have methods to add remove users and groups, etc.
http://e-docs.bea.com/wlp/docs81/javadoc/com/bea/p13n/security/management/authentication/AtnManagerProxy.html
3. has a LdapPropertyManager EJB which is configurable through the
p13n_ejb.jar deployment descriptors (ejb-jar.xml and
weblogic-ejb-jar.xml) for retrieving user properties from an LDAP
Directory Server.
In 7.0+ and 8.1 Weblogic Server a new more flexible security provider
framework was added to permit more flexible use of multiple security
stores, perimeter authentication, and role mapping.
Samia Rahumani wrote:
Hi Friends
I have a query regarding downloading packages . I have a LdapHelper class defined in a package of com.beasys.commerce.bridge.ldap of wls 2.0 version . I want that package to be imported to my wls of 8.1 version . Is this feasible ? . Can i download Package files as such . If so how ? .
thanks in advance
Samia -
Download jar / java class from database
Hello,
I have database 10.2.0.3 with one procedure that calls some java class loaded in database. Unfortunately I don't have source code of that java class or whole jar that was loaded into database.
I would like to download it from database and try to decompile it.
Can you tell me how can I download some java classes from database?
Everything I know is only the name of some java class that is used in one PL/SQL procedure (CREATE OR REPLACE PROCEDURE ..... AS LANGUAGE JAVA)
Thanks for some tipsCan you tell me how can I download some java classes from database?You can use dbms_java.export_class procedure to export class as blob, then just save the blob to file.
-
Download entire Development Class/Package
Hi Guys !
Is there a way (program, external tool, etc) to export/download ENTIRE development class to a file which can be browsed on every computer - without connection to SAP at all.
What I am looking for - is some kind of a tool which as input - takes name of Development class (Package) and produces TXT, HTML or any other file format, containing ALL Dictionary objects, all programs, includes, transactions, all function groups with function modules and even screens - GENERALLY - everything you see under Package - in SE80.
I found may programs to "dump" Programs, but I need more than programs.
Thanks in advance.Hi
Check this link
[http://www.dalestech.com/products/massdownload.htm]
"This program is capable of downloading customer code at the push of a button. Mass Download was designed around a super fast source code scanner capable of finding as many items of code, text and documentation needed to successfully download pieces of work for off-line viewing. And if that wasn't enough we give you the option of downloading in plain ASCII text or in hyperlinked HTML format." -
How to download a java class from database to file system
Hi All,
We have one invalid java class in database. We need to verify what is the functionality of this class. So we planned to download this class to file system. Then we need decompile it to source. But we are not able to identify the right command to download the java class from database.
Please suggest me if any possible ways to acheive this.
Thanks in advance....http://www.sql.ru/forum/actualthread.aspx?tid=747308
http://download.oracle.com/docs/cd/B19306_01/java.102/b14187/appendixa.htm
PROCEDURE export_source(name VARCHAR2, schema VARCHAR2, blob BLOB)
PROCEDURE export_class(name VARCHAR2, schema VARCHAR2, blob BLOB)
PROCEDURE export_resource(name VARCHAR2, schema VARCHAR2, blob BLOB)
create table scott.t (id number, b blob);
declare
b blob;
begin
dbms_lob.createTemporary(b, true, dbms_lob.CALL);
dbms_java.export_class('sun/net/www/ParseUtil', user, b);
dbms_output.put_line('length(b): '||length(b));
insert into "SCOTT"."T" values(1,b);
end; -
How to Download the development class into Hard disk
Hi Experts,
i have same problem in package, i want save these objects like data dictionary objects,programs,includes,messages class, class library and etc...
save into local disk.
pls give the step by step process
thanks for advance,
venu mHi venu,
<b>Download Program from a Development Class:</b>
First check in tadir that the given package is valid
SELECT SINGLE devclass FROM tadir INTO ws_devclass WHERE devclass = p_devcls.
Select all the records from TADIR table where OBJECT = 'FUGR' and PGMID = 'R3TR '.
In this way u can get all the FUnction group for that package.
For getting the function module under the function module use the FM RS_FUNCTION_POOL_CONTENTS to get all the function module under the Function group.
Usign the table tfdir get the program name of the Function module.
Using the FM 'GET_INCLUDETAB' get all the includes
for that PRogram name.
Loop at the internal table which you got from the function module.
Use the READ REPORT prog INTO itab.
Download the contents to the place where you want.
Also refer:
http://www.sap-img.com/abap/download-and-upload-your-abap-program.htm
Hope it is helpful.
Manish
Message was edited by:
Manish Kumar -
Download to excel - class not found error
hi all
i m trying to provide a feature in my project called download to excel. I have written the code and referenced appropriate jars still on deployment i get the no class def found error. Pls help.
regards
vlnhi
this is the error.
java.lang.NoClassDefFoundError: org/apache/poi/hssf/usermodel/HSSFWorkbook
at com.sap.keymap.KeymapappView.onActioncreate(KeymapappView.java:201)
at com.sap.keymap.wdp.InternalKeymapappView.wdInvokeEventHandler(InternalKeymapappView.java:136)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java(Compiled Code))
at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java(Compiled Code))
at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.handleAction(WebDynproMainTask.java(Inlined Compiled Code))
at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.handleActionEvent(WebDynproMainTask.java(Compiled Code))
at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java(Compiled Code))
at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java(Compiled Code))
at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java(Compiled Code))
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doWebDynproProcessing(DispatcherServlet.java(Compiled Code))
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java(Compiled Code))
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java(Compiled Code))
at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java(Compiled Code))
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java(Compiled Code))
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java(Inlined Compiled Code))
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java(Compiled Code))
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java(Compiled Code))
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java(Compiled Code))
at com.sap.engine.services.httpserver.server.Client.handle(Client.java(Compiled Code))
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java(Compiled Code))
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java(Compiled Code))
at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java(Compiled Code))
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java(Compiled Code))
at java.security.AccessController.doPrivileged1(Native Method)
at java.security.AccessController.doPrivileged(AccessController.java(Compiled Code))
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java(Compiled Code))
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java(Compiled Code))
regards
vln -
How to Download Complete Message Class ?
Hi ,
I have a Z Message Class. How can i download it to a file, say a text file ?
If i download it from Sandbox, can i upload it to Development someway ?
I have developed some objects in Sandbox which use messages from a new Message class. I want to use the same message class in Development as well back it up as a copy.
Is there a program that can download Message class ?
Please help.Hi,
I will download messages from T100 and then using FM to read Long Text i will get the Long text also doenloaded.
this way i can upload the Messages using program as well by inserting into T100.
what to do for Long Text i do not know
Above all, i was searching if any standard program is there to do that.
I will keep thread open for some more time.
Thanks -
Cant download dreamweaver for class asap
I am a subscriber to the sudent edition of adobe creative clould and I need to download dreamweaver for a class but it doesnt allow me to download the full version for free. What am I doing wrong? please help asap!
Sorafour if you have subscribed to the Creative Cloud then Dreamweaver CC is included as part of your subscription. Can you please elaborate on the difficulties you are facing when trying to download and install Dreamweaver. Also which operating system are you using?
-
Download/upload a class created in se24
hi friends,
i have created a class in se24, now can i download that class in a local file, also i want 2 send it to my friend the class i have created, so can he be able to upload that file,if yes how?Hi Amit,
You can import Class in your program but cant download & upload Class.
Same is applicable to BADIs.
To import Class in your program, goto SE24 & click FILE => IMPORT
Best regards,
Prashant -
Download Global Class attributes
Hi...
I want to download the global class attributes into an excel. when i checked the menu there is no such option.. Is that possible to do.. Can anyone guide me...
Thanks in advance.
Kalpanashri Rajendran.Hi,
Assuming you are asking specifically about the global class "Attributes" and not all information about the global class itself. To get the "Attributes" in a spreadsheet you can try this work-around:
1. Run transaction SE84 Repository Info System.
2. Expand the "Class Library" branch.
3. Double-click the "Attributes" node.
4. Enter your global class name and run the search.
5. Once the list of attributes is displayed, choose menu path System -> List -> Save -> Local File.
6. Choose "Spreadsheet" format in the popup.
7. Give a file path and name for your spreadsheet.
8. You should now have a spreadsheet with all the "Attributes" of your global class.
Best Regards,
Jamie -
Dynamic Class Downloading difficulty
Hi RMI Specialists,
I am experiencing a possible dynamic class loading issue when attempting to separate the client & server codes across 2 separate Windows (XP & 2000) systems. This exercise (from ch13 of Oreilly�s Learning Java) is made up
of the following interfaces and classes:
On the Server side:
package LearningJavaServer;
import java.rmi.*;
import java.util.*;
public interface RemoteServer extends Remote {
Date getDate( ) throws RemoteException;
Object execute( WorkRequest work ) throws RemoteException;
package LearningJavaServer;
import java.rmi.*;
import java.util.*;
public class MyServer extends java.rmi.server.UnicastRemoteObject
implements RemoteServer {
public MyServer( ) throws RemoteException { }
// implement the RemoteServer interface
public Date getDate( ) throws RemoteException {
return new Date( );
public Object execute( WorkRequest work ) throws RemoteException {
return work.execute( );
public static void main(String args[]) {
try {
RemoteServer server = new MyServer( );
Naming.rebind("NiftyServer", server);
} catch (java.io.IOException e) {
// problem registering server
package LearningJavaServer;
import java.io.*;
public class Request implements java.io.Serializable {}
package LearningJavaServer;
public abstract class WorkRequest extends Request {
public abstract Object execute( );
}On the Client side:
package LearningJavaClient;
import java.rmi.*;
import java.rmi.registry.LocateRegistry;
import java.rmi.registry.Registry;
public class MyClient {
public static void main(String [] args)
throws RemoteException {
new MyClient( args[0] );
public MyClient(String host) {
try {
RemoteServer server = (RemoteServer)
Naming.lookup("rmi://"+host+"/NiftyServer");
System.out.println( server.getDate( ) );
System.out.println(
server.execute( new MyCalculation(2) ) );
} catch (java.io.IOException e) {
// I/O Error or bad URL
System.out.println( e );
} catch (NotBoundException e) {
// NiftyServer isn't registered
System.out.println( e );
package LearningJavaClient;
import java.rmi.*;
import java.util.*;
public interface RemoteServer extends Remote {
Date getDate( ) throws RemoteException;
Object execute( WorkRequest work ) throws RemoteException;
package LearningJavaClient;
public class MyCalculation extends WorkRequest {
int n;
public MyCalculation( int n ) {
this.n = n;
public Object execute( ) {
return new Integer( n * n );
package LearningJavaClient;
import java.io.*;
public class Request implements java.io.Serializable {}
package LearningJavaClient;
public abstract class WorkRequest extends Request {
public abstract Object execute( );
}Steps to invoke all services on the server side:
cd C:\Documents and Settings\htran\JavaRMI\build\classes on both systems;
( i ) start rmiregistry.
( ii ) java -Djava.rmi.server.codebase='http://serverhostname/LearningJavaServer/' -Djava.security.policy="C:\Documents and Settings\htran\.java.policy" -cp . LearningJavaServer.MyServer
Steps to invoke all services on the client side:
( i ) java -Djava.security.policy="C:\Documents and Settings\htran\.java.policy" -cp . LearningJavaClient.MyClient serverhostname
java.rmi.NotBoundException: NiftyServer
Or
( ii ) java -Djava.rmi.server.codebase='http://clienthostname/LearningJavaClient/' -Djava.security.policy="C:\Documents and Settings\htran\.java.policy" -cp . LearningJavaClient.MyClient serverhostname
java.rmi.UnmarshalException: Error unmarshaling return; nested exception is:
java.net.MalformedURLException: no protocol: 'http://clienthostname/LearningJavaClient/'
Is it possible that this issue could have been caused by either the Request/WorkRequest classes which are present on both system? Likewise, is the location of invoking RMI registry on the server correct?
Both systems have got their own web servers (http://serverhostname/LearningJavaServer & http://clienthostname/LearningJavaClient).
No firewalls between the two systems and the security files (C:\Document Settings\htran\.java.policy) are made up of the following 2 lines:
grant codeBase "file:/home/jones/src/" {
permission java.security.AllPermission;
};Another issue that I am having is that the server process below is that it keeps on dropping off after a minute or two:
C:\Documents and Settings\htran\JavaRMI\build\classes>java -Djava.rmi.se
rver.codebase='http://clienthostname/LearningJavaClient/' -Djava.security.policy="C:\
Documents and Settings\htran\.java.policy" -cp . LearningJavaClient.MyClient serverhostname
This exercise has worked fine when running all the codes on the same host.
I am running Netbeans 5.5, JDK1.5.0_11 on Windows 2000 (Server) & XP (Client).
Any assistance would be appreciated.
Many thanks,
HenryHi Esmond,
You still have an empty catch block for the IOException. Fix that first. I >can't possibly tell what's going on until you can at least bind the >service.OK. MyServer.java below no longer throws RemoteExceptions in both of its methods and added the print stacktrace to catch the empty IOException earlier.
public class MyServer extends java.rmi.server.UnicastRemoteObject
implements RemoteServer {
public MyServer( ) throws RemoteException { }
public Date getDate( ) {
return new Date( );
public Object execute( WorkRequest work ) {
return work.execute( );
public static void main(String args[]) {
System.setSecurityManager(new RMISecurityManager());
try {
RemoteServer server = new MyServer( );
Naming.rebind("NiftyServer", server);
} catch (java.io.IOException e) {
// problem registering server
System.out.println("IOexception from MyServer");
e.printStackTrace();
} catch (Exception e) {
System.out.println("General Exception from MyServer");
e.printStackTrace();
}The following error messages were produced when launching MyServer.class. I have broken it into 2 separate attempts. One with Dynamic Class Downloading & one without.
Use CodeBase when launches MyServer.
C:\Documents and Settings\abc\JavaRMI\build\classes>java -Djava.rmi.server.codebase='http://clienthostname/LearningJava/' -Djava.security.policy="C:\Documents and
Settings\abc\.java.policy" -cp . LearningJava.MyServer
IOexception from MyServer
java.rmi.UnmarshalException: Error unmarshaling return; nested exception is: java.net.MalformedURLException: no protocol: 'http://clienthostname/LearningJava/'
at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
at sun.rmi.server.UnicastRef.invoke(Unknown Source)
at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source)
at java.rmi.Naming.rebind(Unknown Source)
at LearningJava.MyServer.main(MyServer.java:28)
Caused by: java.net.MalformedURLException: no protocol: 'http://clienthostname/LearningJava/'
at java.net.URL.<init>(Unknown Source)
at java.net.URL.<init>(Unknown Source)
at java.net.URL.<init>(Unknown Source)
at sun.rmi.server.LoaderHandler.pathToURLs(Unknown Source)
at sun.rmi.server.LoaderHandler.getDefaultCodebaseURLs(Unknown Source)
at sun.rmi.server.LoaderHandler.loadClass(Unknown Source)
at java.rmi.server.RMIClassLoader$2.loadClass(Unknown Source)
at java.rmi.server.RMIClassLoader.loadClass(Unknown Source)
at sun.rmi.server.MarshalInputStream.resolveClass(Unknown Source)
at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)
at java.io.ObjectInputStream.readClassDesc(Unknown Source)
at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
at java.io.ObjectInputStream.readObject0(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
... 5 more
Does NOT use CodeBase when launches MyServer
C:\Documents and Settings\abc\JavaRMI\build\classes>java -Djava.security.policy="C:\Documents and Settings\abc\.java.policy" -cp . LearningJava.MyServer
IOexception from MyServer
java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
java.lang.ClassNotFoundException: LearningJava.RemoteServer
at sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:385)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:240)
at sun.rmi.transport.Transport$1.run(Transport.java:153)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707)
at java.lang.Thread.run(Thread.java:595)
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown Source)
at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
at sun.rmi.server.UnicastRef.invoke(Unknown Source)
at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source)
at java.rmi.Naming.rebind(Unknown Source)
at LearningJava.MyServer.main(MyServer.java:28)
Caused by: java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
java.lang.ClassNotFoundException: LearningJava.RemoteServer
at sun.rmi.registry.RegistryImpl_Skel.dispatch(Unknown Source)
at sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:375
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:240)
at sun.rmi.transport.Transport$1.run(Transport.java:153)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.ClassNotFoundException: LearningJava.RemoteServer
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:242)
at sun.rmi.server.LoaderHandler.loadProxyInterfaces(LoaderHandler.java:707)
at sun.rmi.server.LoaderHandler.loadProxyClass(LoaderHandler.java:651)
at sun.rmi.server.LoaderHandler.loadProxyClass(LoaderHandler.java:588)
at java.rmi.server.RMIClassLoader$2.loadProxyClass(RMIClassLoader.java:628)
at java.rmi.server.RMIClassLoader.loadProxyClass(RMIClassLoader.java:294
at sun.rmi.server.MarshalInputStream.resolveProxyClass(MarshalInputStream.java:238)
at java.io.ObjectInputStream.readProxyDesc(ObjectInputStream.java:1500)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1463)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1699)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
... 9 more
I now understand that you do want to use dynamic class loading, and >moreover that you want to do it from the client to the server, in which >case you do need java.rmi.server.codebase at the client and you do >also need a codebase server. However the client and server can both >use the same codebase server, and indeed in this situation I don't >see why the server needs a codebase server or setting at all actually. I >don't really see why you want to use it from the client either, if this is a >closed system but that's your problem not mine.I now use only one codebase server. ie the one on the Client side where MyCalculation.class resides. You are right it is not necessary to use codebase when launching MyServer since the Client side does not need to download any additional classes over to the client side. Nevertheless, neither of the above startups (with/without) codebase worked even though the error messages were slightly different.
Btw, can you explain what you mean by a "close system" compared to an "opened system"?
java.net.MalformedURLException: no >protocol: 'http://clienthostname/LearningJava/'
That doesn't make sense. Are you sure you're transcribing it correctly? >Also what line of code is throwing it?Here is the code for MyClient which explains that the line java.net.MalformedURLException: came from line 32, the printStackTrace() from IOException.
public class MyClient {
public static void main(String [] args)
throws RemoteException {
System.setSecurityManager(new RMISecurityManager());
new MyClient( args[0] );
public MyClient(String host) {
try {
RemoteServer server = (RemoteServer)
Naming.lookup("rmi://"+host+"/NiftyServer");
System.out.println( server.getDate( ) );
System.out.println(
server.execute( new MyCalculation(2) ) ); // line 28
} catch (java.io.IOException e) {
// I/O Error or bad URL
System.out.println("IOException from MyClient");
e.printStackTrace();
} catch (NotBoundException e) {
// NiftyServer isn't registered
System.out.println("NotBoundException from MyClient");
e.printStackTrace();
} catch (Exception e) {
System.out.println("General Exception from MyClient");
e.printStackTrace();
}I wouldn't pay much attention to this message since the MyServer has difficulty registering itself to RMI registry. As a result, MyClient could not
locate MyServer via RemoteServer interface before giving up altogether.
Unfortunately, I have not being able to create an interface (e.g. >MyCalculation.class as an interface, MyCalculationImpl.class as the >actual implementation of MyCalculation) since WorkRequest is an >abstract class, which does not allow MyClient to instanciates >MyCalculation on line 28.
I don't see why not. What error messages/exceptions are you getting?
Are you referring to the execute() method on line 13 in >RemoteServer.classNo, I am referring to line 28 of MyClient.class above after the following failed attempts to create an interface for MyCalculation.java:
public interface MyCalculation extends WorkRequest { // Got a syntax error: interface expected here in Netbeans.
} Or
public interface MyCalculation {}
public class MyCalculation extends WorkRequest extends MyCalculation { ... # Obviously cannot extend more than one class.Any suggestion?
No. I said the remote method implementation (i.e. in your xxxImpl >class) doesn't need to be declared to throw RemoteException. The >remote method definition in the remote interface certainly does. I have taken out the RemoteException from 2 methods in MyServer.java. ie implementation of the RemoteServer.java.
In short, I have used only one codebase server but puzzled whether MyCalculation.class (have split it up into interface & implementation) will be passed over to the
server side by referenced, value or Dynamic Class Downloading. I do not want it to use Dynamic Class Downloading to do this.
Thanks,
Henry -
How to download elearning classes from this site.
hi.
this is yugandhar.
does any one give me the idea on how to download the elearning classes from this site. is it possible.Hi,
Its possible to download e-learning from this site. Go on to the homepage of e-Learning ans select the topic of your chioce:
https://www.sdn.sap.com/irj/sdn/elearn
Regards,
Subhash
P.S: Please close the thread once your question is resolved. -
Can WLS6.0 download stub of RMI startup class
Hi All,
In order to lookup an RMI start class I need to have interface and also stub
in the client classpath. I am wondering whether the weblogic server can
download the stub dynamically. I know that it will download the stubs for
ejb's. But it is downloading for RMI class. Can anyone tell me why it is not
down loading and how to make it work
Thanks
Suresh"Suresh Done" <[email protected]> writes:
In order to lookup an RMI start class I need to have interface and also stub
in the client classpath. I am wondering whether the weblogic server can
download the stub dynamically. I know that it will download the stubs for
ejb's. But it is downloading for RMI class. Can anyone tell me why it is not
down loading and how to make it workYes. You just need to make sure the stub is accessible to the server.
andy -
Hi,
We have a 46d playpen system where i have been developing applications. I want to move one particular application to a 620 box. The application has many abap classes, I am unable to find a download utility to download the ABAP class code.
Does anyone know if there is any way of downloading uploading abap classes, a colleague recommended "direct download" from daletech but the enterprise version doesnt work on a 46d system.
If not, is it possible to TP from a 46d to 620, given that neither boxes are configured for transports.
Cheers
JPWork with a Basis person and see if they can manually move the transport for you. You might want to build a small transport first for testing before you commit to moving a lot of stuff.
Maybe there are some notes in OSS in regards to transports between 4.6 and 6.2.
Maybe you are looking for
-
Blue screen of death error on HP Officejet Pro 8500 wireless - HELP
Hi all I have a officejet pro 8500, used (rarely) in a home office environment, probably done no more than 1000 pages total. Turned it on today to print something, powers up ok with no errors, sounds normal, but when sending something to print I get
-
Best practice of deployment IPv6 over PPPoE
Hello colleagues! IOS XE Version: 03.09 I have following configuration on AC: ipv6 dhcp iana-route-add ipv6 dhcp pool 3PoE prefix-delegation pool PD lifetime 120 120 address prefix 2aXX:5CC0:BC35::/64 dns-server 2aXX:5CC0:DC1::DC1 dns-server 2aXX:5CC
-
Report output is not diplaying
Hi Experts, Good morning! When i try to execute the HR report the out put of some of the employees CTC is not displaying and other employess dipalying , only this issue some of the employees only .Can any one suggested me how to solve this issue. i
-
Managed datasources, Global transactions and XA
I have a question regarding the use of managed datasources and global transactions with oc4j 10.1.3. From the documentation at: http://download-west.oracle.com/docs/cd/B25221_04/web.1013/b14428/servdats.htm#CHDGJECC I conclude that managed datasource
-
How can i change my location because icant updated my files and download
how can i change my location in my i phone i cant updated my files or even download