Java/php bridge

Hi All,
i am working on jdeveloper10.1.3 & OracleApps Server.
suggests some possible ways to bridge Java/PHP?
I am facing problem integrating with jsp page and php page . if any one know its great help me.
What are the software’s required for bridge between java and php.
Request is so needful.
thq,
elisha.

Judging by your later response, I'd say Gene got it right first time in that it is a memory issue.
It looks like your application needs more than 512m heap size. I guess there isn't enough on the box where WebLogic is installed, otherwise you would have used the same sizes as TomCat.
Apologies if I'm stating the obvious

Similar Messages

  • Java+php+linuxruntime  error

    Dear all i have one java class i amm using php pages to to use this class
    currently i am getting below error
    Fatal error: Uncaught exception 'java_RuntimeException' with message 'Could
    not connect to the context server . Error message: Connection refused (111)
    ' in /usr/local/apache2/htdocs/java/Java.inc:1163 Stack trace: #0
    /usr/local/apache2/htdocs/java/Java.inc(1180):
    java_Protocol->createSimpleHandler('@java-bridge-10...') #1
    /usr/local/apache2/htdocs/java/Java.inc(1187):
    java_Protocol->createHandler() #2
    /usr/local/apache2/htdocs/java/Java.inc(365):
    java_Protocol->java_Protocol(Object(java_Client)) #3
    /usr/local/apache2/htdocs/java/Java.inc(1541): java_Client->java_Client() #4
    /usr/local/apache2/htdocs/java/Java.inc(1650):
    __javaproxy_Client_getClient() #5
    /usr/local/apache2/htdocs/java/Java.inc(1665): java_session_array(Array) #6
    /usr/local/apache2/htdocs/java.php(3): java_session() #7 {main} thrown in
    /usr/local/apache2/htdocs/java/Java.inc on line 1163

    "Connection refused"
    I think it is safe to assume your network settings are wrong and it actually has nothing to do with java. Firewall problem perhaps?

  • Using Java Access bridge (Accessibility) with oracle forms 6.0 client

    I'm trying to use JAB (java Access bridge ) to capture events in oracle forms 6.0 client .
    I've a Jinitiator 1.1.8 and JRE version 1.4x
    I've configured JAB as per the installation guide . However the events don't surface in Java Monkey .
    Has anybody encountered similar issue ? what is the solution for the issue ??
    Also on one of the forums I read Jinitiator 1.3x and above is automatically recognised by Java Access bridge .
    For jinitiator version less than 1.3 manual configuration is required . however I haven;'t been able to find any on the oracle forms KB
    Also here is the excerpt from the link http://www.oracle.com/us/corporate/accessibility/faqs/index.html
    Q: Are there special steps for using Java-based applications with assistive technology?
    A: If the Oracle application is written in Java, such as JDeveloper or Oracle Forms (runtime), customers must first install the latest version of Sun's Java Access Bridge. The Java Access Bridge provides the integration with screen readers such as JAWS or SuperNova that support Java. You just download the Access Bridge and install it. Sun's AccessBridge 2.0x recognizes Oracle's JInitiator 1.3x and above so no manual configuration steps are necessary. The Access Bridge is available from: http://java.sun.com/products/accessbridge. At the time this document was written, Access Bridge 2.0.1 is the most current publicly available production release; Oracle recommends upgrading to this version. Sun's AccessBridge is bundled with Oracle Universal Installer (OUI) and can be found in the Java Runtime Engine (JRE). More information for configuring such products is in the respective product documentation, or on http://www.oracle.com/us/corporate/accessibility/products/index.html.
    Edited by: 974810 on 4 Dec, 2012 1:10 AM

    ODP.NET requires Oracle Client 9.2 or higher.
    You can find additional information about ODP.NET from the FAQ:
    http://www.oracle.com/technology/tech/windows/odpnet/faq.html
    and the ODP.NET homepage:
    http://www.oracle.com/technology/tech/windows/odpnet/index.html
    Hope that helps,
    Mark

  • Java accessibility Bridge for windows

    I have installed Java Accessibility Bridge for windows but the screen reader in windows (Narrator) is not responding to my java application. On searching the internet, most of them mentioned about JAWS. So is it the only screen reader supporting Java Accessibility Bridge? Also is there any way to use it with Narrator?
    Thanks in advance
    leeman

    Narrator doesn't use the Java Access Bridge so it will not work with Java. Recommend you use another screen reader. Yes, many people do use JAWS, but I also know SuperNova (from Dolphin) and NVDA also work.

  • JPasswordField is not recognized by Java Access Bridge

    Hi,
    I am using Zoomtext 9.1 Reader/Magnifier for accessibilty purpose with my Swing based application. For communication in between the Zoomtext and Swing application I ma using Java Access Bridge 2.1.
    The problem is with JPasswordField. When I am putting focus on the password field it's not reading it out, but when I am typing password in this field, zoom text is reading the typed in alphabet instead of aestrik "*".
    The focus behavior for JTextField is working fine.
    Also unable to read the Message shown in JOption dialog box.
    Could any body help me out?
    Thanks in advance.
    Here is the sample code to see the behavior:
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    public class ZoomTest
    public static void main(String[] args)
    JTextField userName = new JTextField(10);
    JPasswordField password = new JPasswordField(10);
    JButton submit = new JButton("Submit");
    submit.setFocusCycleRoot(true);
    JMenuBar jMenuBar = new JMenuBar();
    JMenu jMenuFile = new JMenu("File");
    jMenuFile.setToolTipText("File");
    JMenuItem jMenuItemNew = new JMenuItem("New");
    JMenuItem jMenuItemOpen = new JMenuItem("Open");
    JMenuItem jMenuItemCopy = new JMenuItem("Copy");
    jMenuFile.add(jMenuItemNew);
    jMenuFile.add(jMenuItemOpen);
    jMenuFile.add(jMenuItemCopy);
    jMenuBar.add(jMenuFile);
    JLabel userNameLabel = new JLabel("User Name", JLabel.RIGHT);
    userNameLabel.setLabelFor(userName);
    JLabel passwordLabel = new JLabel("Password", JLabel.RIGHT);
    passwordLabel.setLabelFor(password);
    final JFrame frame = new JFrame("Login");
    JPanel panel = new JPanel( );
    panel.setLayout(new GridLayout(3, 2, 5, 5));
    panel.add(userNameLabel);
    panel.add(userName);
    panel.add(passwordLabel);
    panel.add(password);
    panel.add(submit);
    submit.setToolTipText("Submit");
    submit.addActionListener(new ActionListener()
    public void actionPerformed(final ActionEvent e)
    JOptionPane.showMessageDialog(new JFrame(), "Click submit");
    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    frame.setJMenuBar(jMenuBar);
    frame.setContentPane(panel);
    frame.setVisible(true);
    }

    After discussion with Zoomtext tech support guys we came to know that Zoomtext 9.1 is not supporting Java Swing applications for accessibility options. So I will recommend not to use Zoomtext for Accessibilty options in any of the Java Swing applications.

  • Does Java Access Bridge supports Java 6?

    Does Java Access Bridge support Java 6?
    Also where can I find 2.0.4 (Beta), the following link does not work -
    http://java.sun.com/developer/earlyAccess/accessbridge/
    thanks,
    sachin.

    Our company develops an applet that supports Jaws via the Java Access Bridge v.2.01. We've had no problems with JRE 1.6. However, Jaws does not read the accessible names when I tried JRE 1.7. It behaves as if the access bridge is broken. I reverted back to JRE 1.6.0_20 and it works fine again. I reported this to Freedom Scientific but they just said, "you will need to contact the Sun support team to determine the latest version of the JRE recognized by the Accessibility Bridge." They don't seem too concerned that their product may not work for many people in the near future.

  • How do I install and configure the Java Access Bridge?

    I've just installed the Oracle 9i database on this Windows 2000
    Pro box with a view to learn what there is to learn about
    Oracle. I need to install the Java Access Bridge so that I can
    access the Oracle applications. I use a screen reader called
    JAWS from Freedom Scientific.
    Can anyone please tell me how to install the necessary Access
    Bridge components and how to configure things accordingly so
    that adaptive software will work correctly with the Oracle
    applications.
    Adrian

    You can do all the networking stuff you need by setting a "bridged" adapter in the VM setup, then configure a valid IP in your guest OS, probably using the same gateway and name servers similar to your host OS.
    If you you cannot use a bridged mode adapter because your host network does not support another network card, you can configure a NAT and a host-only adapter in the VM setup as following:
    When you configure the network device that corresponds to the NAT device on the on the guest side, set it up to obtain the IP address via DHCP. The NAT device is for outgoing connections to the internet only. VBox will not provide any routing from the outside network to interface behind a NAT device, only via it's own internal DHCP routing.
    The host-only adapter is only good for connection between the host and the VM guest. It is primarily designed to provide DHCP like the NAT interface, but does allow a manual configuration, by customizing the "vboxnet0" configuration in the Vbox Network preferences. By default, the IP address range 192.168.56.1 to 192.168.56.100 can be used for manual IP configurations.
    It was not mentioned in your requirements, but you need a bridged mode adapter if you want to connect to your guest VM from any other machine beside your host system, e.g. local LAN.

  • Java Access Bridge and Windows 7 Run as Administrator Mode

    I've had to add java access bridge support to a winforms .net application. The application must be run as administrator for certain functions to work on Windows 7. Unfortunately, I've found the JAB breaks when it's run from a program that has been elevated to administrator.
    I'm able to reproduce the issue with JavaFerret.exe. Running with a simple double click has no issue tracking mouse events etc, but if I start it via right click "run as administrator" then nothing gets presented in the output window. Can others confirm JavaFeret.exe breaks for them as well in Windows 7 admin mode? Any ideas what's going on and how to work around the issue?

    So after a bit of experimenting we've found that as long as the accessibility program that's hosting the JAB and the java program that is being interacted with are both run in administrator mode then the issue goes away.
    In our case we were able to launch IE from the accessibility program (which was already in administrator mode), opening the java applet in IE and successfully use the JAB between the two.

  • Problems with Java Access Bridge

    Hello to all,
    first of all, sorry if the message is in the wrong place.
    I'm developing an application, in C++, to fill up the fields in a Java aplication, it should work on a Windows 7 x64 machine. I'm using jdk 6u29 and java access bridge 2.0.2 for 32 bits soft.
    My problem is that in some computers the function isJavaWindow() allways returns false when it it should be true, the most rare thing with it is tha it is working in a virtual machine, and in a clone of this virtual machine it is not working... Is there any special consideration I have to take into account when using Java AccessBridge?
    Thank you!
    Roger.

    Bump... I'd like to know how to click a button with Access Bridge too. I can automate windows programs tho... So, isn't there really anyone who knows how to automate a Java program with C++ and Access Bridge?

  • Java Access Bridge 1.1 Could not find the main class

    When I try to load Java Access Bridge 1.1 I receive the following error:
    Could not find the main class. Program will exit.
    Does anyone know why?

    you must check with the classpath
    please see that you have not repeated %classpath%
    at the end of the class path like you do in win98.
    similiarly with %path%
    in win2000 it is automatically taken care off.

  • Java Access Bridge 2.0.2 Installer for Windows OS

    Hi,
    I am searching for an automated install version of Java Access Bridge 2.0.2 for Windows, but am having great difficulties.
    The version that is around just now is not practical for our needs. I work for an organisation who wish to get users to install Java Access Bridge in order to use JAWS. As they are blind or partially sited, the manual install is too difficult for them to carry out by themselves.
    Searching Google has proved fruitless, and the only real lead I have found was on these forms when someone said that one was in beta test, but having searched the web site, I could not find it.
    Could someone please let me know the current status of the installer ?
    Thanks
    GW

    You might want to check out this thread:
    Java Access Bridge and JRE 1.6
    If you have Java 6, you'll need to manually install Java Access Bridge 2.0.1. The JAB 2.0.2 installer for Java 6 is also available as a beta:
    http://jdk6.java.net/6uNea.html

  • Get Native Java Window using Java Access Bridge 2.0.1 & Java 1.6 and above

    I want to get the native java window (Like Java Monkey Application and Java Ferret Application) using java only, for that I tried different ways/options but unable to get the native java window and perform actions on that.
    It would be really great if you could guide me for that. I am still unable to start the Java Access Bridge.
    Please let me know the steps to get native java window using Java Access bridge and JDK 1.6.20.
    Also Note that, As per your previous suggestion, I tried to search and call initializeAccessBridge() and shutdownAccessBridge(), But unable to succeed it. I did not find such method in Accessbridge.jar.
    Please help me out.
    Best Regards

    You might want to check out this thread:
    Java Access Bridge and JRE 1.6
    If you have Java 6, you'll need to manually install Java Access Bridge 2.0.1. The JAB 2.0.2 installer for Java 6 is also available as a beta:
    http://jdk6.java.net/6uNea.html

  • Issue with Java - PHP interoperability

    Hi,
    There are some converts written in PHP that can take raw wikipedia data and output a good HTML. I wanted to make use of these in my Java code.
    So in my Java Web App, I wanted to run the PHP parser, get hold of the InputStream and push it to my ServletOutputStream.
    Code Snippet:
       String command="php testparser.php Anarchism.wikimarkup";
       proc = Runtime.getRuntime().exec(command);
       InputStream in = proc.getInputStream();
       InputStreamReader isr = new InputStreamReader(in);
       BufferedReader br = new BufferedReader(isr);
       String line = null;
       while ((line = br.readLine()) != null) {
         System.out.println(line);
       }But the problem here is that the PHP Process never stops and hence the Buffer never ends. THe program is waiting in infinite loop in readLine().
    Please let me know if anyone has tried this and whats a better way to handle interoperability between PHP and Java.
    Thanks,
    Phani

    Phanikumar_Bhamidipati wrote:
    Yeah, I had a look at the document. But as per my understanding, the way the PHP engine runs is different from normal execs. I don't see how it can 'run different' and in my experience it doesn't. PHP sends output to stdout and stderr and reads from stdin. When PHP terminates it will close stdout and stderr and, if you have followed the recommendations in the reference, your readLine() will return 'null'.
    Because the same code ran fine when I automated unzipping a set of files using "bunzip2" command.If you read the article it explains a possible reason for this BUT until you implement the recommendations you will not know what is wrong.
    >
    I tried using Process.waitFor() method as well, but the result is same (Infinite Loop).This almost certainly is nothing to do with Process.waitFor() and probably everything to do with buffers filling (probably stderr).
    Until you post the code with the recommendations implemented that exhibits the same blocking problem it is a waste of time anyone responding further.

  • Authentification with Java, PHP, .htaccess

    Hi there,
    I am thinking about creating a Java project that requires some authentification routines.
    Users (which are given a unique user ID) are employing a client software (Java) that retrieves specific data from a webserver (available ressources HTML, SSI, PHP, .htaccess).
    A user should be able to use any client to get his data from the webserver, so unique client IDs are a non-option. Probably two users might even use two instances of the same client on the same machine (means, same IP).
    I want this to be reasonably secure, so no plaintext protocol. I thought about something like a challenge - response architecture, BUT...
    ...how can I do this with only PHP (server) and Java (client) as options?
    I don�t need a polished, smooth, perfect solution - a rough idea will do. Are there any secret / public key architectures with ready-to-use PHP modules that are also implemented in Java? Or has anybody a completely different idea I haven�t thought about yet?

    Have a look on RFC 2617 from IETF (www.ietf.org). This RFC specifies two mechanisms for authenticated access to HTTP resources. .htaccess is based on these mechanisms. Unfurtonately, they are not secure enough. The first protocol, BASIC, sends clear text username/password. The second, DIGEST, sends digests of the username/password using a challenge-response scheme. The disadvantage of DIGEST is that the username/password needs to be stored in clear on the server-side.
    What you could do, which is something I am currently working on myself, is to implement your own protocol, based on this RFC. This is possible because you are in control of both the clients and the server. It wouldn't be possible if standard browsers where used as clients.
    Good luck!
    /Christer

  • Java - PHP communication

    Hi,
    I'm quite new to EJB3 and going to build web application using (probably) EJB3 and Struts 2. My problem is, that I need to bound some parts of my new business logic with this older PHP website. I just need to call some simple Java methods (e.g. searching in db - pass on one or two parameters and get a result) from this PHP website. I've done some research and it looks like I should use Web services. There is a lot of materials for this topic in the web, but somewhere I've read, that web services are overkill for such the simple scenario. Is here any easier way to call Java business logic from PHP. Thank you very much for your answer.
    Edited by: esembaJ on 13.10.2008 22:53

    As I understood, your "application" consists of two parts: web site written on php and EJB+Struts.
    If so, you can easily make HTTP requests from php to your Struts actions.
    Your actions can make response in JSON (JavaScript Object Notation) with the help of json-plugin.
    With these approach you beat two things: you can make actions which can be easily used asynchronously (JSON helps to do this) also they can be used by any application that can parse JSON response.
    You don't need to dig into WS. Your case is very simple because of powerful java web-framework. WS will make your solution too complicated. Also you'll have troubles with WS on php-side.
    Once, I've had to send some data to java-WS from php4. I've tried to realize it in many ways, but finally I've made simple HTTP request with manually formed XML-body (it was SOAP).

