Purify'ing CORBA applications

I have been trying to purify a Tuxedo CORBA application with not much luck. Hoping
somebody can help.
OS : SunOS 5.8
Tuxedo: 8.0
Purify: 2003.06.00 Solaris 2
I set the following environment variables before building the application
CC=/app/Rational/releases/purify.sol.2003.06.00/purify /net/pdcnfs01/share/nfs01/software02/SUNWspro6.0/WS6U2/bin/CC
CFLAGS=-g -mt -w -pic
I compiled the simpapp (corba application) that came with tuxedo and tried booting
up the server. Initially I got an error specifying that it could not find the
following library:
ld.so.1: simple_server: fatal: libenv.so.71_pure_p3_c0_111202132_58_32: open failed:
No such file or directory
So I modified LD_LIBRARY_PATH to $LD_LIBRARY_PATH:/app/Rational/releases/purify.sol.2003.06.00/cache/app/tuxedo/tuxedo8.0/lib
That seemed to solve that problem. But now when the server comes up, it dumps
core.
This is what the stack looks like.. (from dbx; where -h)
current thread: t@1
[1] xkill(0x0, 0x6, 0x0, 0x5, 0xffbee870, 0x0), at 0x771fc
[2] pure_signal_handler_wrapper(0x6, 0xffbeebc8, 0xffbee910, 0xfdb1801c, 0x1faf4,
0xfda6c028), at 0x5090c
[3] pure_sigtramp(0x6, 0x0, 0x0, 0xffffffff, 0x149a68, 0x0), at 0x74040
[4] abort(0xfdb1801c, 0x3fc3b151, 0x14f74, 0xfe895110, 0xff0ebe08, 0x0), at
0xfda48d24
[5] __Cimpl::ex_terminate(0x0, 0x20, 0xfe9134f8, 0x0, 0x0, 0x0), at 0xff0d849c
[6] __Crun::ex_throw(0xff0edd88, 0xfec1d2d4, 0xfe8dd218, 0x0, 0xff0ec544, 0x0),
at 0xff0d40b0
[7] CORBA::BAD_PARAM::_raise(0x14ad10, 0xfec4acc4, 0xffbeeee8, 0x1813a, 0xffbeef50,
0x0), at 0xfe8dd5ec
[8] ErrorInfo::RaiseExceptionIfError(0x14ad10, 0xffbeeee8, 0xfec4acc4, 0x128aec,
0xffbeef50, 0xfec5b30c), at 0xfe9134f0
[9] TypeCodeImpl::TypeCodeImpl(0xffbeef50, 0xfec5b2f0, 0x0, 0x0, 0xfec4acc4,
0x0), at 0xfe908c8c
[10] __STATIC_CONSTRUCTOR(0xfec4acc4, 0xfec5ba40, 0x0, 0xff0edcf0, 0x293b0,
0xff3bdd04), at 0xfe8d8c18
[11] _init(0x0, 0xff3e2660, 0x1, 0xff3e2660, 0x0, 0x0), at 0xfebf0a10
[12] call_init(0xff0a0f94, 0x1, 0xff3e21f0, 0xff3e2660, 0x400000, 0xff0a0ff0),
at 0xff3bad80
[13] setup(0xff3a0018, 0xff3e2000, 0xff3e20d0, 0xff3e3c30, 0xff3e2030, 0xff3e2660),
at 0xff3ba9f8
[14] _setup(0xd4, 0xff3e2660, 0xff3a0018, 0x5, 0x100d4, 0x0), at 0xff3c4d58
[15] rtboot(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xff3b2938
I got the same exception when I tried to run the client piece too.
Any help would be greatly appreciated.

This looks like a Purify problem. I have run Purify for Windows without problem
against Tuxedo on a regular basis. Are you sure you are running the latest version
of Purify and have the proper Purify for you compiler and OS version? Can you
try running your application on Windows and try using Purify for Windows?
Basically what you are encountering is an exception being thrown during the static
initialization of a typecode. This is typically done in our stubs. Why you would
be getting a BAD_PARAM is beyond me. Have you compiled all the code with the
same version of the compiler and is your compiler up to date?
-tl
-tl
"A Marcose" <[email protected]> wrote:
>
I have been trying to purify a Tuxedo CORBA application with not much
luck. Hoping
somebody can help.
OS : SunOS 5.8
Tuxedo: 8.0
Purify: 2003.06.00 Solaris 2
I set the following environment variables before building the application
CC=/app/Rational/releases/purify.sol.2003.06.00/purify /net/pdcnfs01/share/nfs01/software02/SUNWspro6.0/WS6U2/bin/CC
CFLAGS=-g -mt -w -pic
I compiled the simpapp (corba application) that came with tuxedo and
tried booting
up the server. Initially I got an error specifying that it could not
find the
following library:
ld.so.1: simple_server: fatal: libenv.so.71_pure_p3_c0_111202132_58_32:
open failed:
No such file or directory
So I modified LD_LIBRARY_PATH to $LD_LIBRARY_PATH:/app/Rational/releases/purify.sol.2003.06.00/cache/app/tuxedo/tuxedo8.0/lib
That seemed to solve that problem. But now when the server comes up,
it dumps
core.
This is what the stack looks like.. (from dbx; where -h)
current thread: t@1
[1] xkill(0x0, 0x6, 0x0, 0x5, 0xffbee870, 0x0), at 0x771fc
[2] pure_signal_handler_wrapper(0x6, 0xffbeebc8, 0xffbee910, 0xfdb1801c,
0x1faf4,
0xfda6c028), at 0x5090c
[3] pure_sigtramp(0x6, 0x0, 0x0, 0xffffffff, 0x149a68, 0x0), at 0x74040
[4] abort(0xfdb1801c, 0x3fc3b151, 0x14f74, 0xfe895110, 0xff0ebe08,
0x0), at
0xfda48d24
[5] __Cimpl::ex_terminate(0x0, 0x20, 0xfe9134f8, 0x0, 0x0, 0x0), at
0xff0d849c
[6] __Crun::ex_throw(0xff0edd88, 0xfec1d2d4, 0xfe8dd218, 0x0, 0xff0ec544,
0x0),
at 0xff0d40b0
[7] CORBA::BAD_PARAM::_raise(0x14ad10, 0xfec4acc4, 0xffbeeee8, 0x1813a,
0xffbeef50,
0x0), at 0xfe8dd5ec
[8] ErrorInfo::RaiseExceptionIfError(0x14ad10, 0xffbeeee8, 0xfec4acc4,
0x128aec,
0xffbeef50, 0xfec5b30c), at 0xfe9134f0
[9] TypeCodeImpl::TypeCodeImpl(0xffbeef50, 0xfec5b2f0, 0x0, 0x0, 0xfec4acc4,
0x0), at 0xfe908c8c
[10] __STATIC_CONSTRUCTOR(0xfec4acc4, 0xfec5ba40, 0x0, 0xff0edcf0,
0x293b0,
0xff3bdd04), at 0xfe8d8c18
[11] _init(0x0, 0xff3e2660, 0x1, 0xff3e2660, 0x0, 0x0), at 0xfebf0a10
[12] call_init(0xff0a0f94, 0x1, 0xff3e21f0, 0xff3e2660, 0x400000, 0xff0a0ff0),
at 0xff3bad80
[13] setup(0xff3a0018, 0xff3e2000, 0xff3e20d0, 0xff3e3c30, 0xff3e2030,
0xff3e2660),
at 0xff3ba9f8
[14] _setup(0xd4, 0xff3e2660, 0xff3a0018, 0x5, 0x100d4, 0x0), at 0xff3c4d58
[15] rtboot(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xff3b2938
I got the same exception when I tried to run the client piece too.
Any help would be greatly appreciated.

Similar Messages

  • Problem with CORBA application deployed using Java Web Start 1_6_0.

    Java Web Start fans and experts:
    We have been using Java Web Start to deploy the client side of a CORBA-based application since the inception of Java Web Start ... including Java Web Start 1.0 right up through the present.
    With Java Web Start 1_6_0, we see evidence that Web Start is "tinkering with" the IOR that CORBA uses to communicate. In all previous versions of Java Web Start, independent of the JRE which the application uses, the stringified IOR have been the same size regardless of whether the application is deployed locally or via Java Web Start. With Java Web Start 1_6_0, the stringified IOR is much longer than the "real" IOR (again, regardless of the JRE used by the application itself). To me this smells like a bug in Java Web Start 1_6_0. Has anyone else observed this behavior?
    Here are some specifics .... I've run the same client application with various JREs both with and without Java Web Start as the deployment mechanism. The application was compiled and runs against servers that are running JDK 1_5_0_09.
    Here is the summary of my results from a Linux box running various JREs, various versions of Java Web Start, and also running as a non-JWS deployed application. I've listed the length of the stringified IOR in each case.
    JRE 1.5.0 non-JWS client: stringified IOR length = 344
    JRE 1.6.0 non-JWS client: stringified IOR length = 344 ... this, I think, excludes the JRE as the cause of these problems.
    Java WS 1.5.0, JRE 1.5.0 JWS client: stringified IOR length = 344
    Java WS 1.5.0, JRE 1.6.0 JWS client: stringified IOR length = 344
    Java WS 1.6.0, JRE 1.6.0 JWS client: stringified IOR length = 1568
    Java WS 1.6.0, JRE 1.5.0 JWS cleint: stringified IOR length = 1568
    In all cases, the stringified IOR length is determined by the service receiving the message and is always running JRE 1_5_9_09 and is
    always the same 344 characters in length UNLESS it was deployed
    using Java Web Start 1_6_0, in which case it in nearly 5 times as big!
    To me, it sure looks as if there is a problem with Java Web Start 1_6_0 to be adding so much to the stringified IOR. Note: it's hard to tell how different the underlying IOR is in the JWS 1_6_0 case because, unlike most other ORBs, the Sun ORB doesn't have a tool to extract the IOR into a human readable structure. However, I can think of no good reason why the identical application deployed using Java Web Start 1_6_0 should have a stringified IOR length that is different than that of the same application deployed in non-JWS form or should differ from the behavior seen in all previous releases of Java Web Start.
    Any clues or suggestions? Has anyone else observed this behavior?
    Thanks,
    John

    Hi.
    I got a different problem. My Corba application works in JRE 1.6, but doesn't works in JRE 1.5.X. I got an unexpected error and my console shows:
    getSubjectX500Principal NoSuchMethodError: java.lang NoSuchMethodError
    #### Java Web Start Error:
    #### null
    Can you help me?

  • Deploying a Java CORBA application in Web Start

    I am a novice to Java Web Start. I have a sample Client-Server application with CORBA as a middle ware. The front end (Client) is in Java and back end (Server) is in C++. The application is run and tested with jar and batch file. Now I want to deploy that application in Java Web Start and JNLP.
    I have configured the same by creating a JNLP file and signed jars.
    Now as all knows any CORBA application needs a domain file ( .cfg ) and some org.omg classes to communicate with the server by RPC.
    I am stuck with how to specify these domain file name, path, CORBA classes etc in my JNLP. Not even that, I can't understand exactly what configuration will make the CORBA apps work properly in Java Web Start so that it can communicate with the server as well. All the Orbix jars's, IDL Stub jars are present and signed. I am giving my JNLP file as a reference. Actually I have tried adding these domain files and CORBA classes as parameters. But as usual it is not working and after running the JNLP the Java console suddenly gets disappeared.
    CORBADemo.jnlp
    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp spec="1.0+" codebase="http://172.28.1.139:8400/Test_CORBA_App" href="CORBADemo.jnlp">
    <information>
         <title>CORBA Demo</title>
         <vendor>Ushacomm</vendor>
    </information>
    <resources>
         <j2se version="1.6+" href="http://java.sun.com/products/autodl/j2se"/>
         <jar href="lib_6.3-Signed/UI_Fall_Test63.jar" main="true" download="eager" />
         <jar href="lib_6.3-Signed/ConfigurationService.jar" download="eager" />
         <jar href="lib_6.3-Signed/IDLStub.jar" download="eager" />
         <jar href="lib_6.3-Signed/art-rt.jar" download="eager" />
         <jar href="lib_6.3-Signed/art.jar" download="eager" />
         <jar href="lib_6.3-Signed/atli2-rt.jar" download="eager" />
         <jar href="lib_6.3-Signed/atli2.jar" download="eager" />
         <jar href="lib_6.3-Signed/atli2_ip-rt.jar" download="eager" />
         <jar href="lib_6.3-Signed/atli2_ip.jar" download="eager" />
         <jar href="lib_6.3-Signed/atli2_ip_cio-rt.jar" download="eager" />
         <jar href="lib_6.3-Signed/atli2_ip_cio.jar" download="eager" />
         <jar href="lib_6.3-Signed/atli2_ip_nio-rt.jar" download="eager" />
         <jar href="lib_6.3-Signed/atli2_ip_nio.jar" download="eager" />
         <jar href="lib_6.3-Signed/atli2_tls-rt.jar" download="eager" />
         <jar href="lib_6.3-Signed/atli2_tls.jar" download="eager" />
         <jar href="lib_6.3-Signed/codeset.jar" download="eager" />
         <jar href="lib_6.3-Signed/concurrency-rt.jar" download="eager" />
         <jar href="lib_6.3-Signed/concurrency.jar" download="eager" />
         <jar href="lib_6.3-Signed/ifc-rt.jar" download="eager" />
         <jar href="lib_6.3-Signed/ifc.jar" download="eager" />
         <jar href="lib_6.3-Signed/iiop.jar" download="eager" />
         <jar href="lib_6.3-Signed/java_management_logging-rt.jar" download="eager" />
         <jar href="lib_6.3-Signed/java_mgmt_plugin-rt.jar" download="eager" />
         <jar href="lib_6.3-Signed/java_portable_interceptor-rt.jar" download="eager" />
         <jar href="lib_6.3-Signed/management-rt.jar" download="eager" />
         <jar href="lib_6.3-Signed/management.jar" download="eager" />
         <jar href="lib_6.3-Signed/mgmt.jar" download="eager" />
         <jar href="lib_6.3-Signed/omg-rt.jar" download="eager" />
         <jar href="lib_6.3-Signed/omg.jar" download="eager" />
         <jar href="lib_6.3-Signed/perf_logging.jar" download="eager" />
         <jar href="lib_6.3-Signed/portable_interceptor.jar" download="eager" />
         <property name="Dorg.omg.CORBA.ORBClass" value="com.iona.corba.art.artimpl.ORBImpl"/>
         <property name="Dorg.omg.CORBA.ORBSingletonClass" value="com.iona.corba.art.artimpl.ORBSingleton"/>
         <property name="ORBdomain_name" value="VOIAMODOMAINNEW"/>
    </resources>
    <application-desc name="CORBADemo Demo Application" main-class="Launch" width="300" height="300">
    </application-desc>
    <update check="background"/>
    <argument>1</argument>
    <security>
         <all-permissions/>
    </security>
    </jnlp>
    .

    *@ gimbal2 and EJP :*
    The firewall is present and allowed to access apps. When I am running the jar of my application from batch file then everything is running fine. The CORBA Server is a remote RHEL5 (Enterprise Linux 5) machine whose 'IP' and 'Hostname' is specified in *"C:\WINDOWS\system32\drivers\etc\hosts"* file. Server is running fine and after starting the Client the Server side remote method is invoked. Data fetched properly and everything is working like a charm.
    When running from batch (.bat) file using jar My applications folder hierarchy is something like this.
    Test_CORBA_App
    ------+config ( contains resources file and domain file )
    ------+lib_6.3 ( contains all Jars)
    ------+log ( will contaiin the generated log files )
    -------runCORBA_App.bat ( the batch file I am running )
    As depicted above the folder hierarchy, my domain file resides in "config" folder. The contents of the batch file are as follows :
    runCORBA_App.bat
    C:\jdk1.6.0_14\bin\java -Xms64M -Xmx512M -Dorg.omg.CORBA.ORBClass=com.iona.corba.art.artimpl.ORBImpl -Dorg.omg.CORBA.ORBSingletonClass=com.iona.corba.art.artimpl.ORBSingleton -jar lib_6.3\UI_Fall_Test63.jar -ORBdomain_name VOIAMODOMAINNEW 1
    pause
    The following things are specified in the batch file :
    1. JDK path : ( C:\jdk1.6.0_14\bin\java )
    2. Java VM arguments for max and min memory : ( -Xms64M -Xmx512M )
    3. ORB class name: ( -Dorg.omg.CORBA.ORBClass=com.iona.corba.art.artimpl.ORBImpl )
    4. ORB singleton class name : ( -Dorg.omg.CORBA.ORBSingletonClass=com.iona.corba.art.artimpl.ORBSingleton )
    5. Jar file name to run : ( -jar lib_6.3\UI_Fall_Test63.jar )
    6. Domain Name : ( -ORBdomain_name VOIAMODOMAINNEW )
    7. Main function args : ( 1 )
    I am trying to deploy this simple CORBA application in Java Web Start and JNLP. I kept this in my tomcat server web apps. The folder hierarchy is as follows :
    tomcat
    ---+ bin
    ---+ conf
    ---+ ..
    ---+ ..
    ---+ ..
    ---_ webapps
    ----------+ host-manager
    ----------+ manager
    ----------+ ..
    ----------+ ..
    ----------_ Test_CORBA_App
    -------------------+ config
    -------------------+ lib_6.3
    -------------------+ lib_6.3-Signed
    -------------------+ log
    --------------------CORBADemo.jnlp (.jnlp file)
    --------------------index.html (.html file)
    As you can see I maintained the same folder structure as it was when running from batch file. The jars I am using is signed and kept in lib_6.3-Signed folder.
    My updated "CORBADemo.jnlp" is :
    CORBADemo.jnlp
    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp spec="1.0+" codebase="http://172.28.1.139:8400/Test_CORBA_App" href="CORBADemo.jnlp">
    <information>
         <title>CORBA Demo</title>
         <vendor>Ushacomm</vendor>
    </information>
    <resources>
         <j2se version="1.6" href="http://java.sun.com/products/autodl/j2se" java-vm-args="-Xms64M -Xmx512M 1" />
         <jar href="lib_6.3-Signed/UI_Fall_Test63.jar" main="true" download="eager" />
         <jar href="lib_6.3-Signed/ConfigurationService.jar" download="eager" />
         <jar href="lib_6.3-Signed/IDLStub.jar" download="eager" />
         <jar href="lib_6.3-Signed/art-rt.jar" download="eager" />
         <jar href="lib_6.3-Signed/art.jar" download="eager" />
         <jar href="lib_6.3-Signed/atli2-rt.jar" download="eager" />
         <jar href="lib_6.3-Signed/atli2.jar" download="eager" />
         <jar href="lib_6.3-Signed/atli2_ip-rt.jar" download="eager" />
         <jar href="lib_6.3-Signed/atli2_ip.jar" download="eager" />
         <jar href="lib_6.3-Signed/atli2_ip_cio-rt.jar" download="eager" />
         <jar href="lib_6.3-Signed/atli2_ip_cio.jar" download="eager" />
         <jar href="lib_6.3-Signed/atli2_ip_nio-rt.jar" download="eager" />
         <jar href="lib_6.3-Signed/atli2_ip_nio.jar" download="eager" />
         <jar href="lib_6.3-Signed/atli2_tls-rt.jar" download="eager" />
         <jar href="lib_6.3-Signed/atli2_tls.jar" download="eager" />
         <jar href="lib_6.3-Signed/codeset.jar" download="eager" />
         <jar href="lib_6.3-Signed/concurrency-rt.jar" download="eager" />
         <jar href="lib_6.3-Signed/concurrency.jar" download="eager" />
         <jar href="lib_6.3-Signed/ifc-rt.jar" download="eager" />
         <jar href="lib_6.3-Signed/ifc.jar" download="eager" />
         <jar href="lib_6.3-Signed/iiop.jar" download="eager" />
         <jar href="lib_6.3-Signed/java_management_logging-rt.jar" download="eager" />
         <jar href="lib_6.3-Signed/java_mgmt_plugin-rt.jar" download="eager" />
         <jar href="lib_6.3-Signed/java_portable_interceptor-rt.jar" download="eager" />
         <jar href="lib_6.3-Signed/management-rt.jar" download="eager" />
         <jar href="lib_6.3-Signed/management.jar" download="eager" />
         <jar href="lib_6.3-Signed/mgmt.jar" download="eager" />
         <jar href="lib_6.3-Signed/omg-rt.jar" download="eager" />
         <jar href="lib_6.3-Signed/omg.jar" download="eager" />
         <jar href="lib_6.3-Signed/perf_logging.jar" download="eager" />
         <jar href="lib_6.3-Signed/portable_interceptor.jar" download="eager" />
         <property name="Dorg.omg.CORBA.ORBClass" value="com.iona.corba.art.artimpl.ORBImpl"/>
         <property name="Dorg.omg.CORBA.ORBSingletonClass" value="com.iona.corba.art.artimpl.ORBSingleton"/>
         <property name="ORBdomain_name" value="VOIAMODOMAINNEW"/>
    </resources>
    <application-desc name="CORBADemo Demo Application" main-class="Launch" width="300" height="300">
    </application-desc>
    <update check="background"/>
    <argument>1</argument>
    <security>
         <all-permissions/>
    </security>
    </jnlp>
    N.B
    *1. I am running the Tomcat server in my own machine on port 8400 ( for sure, as I have deployed many .war files using this tomcat and all worked ). And using the URL below running the WebStart application.*
    *2. I am running the JNLP from my own machine.*
    *3. CORBA server is running on a remote RHEL 5 machine as I mentioned before also.*
    URL : http://<My Machine IP>:8400/Test_CORBA_App/
    As desired the Web Start application will make a call to the remote CORBA server on RHEL5 machine by initializing the ORB and resolving the CORBA NamingService. But exception is occurring as I posted in previous post i.e exception while resolving NamingService.
    Now my query is whether the domain file ( DOMAIN.cfg ) is reading/ accessing properly from my machine while running the JNLP or not. Because I presume in Java Web Start special attention is required to read any .cfg file. If everything is fine why the error is occurring.
    *@ EJP :* The ORB is desired to run and running on the CORBA Server remote macine i.e RHEL5 machine, because from batch file it is working fine.
    Is it so that I need to run the Tomcat Web Server and CORBA Server from the same machine.

  • Corba application on unix

    wasnt sure where to post this so please excuse me if its slightly off topic,
    i developed a simple corba banking application on win98 and java 1.3 but it is not running when i moved it to a unix platform, everything recompiled ok, the requisite idlj generated class files are all there and correct but i get this error when the client program tries to connect to the server program (which is run on another console on the same machine), the server program sets up correctly,
    java BankClient -ORBInitialPort 1050 <--- calling the client here
    ERROR : org.omg.CORBA.UNKNOWN: vmcid: 0x0 minor code: 3 completed: No
    org.omg.CORBA.UNKNOWN: vmcid: 0x0 minor code: 3 completed: No
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
    at java.lang.Class.newInstance0(Class.java:306)
    at java.lang.Class.newInstance(Class.java:259)
    at com.sun.corba.se.internal.iiop.messages.ReplyMessage_1_0.getSystemException(ReplyMessage_1_0.java:87)
    at com.sun.corba.se.internal.iiop.ClientResponseImpl.getSystemException(ClientResponseImpl.java:105)
    at com.sun.corba.se.internal.corba.ClientDelegate.invoke(ClientDelegate.java:309)
    at org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:457)
    at BankModule._BankInterfaceStub.client_regi(_BankInterfaceStub.java:21)
    at BankClient.main(BankClient.java:57)
    anyone know what the vmcid: 0x0 and minor error: 3 means? using println's i traced the problem to the line where the client 1st calls a server method, consequently everytime a sever method is invoked the same error is presented (i.e the client and server programs continue running but these exceptions are thrown), obviously the ORB is not setting up correctly hence the runtime error when invoking, is there something ive overlooked in running the app on unix compared to win98?
    is it worth me posting the client program code that sets up the ORB?

    Not certain, but you might try recompiling and running under 1.4.1_01. The error messages should be more informative.

  • Alias-ing My Application

    How can I change my portal application address to a generic company address and keep that address throughout my application?
    currently the application address is "http://server:port/directory/dad/application"
    I want it to say: "http://www.company.domain/alias app name"

    Hi,
    You can either try Redirection or Virtual Hosting. You can have a look at this thread for some ideas :
    Re: 10.1.2 Installation Query
    Regards,
    Sandeep

  • Can not launch swing application from Java Web Start 1.6.0_37

    I have a dynamic generated jnlp file from a serlvet. When I used Java Web Start to start the swing application, it failed. The exception showed
    com.sun.deploy.net.FailedDownloadException: Unable to load resource: http://xxxx.xx.com:9080/dilpipweb/Test-1.0-SNAPSHOT.jar
         at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)
         at com.sun.javaws.LaunchDownload$DownloadTask.call(Unknown Source)
         at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
         at java.util.concurrent.FutureTask.run(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    I used janela to validate the generated jnlp file. It was valid. I also checked the tomcat access log, it showed that the Test-1.0-SNAPSHOT.jar file was accessed correctly (with a 200 return code).
    Can anyone help me what was the problem?
    Thanks,

    Hi.
    I got a different problem. My Corba application works in JRE 1.6, but doesn't works in JRE 1.5.X. I got an unexpected error and my console shows:
    getSubjectX500Principal NoSuchMethodError: java.lang NoSuchMethodError
    #### Java Web Start Error:
    #### null
    Can you help me?

  • How can I run a application on a machine without JDK installed?

    Hi all,
    I'm new to java,I want to know if there's a way to run a application on a machine without JDK installed, I noticed that some server application such as Domino have CORBA applications running in background,how can I set up such environment without JDK installed?
    Thanks.

    I believe there are two basic ways you could go about this.
    1) Install the JRE (Java Runtime Environment) on the machine in question.
    2) Use JSP to make a server side app that interacts via browser on the local machine.

  • CORBA MARSHAL and DATA_CONVERSION errors

    Hi,
    I'm developing a CORBA application and everything was well till now. I have to bring a lot of information from a database. When I run the method local (without ORB) everything goes well but when I do it through ORB it fails. I get two errors:
    org.omg.CORBA.MARSHAL: Unmarshaller requested more data after end of stream vmcid: SUN minor code: 207 completed: No
    org.omg.CORBA.DATA_CONVERSION: vmcid: OMG minor code: 1 completed: No
    I can bring all kind of information except this. Does JDK's ORB have problems transporting huge sequences of structs? What`s the reason for this? How can I solve it? I'm currently using 1.4.
    Any comentary can be useful
    Thanks

    I got it,
    I changed "string" for "wstring" in the IDL file.

  • CORBA and Oracle SOA

    How does Oracle BPEL PM / ESB enable CORBA applications to be consumed? Also, does the iDE support transformation of CORBA IDL to WSDL?

    How does Oracle BPEL PM / ESB enable CORBA applications to be consumed? Also, does the iDE support transformation of CORBA IDL to WSDL?

  • JDeveloper 2.0 / Infobus / CORBA

    If I develop an Online Java Applet application using the Oracle
    Infobus controls in JDeveloper 2.0 will it be CORBA capable?
    I'm a contractor for the USAF, and they require that all their
    web programs use CORBA. Any help or suggestions?
    null

    Tal,
    An application/applet created using JDev 2.0's InfoSwing and
    InfoProducer components uses a JDBC connection to the Oracle
    database. Deployment as a CORBA application is not supported.
    Regards,
    PSW
    Tal (guest) wrote:
    : If I develop an Online Java Applet application using the Oracle
    : Infobus controls in JDeveloper 2.0 will it be CORBA capable?
    : I'm a contractor for the USAF, and they require that all their
    : web programs use CORBA. Any help or suggestions?
    null

  • Help needed for CORBA over Http through proxy server[Very Urgent]

    Hi Friendz,
    I am new to J2EE. Right now I am learning RMI, Corba now.
    In RMI, to pass through Http to bypass firewall or through proxy sever, we can use either Http to port or Http to CGI/Servlet i.e., Http tunneling.
    In the same, I am running a simple corba application, i want my corba application to pass through my proxy server using http which is configured to address 127.0.0.1 and port 8118.
    How to pass my corba application through proxy server. please help me and it is very urgent.
    Is it possible or not, please let me know some comments about this topic
    Thanks in advance Friends for your help

    This is so extremely urgent that it needs to be asked multiple times.
    http://forum.java.sun.com/thread.jspa?threadID=762950

  • Set Port to be used by client orb corba for the response to a server

    I have a client corba application, and i need to set the port used for corba response on the client host.
    How can i set the port used on client for response?
    Client Server
    <ClientHost>?port?--------------------->4444<serverHost>
    Thanks

    You mean the local port at the client. It's used for the entire connection, not just the response. You should let the system allocate this rather than trying to control it yourself. Otherwise you restrict yourself to only one connection to the ORB from the client (e.g. no multithreading).
    You should arrange with your firewall to allow anyclient port to connect to the ORB.

  • AQ and CORBA

    What is the relationship between ORACLE-AQ and CORBA (for example, iona) ?
    It looks to me that AQ seems replace CORBA. Am I right ?
    If I already have a distributed application using CORBA,
    can I still be benefited by adding AQ to my existing CORBA application ?
    THX

    Here are some questions from Vadim Katz and answers from the OTN developers who built the AQ Hotel sample app:
    I was able to compile the whole projects but only after doing the following:
    1) Adding JBO 8i Client library which contains
    javax.jts.UserTransaction. This is not mentioned in the example guide
    and UserTransaction is not a part of Sun's javax.jts packageThe AQ EJB/CORBA Sample was developed using JDeveloper 2.0. In JDeveloper 2.0, the CORBA library contains aurora_client.jar, and aurora_client.jar contains classes like javax.jtx.UserTransaction, etc.
    JDeveloper 3.1does not include the CORBA library by default, and that is why you need to add JBO 8i Client, etc.
    > 2) I also had to compile HotelSystemSQLJ.sqlj file to get .class file;
    > otherwise, during global project rebuilt I was only getting .ser file.
    > Missing .class file was causing compilation errors.
    JDeveloper requires you to first compile HotelSystemSQLJ.sqlj and HotelSQLJ.sqlj separately. These steps are
    mentioned in the README.txt.
    3) FINALLY, A BIG QUESTION. Why does travel8i.dmp modify SYSTEM TABLES
    and because of that user "travel" is required to have SYS priveledges???The Sample requires a TRAVEL user with Sample Travel Data. We could have asked the user to create a separate tablespace and import travel8i.dmp into it, but that would increase the installation steps. For
    simplicity, we create the TRAVEL user in the SYSTEM tablespace.
    When you want to delete example data, simply drop the "TRAVEL" user.
    The AQ Sample needs access to DBMS_AQADM and DBMS_AQ packages which are present in SYS user.
    I hope this helps,
    -rh

  • Packaging my Java CORBA code

    I'm developing a CORBA application using JAVA IDL when I packaged my code in my defined packages I started getting an error when running the client
    ERROR : org.omg.CORBA.BAD_PARAM: minor code: 1398079489 completed: Maybe
    org.omg.CORBA.BAD_PARAM: minor code: 1398079489 completed: Maybe
    at java.lang.Class.newInstance0(Native Method)
    at java.lang.Class.newInstance(Class.java:237)
    at com.sun.corba.se.internal.iiop.ReplyMessage.getSystemException(ReplyMessage.java:93)
    at com.sun.corba.se.internal.iiop.ClientResponseImpl.getSystemException(ClientResponseImpl.java:83)
    at com.sun.corba.se.internal.corba.ClientDelegate.invoke(ClientDelegate.java:204)
    at org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:459)
    at ServiceProvApp._SpStub.processCommand(_SpStub.java:35)
    at SpClient.main(SpClient.java:38)
    This error happens when I try to call a native C code from my application ... can any one help in this please. I have inserted the shared libraries in the proper path and they are loaded properly

    I am getting something very similar does anyone have any idea??????? pls

  • OAS + CORBA + JDK

    Does OAS 4.0 support C++ CORBA objects?
    Does it contains a C++ ORB?
    I have read the OAS documentation and I think that the only way to develop a CORBA application is through the use of JCORBA, that is Java CORBA objects. Is that true?
    Another question: May I develop a Java application in OAS using JDK 1.2.x
    null

    Wel, none of these are JDeveloper questions, but I'll give it a shot:
    Does OAS 4.0 support C++ CORBA objects?I don't know. Probably.
    Does it contains a C++ ORB?See above.
    I have read the OAS documentation and
    I think that the only way to develop
    a CORBA application is through the
    use of JCORBAI think that this is true for some versions of OAS, I don't know if it is true for all of the 4.0.x releases.
    JCORBA, that is Java CORBA objects.
    Is that true?Yes, this is a Java CORBA program (Oracle had their own EJB sort of spec. prior to the offical one).
    May I develop a Java application in
    OAS using JDK 1.2.xNot with any of the 4.0.x releases to date, they ar all still JDK 1.1.x.
    null

Maybe you are looking for