Some libraries for client J2EE

Hi,
What're appropriate libraries for running some J2EE client? When I test some client inside JDeveloper IDE, then several libraries're declared in classpath, but what's necessary for launching this client and connecting to any J2EE application deployed on OC4J?
Regards
Krzysztof Malinowski

Thanks for your tips!
I made some test with jar file from oc4j_client.zip Therfore there's only one important jar: oc4j_client.jar
Take a look at this command line:
java -classpath D:\JDeveloper\jdev\mywork\MyWorkplace\Project\classes;D:\JDeveloper\OC4JClient\j2ee\home\oc4jclient.jar mysf.SFacadeClient
This's a minimal info needed in classpath declaration (actually I use also addressing my directory where mysf package exists, the first part in classpath)
The important thing is in my client class (SFacadeClient) I put appropriate info for InitialContext, factory class, url, user and password to OC4J. In case of lack those paramiters, the classpath declaration should address ...\oc4j-config\.client file with default InitialContext parameters.
Regards
Krzysztof

Similar Messages

  • Help me to add some libraries for WebLogic Portal project

    My Web portal project (10.3.2) that was created with Oracle Enterprise pack for Eclipse with some custom configurations:
    - Beehive controls
    - Beehive netUI
    - Struts 1.2
    - WebLogic Control Extension 10.2
    - full feature for "WebLogic portal"
    - "Portal application controld 10.3.2" and "Portal framework beehive adapter" support in WebLogic Portal (optional)
    I need these packages to process some user and group informations:
    - com.bea.p13n.controls.ejb.usermgmt
    - com.bea.p13n.controls.userInfoQuery
    - com.bea.portal.tools.security.group
    - com.bea.portal.tools.security.user
    My problem is impossible to import these package (except: com.bea.p13n.controls.ejb.usermgmt). I've read carefully API Javadoc for these package informations but it cannot help anymore.
    Anybody can tell me what libraries should be added to project to solve my problem ?
    Thank in advance.
    Ps:
    This is my screenshot for project configuration:
    http://i284.photobucket.com/albums/ll10/docphongm41/screenshot/screenshot.png

    Thank Kevin.
    I've fix my problem by adding some jar files, such as war-classes.jar which can be found in workspace/.metadata/.plugin/oracle.eclipse.tools.weblogic/libraries/wlp-tools-ugm-web-lib_10.3.2_10.3.2/1/WEB-INF/lib
    So, I can use UserID class in my source code without any error notification on Eclipse. Everything sound to be okay, but it isnt. When I initialize an UserID object in my pageflow controller class like this:
    UserID uid = new UserID("::security:user");
            String uname = uid.getUserName();I'll get an exception:
    com.bea.netuix.nf.UIControlException: com.bea.portlet.adapter.scopedcontent.ActionLookupFailedException: java.lang.NoClassDefFoundError: com/bea/portal/tools/security/user/UserIDI don't know why JVM cannot found my imported class though I've already added library and imported this class to the source.

  • Where i find trail version of j2ee engine for client machine.

    Hi,
    I am new bee in sap netweaver . Now i have ecc 5.0 at my office. I need to make WebDyn pro application at my client side. For testing purpose i need to create java environment for running my dynpro applications. So please can any one tell me where i find trail version of j2ee engine for client machine.
    Please explain it and provide me paths where i download environment.
    Regards,
    Gurprit Bhatia

    "(also, my profile says that I'm running OS X 10.4.6, but I'm not really sure, that's just what one of the disks has written on it that came with my used and very cheap machine "
    Click on the blue Apple icon at the top left of your screen and choose About this Mac. That will tell you what your OS version is and what amount of RAM you have. The "More Info" button in the pop-up screen will give you the Apple System Profiler application and that will give you whole bunches of information on the drive space used etc.
    David

  • Where can I find the 11g XE client conectivity libraries for download?

    Hi to all,
    I'm new to Oracle and I have already installed the Oracle Database Express Edition 11g server and now I want to test connections from client PCs but I can't find de client libraries installer for this edition. In the online documentation I found a link for downloading de client libraries but it is broken.
    In the download page there are no client libraries for downloading. Should I install all the database on client PCs?
    Any help will be appreciated,
    Regards,
    HDuqueC.

    Should I install all the database on client PCs?
    Not necessarily. On clients PCs you can install any compatible Client version.
    But... why do you need a client software on Clients ? A browser should be sufficient...

  • Want some comparasion for J2EE servers

    Is there a comparasion for popular j2ee server, such as WebLogic and WebSphere, in detail.
    Or anyone can give me some suggestion on which is the easiest server to use and config for a newbie?

    In my view there is no simple way for a newbie to get startet with J2EE servers unless you buy JBuilder 4-5 Enterprise or VisualAge for Java. J2EE.exe and the tools that goes with it is crap.
    Morten Hjerl-Hansen

  • Using Device Central CS5.5 offline or Obtain online libraries for local (offline) use

    Device Central CS5.5 cannot navigate my proxy server, and my security unit is never going to provide an exception to allow it.
    I need Device Central to at least start-up so I can review some mobile website designs. But all I get upon starting DC is two requests for my proxy credentials then a message stating DC cannot connect to the online library. Clicking OK to the "no connection" message shuts DC down. Why? Why can I not use the software without a constant connection to the Internet?
    That is
    where can I download the libraries for local use, what adress is it attpemting to connect to?
    where do I put them so CS5.5 can find and use them?
    How do I get CS5.5 to stop trying to connect to the Internet at start up when I cannot get to the properties to change the setting?
    I found this note http://helpx.adobe.com/legacy/kb/device-central-cs4-cannot-connect.html providing an offline solution for DC CS4 which deos not work with CS5.5.
    Thanks,
    -Greg

    Hi Eric,
    CS5 Help is usually located at /usr/<username>/Library/Preferenecs/chc.487...../Local Store/Help folder.
    CS6 help is usually downloaded to the shared location, unless it is restricted. In that case the above folder may be used for downloading help.
    Yes, the offline content setting in Adobe Help Manager, will work for both CS5 and CS6 help and help clients.
    'Expired Status' usually refers to the state when local content goes stale, and there is new offline content available on Adobe.com servers. Yes, a user may click on Download/Update button to update the expired content from Adobe Help Manager.
    Regarding the CS5 product help launch, I will need some more information to provide a reply.
    1. Which product and version of CS5 is the customer facing problem with.
    2. What is the status of help downloaded for the same product (CS5 or CS6 in Adobe Help Manager)
    3. Is the user able to see downloaded help in the above mentioned folders
    Let me know if you have more queries.
    Regards,
    Sandeep

  • Eclipse web project using Glassfish 4.1 can not load some libraries in modules directory

    We installed latest "Glassfish Tools for Luna" (updated on 2 October 2013) and created a new Eclipse dynamic web project using Glassfish 4.1. When try to annotate a class with "javax.enterprise.context.ApplicationScoped", it complains as "ApplicationScoped cannot be resolved to a type" although imported as "import javax.enterprise.context.ApplicationScoped".
    Checking "glassfish-4.1/glassfish/modules/" directory and there is cdi-api.jar that contains ApplicationScoped class. But when checking from the project libraries in the eclipse, couldnt see such a jar.
    My configuration:
    Eclipse 4.4
    Glassfish runtime java development kit : java 1.8.0_20
    Project java development kit : java 1.8.0_20
    Project compiler level : 1.8
    Project facets : Dynamic web module 3.1, Java 1.8, Glassfish Web Extensions 4.0, Javascript 1.0
    How to solve this issue?
    Thanks.

    There are 274 jars in the Glassfish 4.0 modules directory, whereas there are 282 jars in the Glassfish 4.1 modules directory. So it is not only cdi-api.jar. Moreover there are some libraries, the names of which have been changed.
    Why not simply importing all libraries in the modules directory to Eclipse, like Tomcat plugin does for tomcat/lib directory? So when manually deploying a library(jar) to modules directory Eclipse will discover it automatically.
    Thanks.

  • RFC Connection error in SM59 for SAP J2EE

    Hi All,
    i am getting the following error description while testing the connection for
    SAP J2EE ...
    Connection Test SAPJ2EE  
    Connection Type TCP/IP Connection  
    Logon              Connection Error
    Error Details     Error when opening an RFC connection
    Error Details     ERROR: program sapfallback not registered
    Error Details     LOCATION: SAP-Gateway on host filip / sapgw00
    Error Details     DETAIL: TP sapfallback not registered
    Error Details     COMPONENT: SAP-Gateway
    Error Details     COUNTER: 1483
    Error Details     MODULE: gwr3cpic.c
    Error Details     LINE: 1694
    Error Details     RETURN CODE: 679
    Error Details     SUBRC: 0
    Error Details     RELEASE: 700
    Error Details     TIME: Tue Mar 31 02:44:35 2009
    Error Details     VERSION: 2
    Help me resolve this
    Regards,
    Mahesh.

    Hi,
    Please follow this steps:
    Creating RFC Destinations in the ABAP and Java Environment
    You need to create the following RFC destinations in transaction SM59 (ABAP) and the Visual Administrator (Java):
    u2022 AI_RUNTIME_JCOSERVER
    u2022 AI_DIRECTORY_JCOSERVER
    u2022 LCRSAPRFC
    u2022 SAPSLDAPI
    Depending on your client settings, it may be necessary to be logged on your SAP Exchange Infrastructure host as SAP system user with the authorization to maintain customizing tables and to release transport orders. Note, that user "SAP*" or "DDIC" does not have these authorizations.
    Maintaining the RFC Connections (Transaction SM59)
    1. Log on to your SAP Exchange Infrastructure central instance host.
    2. Call transaction SM59.
    3. Choose Create.
    4. Enter at least the following:
    RFC destination: AI_RUNTIME_JCOSERVER
    Connection type: T
    Description: <your description>
    5. Choose ENTER
    6. Choose the tab Technical settings and do the following:
    a. Select Registered Server Program
    b. In the Program ID field, enter: AI_RUNTIME_<SID> where <SID> is the SAP system ID of your Integration Server host. Use uppercase letters only.
    c. Enter Gateway host and Gateway service of your Integration Server host. To find out the required parameters:
    a. On the Integration Server host, call transaction SMGW
    b. Choose Goto u2192 Parameters u2192 Display (see entries for gateway hostname and gateway service)
    7. Choose tab Special Options and select the flag Unicode in the box Character Width in Target System.
    8. Save your settings.
    9. Repeat the steps 3 u2013 8 for the remaining destinations:
    Destination
    Values
    AI_DIRECTORY_JCOSERVER
    Program ID: AI_DIRECTORY_<SID>, where <SID> is the SAP system ID of your SAP XI host
    LCRSAPRFC
    Program ID: LCRSAPRFC_<SID>, where <SID> is the SAP system ID of your SAP XI host.
    SAPSLDAPI
    Program ID: SAPSLDAPI_<SID>, where <SID> is the SAP system ID of your SAP XI host.
    10. Leave the transaction SM59 open for later tests.
    J2EE Configuration for the Destinations (Visual Administrator)
    1. On your SAP Exchange Infrastructure central instance host, start the J2EE Engine administration tool.
    2. Choose Cluster u2192 Server u2192 Services u2192 JCo RFC Provider
    3. In the section RFC destination, enter exactly the same program ID and gateway options for AI_RUNTIME_JCOSERVER that you used in the step Maintaining the RFC connection above. Additionally, set the number of processes to 10.
    4. In the section Repository, do the following:
    a. Enter the parameter for the SAP XI host: Application Server, System Number, Client and Language.
    b. For User and Password maintain the login parameters for the user SAPJSF.
    c. Select the flag Unicode.
    6. Choose Set.
    7. Repeat the steps 3 u2013 6 for the remaining destinations:
    Destination
    Values
    AI_DIRECTORY_JCOSERVER
    u2022 Corresponding values from SM59
    u2022 Number of processes: 10
    LCRSAPRFC
    u2022 Corresponding values from SM59
    u2022 Number of processes: 3
    SAPSLDAPI
    u2022 Corresponding values from SM59
    u2022 Number of processes: 3
    Testing the RFC Destination
    After you have maintained all RFC destinations in both the ABAP and Java environment, you can check all the connections above as follows:
    1. Call transaction SM59 again.
    2. Open your RFC destination.
    3. Choose Test Connection. No error should be displayed.
    This will solve your problem.
    Thanks
    Laxmi Bhushan

  • 10.6.8 Server: Spotlight stops working for clients after fresh installation and updates

    Problem:
    On 2013-02-22, I reinstalled my Xserve with fresh 10.6.3 and upgraded it to 10.6.8 OS X Server. Spotlight used to be working perfectly for clients to search over the network but now it is not working. Administrators doing local spotlight search on Xserve server side is searchable. Clients with less privileges searching files across the network to the server will receive null result. Administrators searching files across the network is still working.
    I believe it has something to do with the update packages and some security improvement bugs introduced in late 2012 or early 2013.
    All my clients Macs are in either 10.7.5 and 10.8.2.
    Can anyone confirm this? All my staff members in the company cannot do the spotlight search to the server now!

    Hi, maracujana,
    the problem can be solved if you allow the permssion of parental folder of your share points to have at least Read Only permission for User and Group:
    permission: 644
    User: Read&Write
    Group: Read Only
    Others: Read Only (or No Access)
    In my case, it is strange that PCs can still do the search to the Snow Leopard Server by SMB protocol while Mac using AFP cannot even when the parental folder had permission 600. This could be a secure issue in Snow Leopard's SMB1.0 protocol. Note that SMB in Snow Leopard is SMB1.0, which is less secure and hence deprecated after Snow Leopard. From Lion onwards, all OS X uses SMB2.0 and/or SMB X.
    Oh, yes, there is one more thing:
    you may find your scanner using SMB protocol stopped functioning properly if you use (Mountain) Lion client and (Mountain) Lion server. It boils down to Apple's silent change of SMB protocol from SMB1.0 to SMB2.0. Solution? Use FTP protocol for now. Don't blame Apple too much because Apple had to follow the rules of GPLv3. The SMB issue will go on as Microsoft introduces its own SMB 3.0 protocol in Windows 8 while Apple introduces its SMB verison dubbed SMB X.
    Hope this helps.

  • Logical system for client 001 for SAP NETWEAVER ABAP TRIAL VERSION for BI

    Hi,
    I have installed SAP NETWEAVER ABAP TRIAL VERSION for BI. In that I have to create logical system for client 001. I have taken a list of available clients from the abap R3 side. Here is a list of it.
    Clients View
    Cl. Name City Crcy
    000 SAP AG Konzern Walldorf EUR
    001 Auslieferungsmandant R11 Kundstadt USD
    066 Test EarlyWatch Profiles Walldorf EUR
    I cannot get inside the BW side for it asks me to create a logical system for client 001. What to do?
    Kindly help me.
    Kannan

    hi,
    ? First log on to SAP R/3 server connections Go to SCC4 in R/3 & in Scc4 BW server. A screen opens in that logical name of the system would be opened in both (R/3 & BW).
    ? Take notepad in it save .R/3 & BW logical names go to R/3 & click SM59 to create R/3 connections click then a screen opens gives BW logical name in RFC Destination option & give connection. type 3 & give some description & then press enter.
    ? You will get another screen under it then at target host gives BW server name we will get it from BW logon change ID, IP address option & give the system no. The system no go to logon pad just drag it then you will see the name.
    ? Then click on log on securities go to log on give BW server details like No, client user Password. Then save it then click test connection tab if there are errors then it gives yellow color if they are no error the whole thing come as white.
    ? Then click on the Remote Logon then we go to BW server give RFC – SM59 & click create. Then give the server name which is at the bottom right corner give it then give the no, name, password in logon Security save it & test connection & then remote logon.
    ? R/3 - B W - R/3
    ? Logical connection source system connection is used to transfer the data from R/3 to BW. Go to BW system& click RSA1 go to source system option go to top to the source systems right click on it. Then click create then a screens opens then.
    ? PC ?Flat file , DB ? Database
    ? Select the option manual then a screen appears RFC Destination, Logical source name then click OK then it goes to opens other screen save it test connection then remote login then it go back to the then a screen opens then click only activate.
    ? BW ? RS1 ? SOURCE SYSTEM ? CREATE MANUAL AUTOMATIC CELL
    ? R/3 ? Test connections login ? back ? replicate method ? active data R/3 Source system you will able to.
    hope it helps u
    Ramesh

  • 10.2 crashes when I try to convert old libraries for use in the new software. Is there a workaround for this? Or will i have to continue using the previous version to complete older projects?

    Final Cut Pro X 10.2 crashes when I try to convert old libraries for use in the new software. Is there a workaround for this? Or will I have to continue using the previous version to complete older projects? the only foreseeable solution is to begin any new projects on 10.2 or importing footage on 10.2 and starting form scratch--which is something i definitely don't want to do or have time to do. ANY advice, thoughts, or opinions would be greatly appreciated! Thank you!
    Running 10.10.3 // MacBook Pro (Retina, 15-inch, Early 2013) // 2.4 GHz Intel Core i7 // 8 GB 1600 MHz DDR3

    Exactly the same problem with me.
    Some other threads advice to remove fonts, clean the caches, remove add ins but nothing works consistenty, for some it looks like it works, for me it failed.
    What I did not try yet, was to move the Render files out of the malicious library to trash.

  • What is package structure for Client ABAP Proxy?

    1.     What is the package structure need to be  followed for creating abap client proxy.
    2.     I read some where in the form, it need to be 4 levels. Why is it?
    Thank you
    Ganges Leaves

    Hi
    U hav to create a 4 level package structure for client ABAP proxy.
    U can create ur on packages
    1st level-structure package.
    2nd level-main package.
    3rd and 4th level-sub packages.
    To the 4th level only u hav to create proxy.
    The classes and code wil be automatically generated at the time of proxy creation.
    I think the 4 level structure bcz while in r/3 everythin in integration builder like software component version and all wil be takin as different levels.
    Also u can go through the weblogs in the above replies u got.
    Regards
    Victoria.

  • How to get the user input while server is waiting for client's message

    I have a server/client program (using sockets)
    I used a thread to let a server always waiting for client's request, but how should I found that
    there is no message pass to server from client.
    public void run(){
    while (true){
    Socket server = serverP.accept();
    ObjectInputStream inFromClient = new ObjectInputStream(server.getInputStream());
    inMessage = (Message)inFromClient.readObject();
    System.out.println("Deadlock may occurred, please enter your command: ");
    BufferedReader inFromUser = new BufferedReader(new InputStreamReader(System.in));
    String command = inFromUser.readLine();
    The server is waiting for the inMessage that is passed from multiple clients. But if the server
    received no message after some time, it will assume something is wrong (eg, there is a
    deadlock), then it will ask the user to input the command to execute the method.
    If I put
    "System.out.println("Do you want to take Snapshot: ");
    BufferedReader inFromUser = new BufferedReader(new InputStreamReader(System.in));
    String command = inFromUser.readLine();"
    inside the while loop, it will keep asking user to enter the input when every time the client
    connect to the server. But I want to ask the user to enter the command only when the server
    can't get the response from clients.
    How should I do?
    Please help.

    Your statement:
    Socket server = serverP.accept();
    it will block until Server receive connect request from client.
    So, what u can do is, create a seperate Thread which check if server is idle (no client connect to it) for a certain time.
    public class xxxxx extends Thread {
    public void run(){
       (new WatcherThread()).start()
       while (true){
       Socket server = serverP.accept();
       WatcherThread.acceptFlag();  
       ObjectInputStream inFromClient = new ObjectInputStream(server.getInputStream());
       inMessage = (Message)inFromClient.readObject();
       Do something with client request ...
       I suggest you to create a WorkerThread for
       each client request.
       For example:
       new (WorkerThread(inMessage)).start();
       This way, your server thread will immediately serve
       the next client request ASAP.
    public class WatcherThread extends Thread {
       private static accept = false;
       public static void acceptFlag() {
            flag = true;
       public void run() {
           while(true) {
               try { sleep(10000); } catch (Exception ex) { }
               if (!accept) { // never accepted after 10000 msecs
                  ... do your System.in here ...
               flag=false;          
    }The idea is, your server notify WatcherThread if a client connect. WathcerThread runs at seperate thread. It waits for 10000 msecs and check if Server ever gets connect request from server. If it doesn't then you can do your System.in, otherwise, it will wait for 10000 again..
    FYI, next time, please use [ code ] and [ / code ] to format your code. It discourage me to read plain whole-left-aligned code like yours.
    See: http://forum.java.sun.com/features.jsp#Formatting
    rgds,
    Alex

  • Using iPhoto Libraries for Wallpaper with Windows XP running in VMWare

    I have Windows XP running in a VMWare Fusion virtual setup - ie no bootcamp.
    I'm guessing this isn't possible, but here goes....
    I have all my desktop wallpaper in iPhoto, all my data is on the Mac HDD I'd like to use the libraries for Windows as well, is there any sort of app I could get on Windows side that would let it look inside the iPhoto Libraries and select a picture. Instead of having to keep a second copy of all the pictures for the Windows side to use ????

    Will there ever be some sort of plug in or application that will allow a Windows user to access photos stored in an iPhoto library.
    I wouldn't expect so.
    Apple tend only to port apps to Windows or facilitate Windows apps when it helps to sell Apple Hardware. So, Safari is ported to Windows because it helps sell iPhones, iTunes because of iPods. Hard to see Apple selling hardware to someone buying Windows Home Server.
    Regards
    TD

  • Internet access for clients

    GuysNeed some assistance on providing internet access at a branch site for clients. Any thoughts and suggestions welcome and appreciatedWe have a number of branch offices connected over ISP managed MPLS network, any-2-any. I am looking at implementing some kind of internet access at the branch offices, either wired or wireless. We manage all the L1 and L2 connectivity at the sites, and the L3 side at our hub offices, of which we have 2, mainly for internet traffic etc, which isnt provided by our MPLS ISPCurrently all internet traffic for all sites goes to our data centre and is routed out through our firewall. Routing isnt an issue here, its more the best way to set this up securely.My initial thoughts were to set aside a whole bunch of ports on a seperate PVLAN that would connect the clients to the network (I am not conerned about the clients talking to each other, as long as they cant reach the local vlans). But the problem may lie at the firewall end, as I will need to specify specific hosts for port 80, 443 traffic only. Would a seperate DHCP scope, of say a /28, allowing 16 hosts only be an idea? Then I wouldnt have to mess around with firewall changes for different hosts all the timeThanks

    Hi,
    How are things going?
    I agree with Darshana. You could connect to Internet by using a router. Router can be configured to enable all users in a network to share a single connection to the Internet. Routing and Remote Access of windows server provides built-in
    routing services that can be used to connect an organization to the Internet through a routed connection to an ISP.
    You can also configure a windows server as a NAT server in your network. A network address translator is an IP router that can translate IP addresses and TCP or UDP port numbers of packets as they are being forwarded. NAT translates private
    IP addresses to external, public IP addresses. Then the computers of LAN can access Internet.
    Best Regards,
    Tina
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

Maybe you are looking for

  • Does InDesign 3 create automatic hyperlinks

    I'm with a new company that creates documentation using InDesign with CS3, that are then exported as pdfs. The pdfs have active hyperlinks for the company's website and email. My question is how are these links made active. The Indesign template curr

  • Changing row's visual attribute

    Hi, I am populating a multi block record with a cursor, i have a field called read which holds value Y or N, if the value is Y then do nothing and if the value is 'N" then make that entire row in bold fonts. for this i have created a visual attribute

  • Urgent Query please give me the solution ASAP

    Hi , i want to know a simple thing,and my question is "How we can retrive data from a database table using BPEL ,e.g emp" if possible plesae tell me the step by step process. Thanks , Prakash

  • Hp voicetab 7 update.zip file

    I downloaded update.zip file from HP site, applied update from sd card in recovery mode and selected the "update.zip" file bt error occurs "Istallation Aborted " . Everytime i do the above steps, it gives the same error. I too tried the ADB Sideload

  • ITunes Authorization on iMovie

    This is a first. Dropped a "purchased" song into 06. Began to edit it when the itunes window popped up telling me the song was not authorized for this computer. This is the computer it was purchased on. So it told me to go to the itunes store to auth