Create EJB Control For Remote Server

I'm having trouble creating an EJB control for a EJB residing in a remote server.
First, I've a JAR containing the remote/home interfaces and added it as a Library in the WLW 8.1 application.
When creating a new EJB Control, there's no way to successfully create the control.
At the STEP 2 GUI:
I am able to specify a JNDI-NAME, but the home/bean interface fields are empty. If I click on "Browse application EJBs..." button, nothing is available. If I click on "Browse server EJBs", it only shows EJBs in the current server.
Thanks

Hi
I believe you are on Workshop8.1 Spx.
This is a known issue. The reason the ejb does not show up as an application ejb because we have just the interfaces as a library and not the whole EJB.
Since the EJB's are not deployed on the server it will not show up either.
Unfortunately there is no way to point to a remote domain and get all the ejb's deployed there.
Workaround:
You can deploy the ejb locally, create the ejbcontrol and then undeploy the EJB. You need to manually change the home jndiname to use the remote server url.
Thanks
Vimala

Similar Messages

  • Server settings for remote Server in Flash Builder 4.5 Premium

    Has anyone figured this out? Seems like everyone is talking about FlashBuilder that comes with PHP and that doesn't help me. So I'm still having trouble moving my mobile app to a remote server and I have FlashBuilder 4.5 Premium without PHP.
    I have created a PHP project outside of Flash Builder and then I have connected to it using the Data/Service tab, but then it ask for the server information and that is where I'm having the issues.
    It works create with the setting like this.
    MAC:
    Server Options
    Web Root: /Applications/MAMP/htdocs
    Root URL: http://localhost/
    But when you try to export a release build or just like to test it, and insert your server settings.
    Server Options
    Web Root: /home/username/domain_name/
    Root URL: http://mydomain.com
    It doesn't Validate which in turn won't let the project work. Also it would be nice to put the remote server in there for testing instead of just for release builds. Any one have an answer. Every tutorial or explanation shows localhost.
    thanks

    Hello guys,
    I have found a solution: In ZendFramework/library/Zend/Amf/Response/Http.php  linenumber 59:
    $ssl = $_SERVER['HTTPS']; is given an error.
    I did this:
    $_SERVER['HTTPS'] = 'off';
    $ssl = $_SERVER['HTTPS'];
    So add this line....
    And it works...
    Hope it works for you too.
    Ooh, and don't forget to follow the instruction of TweenOut.
    Erik.
    Van: tweenOut [email protected]
    Verzonden: dinsdag 20 december 2011 18:42
    Aan: EGJ Steens
    Onderwerp: Server settings for remote Server in Flash Builder 4.5 Premium
    Re: Server settings for remote Server in Flash Builder 4.5 Premium
    created by tweenOut <http://forums.adobe.com/people/tweenOut>  in Using Flash Builder - View the full discussion <http://forums.adobe.com/message/4095833#4095833

  • Connetion String for Remote Server

    Hey All, I'm new to Oracle so please bear with me if i ask somethings that should be fairly obvious. I'm attempting to connect to a remote server using OCCI and i have no idea how to set up my connection string to accomplish this. I've read through the OCCI programming guide particularly section 3.1 (Connecting to a database) but the examples leave the connection string variable empty. Could someone please furnish me with an example connection string that could be used to connect to a remote server? That would be greatly appreciated. If there's any information you need from me to help answer this question let me know. Thanks, Mike

    Hello guys,
    I have found a solution: In ZendFramework/library/Zend/Amf/Response/Http.php  linenumber 59:
    $ssl = $_SERVER['HTTPS']; is given an error.
    I did this:
    $_SERVER['HTTPS'] = 'off';
    $ssl = $_SERVER['HTTPS'];
    So add this line....
    And it works...
    Hope it works for you too.
    Ooh, and don't forget to follow the instruction of TweenOut.
    Erik.
    Van: tweenOut [email protected]
    Verzonden: dinsdag 20 december 2011 18:42
    Aan: EGJ Steens
    Onderwerp: Server settings for remote Server in Flash Builder 4.5 Premium
    Re: Server settings for remote Server in Flash Builder 4.5 Premium
    created by tweenOut <http://forums.adobe.com/people/tweenOut>  in Using Flash Builder - View the full discussion <http://forums.adobe.com/message/4095833#4095833

  • Create playback controls for Timeline in sync with audio?

    Hi All,
    Technically, I've combined two questions into one. Firstly, can someone offer some insight on how to create playback controls for an Edge animation so the user can essentially "scrub" the timeline or navigate to a specific point on the timeline. I know you can create buttons to "sym.play()" different areas but I was wondering if there was a more streamlined solution (something similar to video playback controls.) Next, I'd like the user to be able to skip to different locations while the music remains in sync with the animations. I've created a few buttons to attempt to achieve this but the music plays independently regardless of where I jump to on the timeline.
    Any help would be most appreciated.
    Thanks in advance!

    I had some ideas why that may be so, but then, when I thought about it, properly, i have no idea why it is that way. Maybe it is because audio has a higher priority than graphics, in OS X, but if I remember correctly, it was like this before OS X. Maybe there is an offset for latency compensation, but they made it too large. (it seems to be the same amount, no matter what the buffer size is)
    just to make sure we are seeing the same thing. on my (somehat old) G4 I'm seeing about 60ms difference.

  • How to create desktop application for simple server program using netbeans?

    Hi,can anyone help me on this one??
    I'm am very new to java,and I already trying different example program to create desktop applications
    for simple server program but it's not working.
    This is the main program for the simple server.
    import java.io.*;
    import java.net.*;
    public class Server {
    * @param args the command line arguments
    public static void main(String[] args) {
    try{
    ServerSocket serverSocket = new ServerSocket(4488);
    System.out.println("Server is waiting for an incoming connection on port 4488");
    Socket socket = serverSocket.accept();
    System.out.println(socket.getInetAddress() + "connected");
    PrintWriter out = new PrintWriter(socket.getOutputStream(), true);
    BufferedReader in = new BufferedReader( new InputStreamReader(socket.getInputStream()));
    String inputLine;
    while ((inputLine = in.readLine()) != null){
    out.println(inputLine);
    System.out.println("Connection will be cut");
    out.close();
    in.close();
    socket.close();
    serverSocket.close();
    }catch(IOException e){
    e.printStackTrace();
    // TODO code application logic here
    }

    and this is the Main Processing :
    import java.awt.*;
    import java.awt.event.*;
    import java.util.logging.Level;
    import java.util.logging.Logger;
    import javax.swing.*;
    import java.text.*;
    import java.util.*;
    import java.net.*;
    import java.io.*;
    public class MainProcessing {
    private static final long serialVersionUID = 1L;
    static private boolean isApplet_ = true;
    static private InetAddress argIp_ = null;
    static private int argPort_ = 0;
    public TCPIP TCPIP_ = null;
    private InetAddress ip_ = null;
    private int port_ = 10001;
    static private boolean conectFlag = false;
    private BufferedWriter bw;
    FileOutputStream fos;
    OutputStreamWriter osw;
    public int[] current = new int[400];
    public int[] volt = new int[400];
    public int[] revolution = new int[400];
    public void init() {
    public void start() {
    if (isApplet_) {
    try {
    ip_ = InetAddress.getByName(getCodeBase().getHost());
    } catch (UnknownHostException e) {
    } else {
    ip_ = argIp_;
    if (argPort_ != 0) {
    port_ = argPort_;
    // IP&#12450;&#12489;&#12524;&#12473;&#12364;&#19981;&#26126;&#12394;&#12425;&#20309;&#12418;&#12375;&#12394;&#12356;
    if (ip_ != null) {
    // &#12467;&#12493;&#12463;&#12471;&#12519;&#12531;&#12364;&#25104;&#31435;&#12375;&#12390;&#12356;&#12394;&#12356;&#12394;&#12425;&#12289;&#25509;&#32154;
    if (TCPIP_ == null) {
    TCPIP_ = new TCPIP(ip_, port_);
    if (TCPIP_.getSocket_() == null) {
    System.out.println("&#12511;&#12473;&#65297;");
    // &#12456;&#12521;&#12540;&#12513;&#12483;&#12475;&#12540;&#12472;&#12434;&#34920;&#31034;
    return;
    if (TCPIP_ == null) {
    System.out.println("&#12511;&#12473;&#65298;");
    return;
    System.out.println("&#25104;&#21151;");
    conectFlag = true;
    try {
    TCPIP_.sendF();
    } catch (IOException ex) {
    Logger.getLogger(MainProcessing.class.getName()).log(Level.SEVERE, null, ex);
    System.out.println("" + conectFlag);
    return;
    public void receive() {
    try {
    // Calendar cal1 = Calendar.getInstance(); //(1)&#12458;&#12502;&#12472;&#12455;&#12463;&#12488;&#12398;&#29983;&#25104;
    // int year = cal1.get(Calendar.YEAR); //(2)&#29694;&#22312;&#12398;&#24180;&#12434;&#21462;&#24471;
    // int month = cal1.get(Calendar.MONTH) + 1; //(3)&#29694;&#22312;&#12398;&#26376;&#12434;&#21462;&#24471;
    // int day = cal1.get(Calendar.DATE); //(4)&#29694;&#22312;&#12398;&#26085;&#12434;&#21462;&#24471;
    // int hour = cal1.get(Calendar.HOUR_OF_DAY); //(5)&#29694;&#22312;&#12398;&#26178;&#12434;&#21462;&#24471;
    // int min = cal1.get(Calendar.MINUTE); //(6)&#29694;&#22312;&#12398;&#20998;&#12434;&#21462;&#24471;
    // int sec = cal1.get(Calendar.SECOND); //(7)&#29694;&#22312;&#12398;&#31186;&#12434;&#21462;&#24471;
    byte[] rev = TCPIP_.receive();
    // System.out.println("&#21463;&#20449;");
    if (rev != null) {
    byte[] Change = new byte[1];
    int j = 0;
    for (int i = 0; i < 1200; i++) {
    Change[0] = rev;
    current[j] = decimalChange(Change);
    i++;
    Change[0] = rev[i];
    volt[j] = decimalChange(Change);
    i++;
    Change[0] = rev[i];
    revolution[j] = decimalChange(Change);
    } catch (NullPointerException e) {
    public int decimalChange(byte[] byteData) {
    int bit0, bit1, bit2, bit3, bit4, bit5, bit6, bit7;
    int bit = 0;
    for (int i = 0; i < 8; i++) {
    int a = (byteData[0] >> i) & 1;
    System.out.print(a);
    System.out.println();
    return 1;
    public void destroy() {
    // &#20999;&#26029;
    if (TCPIP_ != null) {
    TCPIP_.disconnect();
    if (TCPIP_.getSocket_() != null) {
    try {
    System.out.println("\ndisconnect:" + TCPIP_.getSocket_().getInetAddress().getHostAddress() + " " + TCPIP_.getSocket_().getPort());
    } catch (Exception e) {
    TCPIP_ = null;
    public boolean conect(int IP) {
    conectFlag = false;
    String address = "192.168.1." + IP;
    System.out.println(address);
    try {
    argIp_ = InetAddress.getByName(address);
    } catch (UnknownHostException e) {
    // xp.init();
    isApplet_ = false;
    start();
    return (conectFlag);
    public void send(String command, int value, int sendData[][], int i) {
    int j = 0;
    Integer value_ = new Integer(value);
    byte values = value_.byteValue();
    Integer progNum = new Integer(i);
    byte progNums = progNum.byteValue();
    try {
    TCPIP_.send(command, values, progNums);
    for (j = 1; j <= i; j++) {
    Integer time = new Integer(sendData[j][0]);
    byte times = time.byteValue();
    Integer power = new Integer(sendData[j][1]);
    byte powers = power.byteValue();
    TCPIP_.send(times, powers);
    TCPIP_.flush();
    } catch (IOException ex) {
    Logger.getLogger(MainProcessing.class.getName()).log(Level.SEVERE, null, ex);
    public void file(String name) {
    ublic void fileclose(String name, String command, int value, int sendData[][], int i) {
    try {
    fos = new FileOutputStream("" + name + ".csv");
    osw = new OutputStreamWriter(fos, "MS932");
    bw = new BufferedWriter(osw);
    String msg = "" + command + "," + value + "";
    bw.write(msg);
    bw.newLine();
    for (int j = 1; j <= i; j++) {
    msg = "" + j + "," + sendData[i][0] + "," + sendData[i][1];
    bw.write(msg);
    bw.newLine();
    bw.close();
    } catch (IOException ex) {
    Logger.getLogger(MainProcessing.class.getName()).log(Level.SEVERE, null, ex);

  • Creating ODBC DSN for SQL Server in LINUX

    Hi All,
    I am getting probelms in creating DSN for SQL server. I have created an entry in odbc.ini file under ODBC sources and provided the SQL server detiails as follows
    [ODBC Data Sources]
    AnalyticsWeb=Oracle BI Server
    Cluster=Oracle BI Server
    SSL_Sample=Oracle BI Server
    SQL_DB=DataDirect 5.1 SQL Server Wire Protocol
    [SQL_DB]
    Driver=/u01/OracleBI/odbc/lib/SEmsss23.so
    Description=DataDirect 5.1 SQL Server Wire Protocol
    Address=172:16:1:169, 1433;
    AlternateServers=
    AnsiNPW=Yes
    ConnectionRetryCount=0
    ConnectionRetryDelay=3
    Database=actdb/act7
    LoadBalancing=0
    LogonID=oracle
    Password=tiger
    QuoteID=No
    ReportCodePageConversionErrors=0
    When I test the connection ,i am getting the following error
    +[nQSError: 16023] The ODBC function has returned an error. The database may not be available, or the network may be down.+
    Can you please help in fixing this issue.I am not sure of the Drivers and the descrition that I am using are correct or not.
    Please let me know the process of creating the DSN for SQL server in LINUX and also how can we check the available drivers in LINUX?
    Thank You in advance,
    S1r1

    OBIEE does all of its data retrieval from the server. Your server needs to be able to query all of the data sources that you define.
    The client is irrelevant here, it's just a web browser consuming data that the BI Server returns to it.
    So yes you need to define connectivity from your Linux server to your SQL Server box.
    The Systems Requirements doc (http://download.oracle.com/docs/cd/E10415_01/doc/bi.1013/e10417.pdf) details DataDirect ODBC drivers that are provided for non-Widows connectivity to SQL Server

  • Option to disable iTunes volume control for remote speakers?

    I have noticed that with iTunes 10, the option to disable the volume control for remote speakers seems to have disappeared from Preferences>Devices. If you click the "?" button, the help window gives an explanation of what its for but the option to check/uncheck it clearly isn't there. Since iTunes 10, streaming my music from my iMac to my Denon receiver via Airtunes/Airplay with an Airport Express has been disappointing. The volume is far too low. With version 9 and every version prior, the volume control option was always there in preferences and I always had it disabled; music came through loud and clear but since this option appears to no longer exist, the volume through the Denon receiver fails to impress, even with the iTunes volume slider at max.
    Anyone else noticed steaming volume too low? If so, agree that it's a bug?
    Message was edited by: Brian I.

    I wholeheartedly agree with "I also used to disable the volume control to reduce the amount that my computer interferes with the sound before it gets to the external DAC." There is no reason why Apple shouldn't restore this important setting option as the volume control does negatively affect sound quality in a high-end set-up and we'd rather not just take their word for it that the volume control's maximum setting is the same as disabling it. Why does the volume slider change the output level even when using the Airport Express' digital output? It shouldn't, and it seems the sound is now being force sent through a stupid digital volume control for no good reason. If for no other reason the "disable" option should be restored to avoid inadvertent volume changes via the Remote app for iPod Touch and iPhone. Strangely as compared to several other posts here, my perceived volume level now seems louder than before, not softer as others are reporting. People that are serious about sound quality do not want iTunes or AirPlay (formerly AirTunes) to manipulate the volume level or any other aspect of the sound at all ever, as it can't help but only hurt. I also thought the "disable" setting was available in the Airport Utility previously, but it's vanished from there too.

  • Creating an Azure VM from an existing snapshot, does not automalically create a certificate for remoting

    Hi,
    As the title says, I have problems with an Azure VM created from an image I captured of an Azure VM.
    For easier deployment of my server I created one, running everything on localhost, such that I could take an image of it and re-deploy this image, by which I will speed up the process of creating a server substantially. However, this process requires me to
    be able to remotely control the azure VM, such that I can reconfigure the server to use the new name.
    My problem is that the certificate which is usually created automatically for me (under the cloud service on which the VM is created), is not created when I deploy a server on a new cloud service from this snapshot I have made. 
    Can anybody help me? 
    Thanks in advance!
    Regards
    Magnus

    Hi Susie,
    Sorry for the late answer, I've had a busy last week. Thank you for answering.
    You're quite right. The scenario you describe is exactly what I've done. The reason for doing this is because I am creating a script for installing my company's product on an Azure VM. I am using powershel for this purpose and therefore I need to be able
    to remote control it from powershell.
    So far I manually transfered everything, but as it is ~70GB of files it takes alot of time. So I tried installing everything on localhost (which works perfect) and taking a snapshot of the machine, but when I spin a new Azure VM up from this image I need
    to change a few database references and IIS settings in order to make it work. To do this I was hoping to be able to remotely control the machine with powershell, but since it does not create a certfificate I cannot do this.
    Furthermore creating and uploading a certificate will, from my understanding, require me to install it on the server, which in turn will need me to manually do some work anyways, where as the whole idea of automating the process is lost.

  • Commandline option to capture JFR for remote server

    Hi,
    Is there any jrcmd option to start flightrecording for any remote server where xmanagement port is enabled? Through mission control we have option to create a JVM connection using xmanagement port and capture JFR . We need to have it through commandline .
    Thanks

    Hi Janice,
    It seems like the java that is on your path does not have OJVM installed. (Either you missed that JDK when you did InstallOJVM.bat, or InstallOJVM somehow wasn't truly successful.)
    To find out the java home directory, you can write a simple program that does:
    System.out.println("java home is " + System.getProperty("java.home"));
    and run it from the command line.
    However, it might be quicker for you to just specify the full path for java like this:
    C:\oracle\ora92\j2ee\home>C:\jdev\jdk\bin\java -ojvm -XXdebug,port4000,detached,quiet -jar oc4j.jar
    (Substitute "C:\jdev\jdk" with your jdev's jdk directory.)
    Hope this helps!
    -Liz

  • Error OAB-90061 unable to create connection to the remote server

    hello
    i have a problem with introspection: i want to introspect wls.
    i installed wls on a virtual machine. zip archive, no installer.
    i also installed ovab on my local virtual machine.
    start ovab, conect to serverpool: ok. now i want to start a introspection. but i got only an error:
    INTROSPECTION STARTED for: juriwls
    - remote ExecutionContext created...
    Copy AssemblyBuilder to remote machine.
    Creating local assemblybuilder.zip.
    Local assemblybuilder.zip created.
    Copying assemblybuilder.zip to remote machine.
    Copy at 10%
    Copy at 20%
    Copy at 30%
    Copy at 40%
    Copy at 50%
    Copy at 60%
    Copy at 70%
    Copy at 80%
    Copy at 90%
    Copy at 100%
    Copy of assemblybuilder.zip complete.
    Copying support scripts
    Copy of support scripts complete
    Copy of AssemblyBuilder is complete.
    Start remote AssemblyBuilder.
    Introspection failed
    Error: Error initializing the remote connection.
    Caused by: OAB-90061: Unable to create connection to remote server
    Cause: Timed out trying to connect to IPV4 and IPV6 sockets.
    Action:
    Double click on the failed node for detail
    ok may the interfaces are down: checked, ok. static ip
    tied to ping each other: no problem.
    nslookup: everything perfect.
    firewall off on each machine!
    wls is started and in runnig mode!
    variables set in .bashrc
    so i dont know what to do. anybody else?
    thanks in advance

    thanks for help
    in cli i entered: system-config-securitylevel-tui quiet port=http --port=ssh
    well done introspection starts ... but after a while another error occurs
    INTROSPECTION STARTED for: juri
    - remote ExecutionContext created...
    Copy AssemblyBuilder to remote machine.
    Copy of AssemblyBuilder is complete.
    Start remote AssemblyBuilder.
    Introspection failed
    Error: Error initializing the remote connection.
    Caused by: OAB-90061: Unable to create connection to remote server
    Cause: Timed out trying to connect to IPV4 and IPV6 sockets.
    Action:
    Double click on the failed node for details.
    INTROSPECTION STARTED for: juri
    - remote ExecutionContext created...
    Copy AssemblyBuilder to remote machine.
    Copy of AssemblyBuilder is complete.
    Start remote AssemblyBuilder.
    Remote AssemblyBuilder is started and connected.
    - START SUBMIT...
    - END SUBMIT...
    onProgress<juri>: started WLS dehydration (expect delays during domain template creation)
    onProgress<juri>: started processing WLS configuration
    onProgress<juri>: creating appliances for the servers in the domain
    onProgress<juri>: Processor: 0 completed
    onProgress<juri>: capturing application deployment plans
    onProgress<juri>: determining the list of application deployments
    onProgress<juri>: building target map
    onProgress<juri>: Processor: 1 completed
    onProgress<juri>: capturing cluster configuration
    onProgress<juri>: building list of all clusters
    onProgress<juri>: building cluster sub-assemblies
    onProgress<juri>: Processor: 2 completed
    onProgress<juri>: capturing Coherence Java option configuration
    onProgress<juri>: processing setDomainEnv.sh
    onProgress<juri>: processing config.xml
    onProgress<juri>: adding rehydration scripts
    onProgress<juri>: Processor: 3 completed
    onProgress<juri>: creating package definition for domain
    onProgress<juri>: Processor: 4 completed
    onProgress<juri>: processing inputs/outputs
    onProgress<juri>: Processor: 5 completed
    onProgress<juri>: capturing data source configuration
    onProgress<juri>: Processor: 6 completed
    onProgress<juri>: start jms message bridge processing
    onProgress<juri>: Processor: 7 completed
    onProgress<juri>: start ldap processing
    onProgress<juri>: Processor: 8 completed
    onProgress<juri>: start listen address processing
    onProgress<juri>: Processor: 9 completed
    onProgress<juri>: capturing node manager configuration
    onProgress<juri>: Processor: 10 completed
    onProgress<juri>: capturing oracle home
    onProgress<juri>: Processor: 11 completed
    onProgress<juri>: validating truststore configuration
    onProgress<juri>: server truststore configuration is valid
    onProgress<juri>: Processor: 12 completed
    onProgress<juri>: processing foreign jms connections
    onProgress<juri>: Processor: 13 completed
    onProgress<juri>: setting resource requirements
    onProgress<juri>: Processor: 14 completed
    onProgress<juri>: Processor: 15 completed
    onProgress<juri>: creating appliance connections
    onProgress<juri>: no managed servers found, nothing to do
    onProgress<juri>: Processor: 16 completed
    onProgress<juri>: capturing BAM configuration
    onProgress<juri>: processing BAM managed server specific configuration files
    onProgress<juri>: Processor: 17 completed
    onProgress<juri>: authenticating admin credentials
    onProgress<juri>: admin credentials authenticated
    onProgress<juri>: Processor: 18 completed
    onProgress<juri>: exporting security configuration
    onProgress<juri>: Processor: 19 completed
    onProgress<juri>: capturing file store configuration
    onProgress<juri>: Processor: 20 completed
    onProgress<juri>: adding ready metric data to appliance
    onProgress<juri>: Processor: 21 completed
    onProgress<juri>: adding contentdata to appliances+
    onProgress<juri>: creating common resources
    onProgress<juri>: adding admin server resources to appliance AdminServer
    onProgress<juri>: adding appliance resources
    onProgress<juri>: Processor: 22 completed
    INTROSPECTION DONE for: juri
    Introspection failed
    Error: OAB-50002: Failed to create assembly for WLS domain.
    Caused by: OAB-50042: Domain template creation failed.
    Action: Check /tmp/abRemote_oracle/ab_home/tmp/createDomainTemplate18246.out and /tmp/abRemote_oracle/ab_home/tmp/createDomainTemplate18247.log for details. These log files will be on the remote system if this is a remote introspection. This problem must be resolved before introspection can succeed.
    ok lets check these log files: cat on these logs.
    these logs are EMPTY!!!
    i dont know what to do now ...

  • Unable to create publication item for remote database using db link

    The mobile repository is in instance A.
    I have to access and sync data from a table in remote database instance B.
    I have run the consolidator_rmt.sql script in instance B under schema_B. I have created a private fixed user db link in instance A under schema_A to access schema_B's tables. I then created a synonym test_B for table test_B in schema_B using the DB link.
    While creating publication item for test_B using MDW, the column list for test_B appears blank. Has anyone encountered this problem and what is the solution.
    Thanks for your help.
    Rosa.

    Hello Pruthvi ,
    See these threads
    Uninstalling MaxDB
    Work process Ended.
    Thanks
    Chandran

  • Access to local DataSource tries to connect to remote server after ejb call to remote server

    I've run into a problem with code that worked fine under WebLogic 6.1 SP4, but I'm having difficulty migrating it to WebLogic 8.1 SP2.
              I have two weblogic instances running in separate domains (InstanceA and InstanceB). The two domains have the same crentential configured to setup the trust relationship.
              InstanceA runs on my local machine. It contains Stateless Session Beans StatelessSessionBeanA1, StatelessSessionBeanA2, and DataSourceA1
              InstanceB runs on a different machine. It contains StatelessSessionBeanB1.
              A function A1Func1 in StatelessSessionBeanA1
              1) creates an initial context to connect to InstanceB
              2) calls a method B1Func1 on StatelessSessionBeanB1
              3) closes that context to InstanceB
              4) Calls a method A2Func1 on StatelessSessionBeanA2
              5) manipulates several entity beans
              6) returns
              A1Func1, A2Func1, B1Func1 have the "Required" transaction attribute set.
              Steps 1,2,3 work fine, but on step 4, when A2Func1 attempts to get a Connection from the DataSourceA1, it gets an exception:
              java.sql.SQLException: Could not get remote server connection url = t3://(IP/port of InstanceB)
              at weblogic.jdbc.jts.Driver.createRemoteConnection(Driver.java:305)
              at weblogic.jdbc.jts.Driver.connect(Driver.java:157)
              at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:305)
              ... enters my application code
              A2Func1 works fine elsewhere, so on a hunch, I tried making A2Func1 have the "RequiresNew" transaction attribute. This causes steps 1,2,3,4 to work, but in step 5, when the entity beans attempt to get a connection from DataSourceA1, it runs into the same exception
              java.sql.SQLException: Could not get remote server connection url = t3://(IP/port of InstanceB)
              at weblogic.jdbc.jts.Driver.createRemoteConnection(Driver.java:305)
              at weblogic.jdbc.jts.Driver.connect(Driver.java:157)
              at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:305)
              at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.getConnection(RDBMSPersistenceManager.java:2247)
              Any ideas why calling out to StatelessSessionBeanB1 would cause things inside the same transaction to try to get their datasource from InstanceB? Again, this code worked fine under WebLogic 6.1
              And ideas would be appreciated.
              Thanks,
              --Andy
              

              As a follow up, no solution, but a workaround - we changed the transaction setting
              on B1Func1 (which was a read type method) on InstanceB's StatelessSessionBeanB1
              to NotSupported, and everything started working again.
              --Andy
              Andrew Delpha <[email protected]> wrote:
              >I've run into a problem with code that worked fine under WebLogic 6.1
              >SP4, but I'm having difficulty migrating it to WebLogic 8.1 SP2.
              >
              >I have two weblogic instances running in separate domains (InstanceA
              >and InstanceB). The two domains have the same crentential configured
              >to setup the trust relationship.
              >
              >InstanceA runs on my local machine. It contains Stateless Session Beans
              >StatelessSessionBeanA1, StatelessSessionBeanA2, and DataSourceA1
              >
              >InstanceB runs on a different machine. It contains StatelessSessionBeanB1.
              >
              >
              >A function A1Func1 in StatelessSessionBeanA1
              >1) creates an initial context to connect to InstanceB
              >2) calls a method B1Func1 on StatelessSessionBeanB1
              >3) closes that context to InstanceB
              >4) Calls a method A2Func1 on StatelessSessionBeanA2
              >5) manipulates several entity beans
              >6) returns
              >
              >A1Func1, A2Func1, B1Func1 have the "Required" transaction attribute set.
              >
              >
              >Steps 1,2,3 work fine, but on step 4, when A2Func1 attempts to get a
              >Connection from the DataSourceA1, it gets an exception:
              >java.sql.SQLException: Could not get remote server connection url = t3://(IP/port
              >of InstanceB)
              > at weblogic.jdbc.jts.Driver.createRemoteConnection(Driver.java:305)
              > at weblogic.jdbc.jts.Driver.connect(Driver.java:157)
              > at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:305)
              > ... enters my application code
              >
              >A2Func1 works fine elsewhere, so on a hunch, I tried making A2Func1 have
              >the "RequiresNew" transaction attribute. This causes steps 1,2,3,4
              >to work, but in step 5, when the entity beans attempt to get a connection
              >from DataSourceA1, it runs into the same exception
              >java.sql.SQLException: Could not get remote server connection url = t3://(IP/port
              >of InstanceB)
              > at weblogic.jdbc.jts.Driver.createRemoteConnection(Driver.java:305)
              > at weblogic.jdbc.jts.Driver.connect(Driver.java:157)
              > at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:305)
              > at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.getConnection(RDBMSPersistenceManager.java:2247)
              >
              >Any ideas why calling out to StatelessSessionBeanB1 would cause things
              >inside the same transaction to try to get their datasource from InstanceB?
              > Again, this code worked fine under WebLogic 6.1
              >
              >And ideas would be appreciated.
              >Thanks,
              >--Andy
              

  • How to Create Process Chain for Remote Cube.

    Hi,
              I created Remote info cube, data from ECC, loaded Successfully, I want to create Process Chain for Reomte Cube, Please Help me.
    Thanks,
    Nandish Gowda

    Hi Nandish,
    After initialization, th next delta will come as per your delta nature, if it is 0calday: Then your next delta will come tomorrow only.
    If you are able to 7 records in RSA3, why not in PSA( Why it's only 5 records). Analyze this closely.
    Sometimes, RSA3 exactly doesn't match with PSA because, RSA3 works on update mode F.
    Regards,
    Suman

  • CF Flash Remoting Settings For Remote Server

    I am trying to setup Flex Builder 2 for evaluation, with Flex
    Builder on a Windows XP machine and ColdFusion (7.0.2) on a remote
    server. When attempting to start the Flex Project Wizard using
    Flash Remoting, I am having trouble understanding what the settings
    should be for root folder and root URL. Nothing I've tried,
    including hints based on other posts, has helped.
    It would be helpful to have an example in the help docs for
    this type of situation. It can't be uncommon and I see a few others
    have had similar trouble. Thanks.

    On your machine, these are the settings (I use CF with IIS,
    not the standalone CF server):
    On Project Properties>
    Flex Server: ‘C:\CFusionMX7\wwwroot’
    Root URL: ‘
    http://localhost/’
    When you upload to your remote server, upload the entire
    Output Folder (usually ‘bin’). You can leave out the
    xx-debug.html and xx-debug.swf files, but upload all the others.

  • Defining Alias for Remote server Directory / Path

    Hi All,
             In my process chain I have an open hub process after which I have an abap program which sends out the data to a file on a remote server directory. But when it executes the program, it cannot find the path mentioned although I checked whether it is correct.
    I have also seen in several instances that for the remote server directory / path, the entire path is not typed in the variant's selection screen; instead it seems like an ALIAS. For example, if the path is
    w3n2-s501\javaappserver_test_staging\m234\sapdata on remote server w3n2-s501, then the  selection screen fileds show up like this:
    Remote Server Directory/Path     P               SAPTEST
    Remote Server Name                     P                          w3n2-s501     
    Does anyone know where this SAPTEST would be defined for the remote directory path?
    Thanks!

    Hi
    http://help.sap.com/saphelp_nw04s/helpdata/en/bd/0d6c3db297ff4d8a84e656502531f0/frameset.htm
    Hope it helps

Maybe you are looking for