Stand Alone OC4J  and Java's Comm API

I am using the Java Comm API alongwith a servlet. The code simply gets the required ports and displays it in a JSP page. The program is developed using Jdeveloper 9. It works fine with embedded OC4J but a blank jsp page is displayed when deployed in in standalone OC4j instance on the same machine. I have correctly copied the required wincom32.dll, java.comm.properites and comm.jar to the jre/bin, jre/lib and jre/lib/ext respectively. What could be wrong.
Thanks
MMN

Try setting the OS PATH env variable to the directory where the .DLL is located before you launch the container. Or else put the .DLL in a directory which is in the existing path.
cheers
-steve-

Similar Messages

  • Starting NON-stand alone oc4j in debug mode

    I have set up OC4J (in Application Server 9.0.2.0.0, NOT is stand-alone mode) and I want to start it in debug mode in order to watch some jdbc leaking connections. Which is the way? Is it done through the Enterprise Manager WebSite? All the documentation I have reached is about stand-alone mode.
    Thanx in advance

    Andreas,
    Did you try to add the debug option in OEM (Enterprise Manager WebSite) via OC4J Home > Server properties > Command line options?
    Cheers,
    -lars

  • Hi, i'm trying to download the Lightroom 6 stand alone version and get the following message right after a click the checkout box: "The account was registered for a different country. Please sign out and sign in using an existing account for this country.

    Hi, i'm trying to download the Lightroom 6 stand alone version and get the following message right after a click the checkout box: "The account was registered for a different country. Please sign out and sign in using an existing account for this country." I'm in Namibia and tried to change my country from Africa to USA but still the same problem. TIA

    Hi Annen,
    Please refer the following forum thread.
    Trying to purchase trial period in different email address - error message "Error in Your Order The account was registered for a different country. Please sign out and sign in using an existing account for this country. Ok"
    Regards,
    Sumit Singh

  • Can I install Photoshop stand alone upgrade and Creative Suite on same machine?

    I'd like to be able to install my Photoshop CS6 Upgrade on the same machine as I am running Creative Suite 5.5.
    I'm using Windows 7 64bit.
    I have one running on a laptop and one on my main machine.. is this possible without conflicts?

    Hi Ned
    Thanks for the reply.
    I have CS5 Photoshop stand alone but it's not installed on same machine as Creative Suite 5.5.. its on a laptop. I use Photoshop mainly but don't want to stuff up my Creative Suite by installing CS6 as well..

  • Lightroom 6 stand-alone version and creative cloud desktop app

    Will the stand-alone Lightroom 6 version install also "creative cloud desktop" application (like the cc trial) or will it be really a stand-alone software, without any other software (which will continuously and silently connect to the internet) "bundled" ?
    Thanks

    Thanks, that's unfortunate.. I'm planning to update and I really hoped that buying the stand-alone version would have resulted in having a different installer but to me it's a selling factor not having additional software that does its things online without asking (which, if blocked with a firewall, prevents the trial of LR to work at all).
    I'll try to understand if the cc will also be uninstallable afterwards keeping lr6 working correctly (if you'll try to uninstall it in a month, please let me know).

  • Stand-alone media and domain joining

    Hello,
    please help to identify a problem, I have used stand-alone media to migrate one computer from XP to 7, all good except joining to domain, computers saved its name but instead of domain computer is in workgroup named as domain netbios name, I have checked
    smsts log, I did not find any "djoin" records, what can be a reason? This TS works good without stand-alone media, also in the TS a I have checked connection to domain with specified account for joining to domain. 
    SCCM 2012 R2.

    I have found a lot of similar entries:
    05/07/2014 17:47:12:916 NetpValidateName: name 'domain.com' is valid for type 3
    05/07/2014 17:47:12:916 NetUseAdd to \\ADC01.domain.com\IPC$ returned 1909
    05/07/2014 17:47:12:916 NetpJoinDomain: status of connecting to dc '\\ADC01.domain.com': 0x775
    05/07/2014 17:47:12:916 NetpJoinDomainOnDs: Function exits with status of: 0x775
    05/07/2014 17:47:12:916 NetpDoDomainJoin: status: 0x775
    ad account which is used for joining is not locked and tested for accessing to OU.

  • Can Pages 09 be purchased stand alone? And Online

    I dont have Mac stores near me and can't afford to wait for it to arive where I live if I buy the physical version online.
    Can it be purchased as a software for downloading?
    And can Pages be purchased stand alone? I dont need numbers, etc
    thanks

    You can indeed purchase a download-only version of iWork -- just download the free trial, and in the trial version there is a procedure for purchasing a license online.
    Apple does not sell Pages separately from the other iWork suite applications. (But at $79, it's still pretty cheap for an extremely functional word processor/page layout app.)

  • PROBLEM IN ALE/IDOCS  USING STAND-ALONE PROGRAM AND CHANGE-POINTER.

    Hi All,
      Recently i have joined a company where i have to work on ALE/IDocs , So for this i need some help, Actually i need to know the complete senerio of this, I know some configuration part but after this what i want to know is the coding part
    of it.
    IN STAND-ALONE PROGRAM..
      I NEED TO EXTEND AN IDOCS WITH ADDING FEW MMORE FEILDS, SO IN   
      THAT CASE WHAT ALL THE THINGS I HAVE TO DO..
    IN MESSAGE CONTROL ..
       I NEED TO EXTEND AN IDOCS WITH ADDING FEW MORE FEILDS, SO IN 
       THAT CASE WHAT ALL THE THINGS I HAVE TO DO..??

    Hi,
    please have a look at
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/78/217d6851ce11d189570000e829fbbd/frameset.htm
    Hope this helps.
    Regards
    Bernd

  • Stand alone class and the class path

    Hi,
    I have a simple Java project in Eclipse environment. The project has it's class path,
    that contains a jar file that I need to use.
    The project runs perfect in the Eclipse.
    Now, I need to take the main class out of my project, to function alone in another environment.
    My problem is that out of the environment, I don't know how the class should know that classpath.
    I moved that jar to the same folder that the class located in, but I don't know how to tell it that the jar is there.
    My goal is to run my standalone class from another java class.
    I'm afraid that examples in command environment wouldn't help me.
    Thanks a lot for any help !

    moshi wrote:
    I have a simple Java project in Eclipse environment. The project has it's class path,
    that contains a jar file that I need to use.Ok, so you have a class that you have written that depends on an external library. Fair enough.
    The project runs perfect in the Eclipse.
    Now, I need to take the main class out of my project, to function alone in another environment.Maybe (just maybe!) defining what exactly that "other environment" is could help us help you.
    My problem is that out of the environment, I don't know how the class should know that classpath.Well, obviously that depends on what that other environment is.
    You must have some way to influence that other environments classpath, or you couldn't even get it to call/use your class.
    I moved that jar to the same folder that the class located in, but I don't know how to tell it that the jar is there.Now you're just guessing.
    My goal is to run my standalone class from another java class. That's simple enough, you probably do it all the time.
    I'm afraid that examples in command environment wouldn't help me.And why exactly is that?
    Do you realize that you tell us far too little about your problem for us to be able to actually help you?

  • OC4J and java version

    I'm planning to migrate applications running on OC4J to 1.6 java version, but OC4J server is currently using 1.5 according the logs. When I try to start newly compiled web service app I'm getting standard java version incompatibility error (java.lang.UnsupportedClassVersionError: Bad version number in .class file).
    Is it possible and how to set OC4J to use 1.6 java to solve this error cause?
    OC4J version 10.1.3.1
    Thanks for the help

    Hi,
    You can check the Metalink Note no 396096.1
    Or follow the below link,it would be helpful
    http://www.club-oracle.com/forums/upgrade-jdk-oc4j-for-oracle-application-server-10-1-3-a-t1392/
    Regards
    Fabian

  • Deploying BI-Beans to Stand Alone OC4J server.

    I tried to follow developing a JSP application example from BI-Beans tutorial. All the JSP pages were successfully created and tested by using run-project menu from JDeveloper.
    But I always get problem when I try to deploy them to OC4J server, I have followed all requiered steps in tutorial to deploy them and there is no error message during deployment and it can be finished succesfully.
    The problem occurs when I try to access my JSP pages from my web browser and I always get message like this:
    500 Internal Server Error
    javax.servlet.jsp.JspException: BIB-14122: The specified StorageManager could not be created.
    BIB-14820 The root path does not exists.
         at oracle.dss.addins.jspTags.BIBaseTag.doStartTag(BIBaseTag.java:137)
         at oracle.dss.addins.jspTags.ExplorerDetailTag.doStartTag(ExplorerDetailTag.java:22)
         at detailJSP.jspService(_detailJSP.java:69)
         [SRC:/detailJSP.jsp:6]
         at com.orionserver[Oracle9iAS (9.0.3.0.0) Containers for J2EE].http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:537)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:272)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:283)
         at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:560)
         at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Unknown Source)
    btw, I use JDeveloper 9.0.3 (production) and BI-Beans 9.0.3 (production) and Olap 9.2.0.1 (patches p2499827).
    I hope somebody can help me to solve this problem.
    thanks
    sjarif

    It sounds like your application can't connect to the BI Beans catalog.
    A couple of questions:
    1. Did you export your BI objects to the catalog?
    2. Is your runtime configuration file (BIConfig.xml) pointing to the database? Right mouse click on the BIDesigner in the JDeveloper Explorer window, click Settings and select the Runtime Settings tab.
    Marty

  • Stand Alone iSight and Dust Specs

    I now have 2 dust specs that are showing u as wee green dots in the mid of my screen. The dust is not on the outside of the lens...but on the inside. Is there any way to successfully clean this issue up?

    Welcome to Apple Discussions,Brazenkaine
    The fact that your dots are "wee green" makes me thing that your trouble is more likely pixel hardware faults with your camera's image rather than dust, but you will likely need professional help in either case.
    There are NO user-serviceable parts in iSight. If your problem is inside your iSight, see your Apple Service Provider (AASP) for professional help getting the problem resolved.
    If you have not already tried this test, drag the window for the app you are using with your iSight around the screen. If the green dots stay in the same relative location inside the iSight preview window when you change the window's position on your display, you know that the problem is with iSight.
    However, if the dots stay still in the same place on your display when you move the application's iSight preview window, the problem is in your monitor or video card.
    If your test shows that the problem is iSight, you can try Apple's suggestions from How to Troubleshoot iSight. I doubt that they will help, but it costs nothing to try them before you contact your AASP for professional help if you want to try to have the fault repaired.
    If you have no local access to an AASP, see Apple's iSight Service: Frequently Asked Questions for service alternatives.
    EZ Jim
    PowerBook 1.67 GHz w/Mac OS X (10.4.11) G5 DP 1.8 w/Mac OS X (10.5.1)  External iSight

  • EJB lookup works in embedded OC4J but not stand-alone

    I use JDeveloper 9.0.3.1 to develop a combined web & EJB application. The EJBs are deployed on a 9.0.3 iAS server on a different machine.
    The EJB lookup is in a helper class that's called by the servlet. For EJB lookup, I use the class "com.evermind.server.rmi.RMIInitialContextFactory" as described by the OC4J servlet guide (http://download-uk.oracle.com/docs/cd/A97688_10/generic.903/a97680/develop.htm#1003973). So my code looks like this:
    Hashtable map = new Hashtable();
    map.put(Context.INITIAL_CONTEXT_FACTORY, "com.evermind.server.rmi.RMIInitialContextFactory");
    map.put(Context.PROVIDER_URL, "ormi://server:port/app-business");
    map.put(Context.SECURITY_PRINCIPAL, "admin");
    map.put(Context.SECURITY_CREDENTIALS, "password");
    map.put("dedicated.rmicontext", "true");
    InitialContext context = new InitialContext(map);
    Object thing = context.lookup("MyEjb");
    EJBHome feedback = (EJBHome)PortableRemoteObject.narrow(thing, "com.company.ejb.MyEjbHome");
    The last insert into the map (map.put("dedicated.rmicontext", "true");) wasn't mentioned neither in the servlet guide nor the EJB one. But without it, I'd always get some "domain is null" error.
    Now this code above works flawlessly in the embedded OC4J of JDeveloper. But it always hangs in the "Object thing = context.lookup("MyEjb");" line when executed either in a stand-alone OC4J (the one from JDeveloper launched through the batch file in [JDeveloper directory]\jdev\bin\start_oc4j.bat) or in the OC4J in iAS.
    Does anybody know why this happens or how to fix it? I know that there are other ways of EJB lookup in servlets but since we also have plain Java classes for testing purposes that access EJBs, this seemed like the simplest thing to do for both Java classes and servlets.

    I was referring to the java client case where this optoin is not required. In general for web clients one doesn't use the rmi initial context to find the bean. This is because the bean and the webclient are both packaged in the same application. One defines the ejb-ref in the web.xml for the bean and then looks it using the default initial context. Something like
    Context ctx = new InitialCOntext();
    ctx.lookup("bean ejb-ref-name");
    However if you must use rmi for accessing the bean from the web client then the dedicated connection property is required.
    For java clients you would setup the rmi context environment.
    Since you are trying to use a common utility class for both java and webclient I would recommend that you look into packaging the java client as a j2ee application client. Basically in that case you would be able to define a ejb-ref in the aplication-client.xml and use the default initial context in code for both the cases.
    Hope that helps
    Dhiraj

  • To set environment variables in OC4J stand alone server

    Hello,
    I deployed my application to OC4J standalone server. I need to set some environment variables, which will be accessed from my application.
    Could you please let me know, how to set the environment variables for the application which runs from stand alone OC4J server ?
    Thanks!

    Hello,
    Thanks for providing me the information. Here is what I am trying to accomplish...
    I have a Web service application which in turn calls a Java application and which invokes a third party application. The third party application expects some environment variables to be set.
    I set these environment on my local machine, and when I executed the Java application as a standalone application within JDeveloper - it works. But when I deployed this application to the stand alone OC4J server and when I execute the application, the third party application is not getting the environment variables correctly. (that's what I am guessing here..)
    I just put System.getenv() to get the environment variables and the value is displaying correctly.
    As Jacco suggested, I passed these env. variables thru' the startup of OC4J server.
    (i.e.) java -D<variable1>=value1 -D<variable2>=<value2> -jar oc4j.jar and still didn't work.
    Do I have to pass these values thru' any XML file within OC4J server..
    Any thoughts ? I appreciate if you can provide some input.
    Thanks!

  • Dialog Instance Java is not up after restoring the DB from Stand alone

    Dear Gurus,
    We are migrating our Stand alone Production (Dual Stack) system to Cluster hardware and we donu2019t have any dialog instances for Standalone Production system.In the process we have taken the backup from the stand alone system and restored in cluster.
    After that, the dialog instance Java in is not coming up but central instance java was working fine
    As per our analysis, due to only one entry is there for java in the stand alone database and the same database backup is restored in the cluster, the DI instance java is not coming up. Please any body give us the solution to resolve this issue.
    Your earliest reply is very much appreciated.
    Regards
    Kali

    Dear Manoj,
    Thanks for your reply.
    My Problem was solved.
    As per SAP , it won't suggest or support the DB refresh. so did export and import then it was working fine.

Maybe you are looking for

  • I get "Reading Error" when using USB connection from Ipod Touch to car radio. Any ideas?

    I am trying to connect an IPOD Touch with my car radio via USB port.  Using proper cable which works.  When I connect the auto radio automatically tries to hook up with the Ipod but then displays "reading error"

  • Can't open files in Adobe Acrobat/Reader

    Why can't I open a PDF file in Adobe/Acrobat Reader? What do I do to fix the problem? My software list has Adobe Reader 11.0.02 and 9.3.1. I've updated.

  • 3.0 EA1: Unload to text file generates extra file

    I've just did few tests on 3.0 and when i unloaded (export) the data to a text file i've seen that: 1) the file extension is tsv and not txt 2) another files called "Generated0141598725703.sql"; is exported on the file system and shown in SQL Develop

  • Searching for files

    Stupid question probably - how do I look for pictures according to some adjustments - for example pictures that have been edited, and also, according to rating (I know in aperture you can create albums according to ratings, adjustments, file format e

  • Here's my final source code:

    import javax.microedition.io.Connector; import javax.microedition.io.HttpConnection; import javax.microedition.lcdui.*; import javax.microedition.midlet.MIDlet; import java.io.*; import java.util.*; public class PostHttp { static String protocol; sta