Maybe you are looking for

  • Can Premiere Pro display multiclip angles via transmit to an external monitor?

    Hello Forum, Is it possible to have the angle view of multicamera viewable via transmit to an external monitor?  (via Blackmagic Intensity Pro) Currently, it only displays the active angle. Thanks all! - Ryan

  • How can free + used space tbs size, can someone explain

    Hi Gurus Can someone explain this, How can free + used space in a tablespace can be greater than size of a tablespace. What am I missing here . Thanks a lot . I am on 10.2.0.1, HP-UX 14:38:52 SQL> select owner,sum(bytes), sum(BYTES) /1024/1024 "MB" f

  • Permissions problems with PS CS5

    I just installed the PS CS5 trial. It opens fine, but when I attempt to switch workspaces I get this message: Could not apply the workspace because the file is locked or you do not have the necessary access privileges. Use the 'Get Info' command in t

  • Unxpected error"FAILED TO START DIRECTORY SERVER INSTANCE

    hi i was trying to install sun DS 6.3 in my system,everything is going good but while creating directory instance i get errors saying Unxpected error "FAILED TO START DIRECTORY SERVER INSTANCE" C:/DSEE/VAR/DSCC6/DCC/ADS aftre that i get some errors s

  • Itunes genius error -8753  anyone?

    right after genius finishes the first step (gathering information) and starts sending my information to apple the following error message shows up; genius cant be updated... an unknown error has occured. (-8753) i tried ; -wait and try again (for 4 m