Inter Application Server RMI IIOP call question

Hi,
I am using SAS 8 EE. I have two stand alone server instances and I am trying to make a call from a message bean in one instance to a message bean in the other instance. When I do this I get an exception in the node agent of the message bean instance. It is:
P00410216: (COMM_FAILURE) Unable to create IIOP listener on the specified host/port: all interfaces/33700"
org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 216 completed: No
at com.sun.corba.ee.impl.logging.ORBUtilSystemException.createListenerFailed(ORBUtilSystemException.java:2661)
at com.sun.corba.ee.impl.logging.ORBUtilSystemException.createListenerFailed(ORBUtilSystemException.java:2681)
at com.sun.corba.ee.impl.transport.SocketOrChannelAcceptorImpl.initialize(SocketOrChannelAcceptorImpl.java:167)
at com.sun.corba.ee.impl.transport.CorbaTransportManagerImpl.getAcceptors(CorbaTransportManagerImpl.java:207)
at com.sun.corba.ee.impl.transport.CorbaTransportManagerImpl.addToIORTemplate(CorbaTransportManagerImpl.java:224)
at com.sun.corba.ee.spi.oa.ObjectAdapterBase.initializeTemplate(ObjectAdapterBase.java:104)
at com.sun.corba.ee.impl.oa.toa.TOAImpl.<init>(TOAImpl.java:78)
at com.sun.corba.ee.impl.oa.toa.TOAFactory.getTOA(TOAFactory.java:65)
at com.sun.corba.ee.impl.orb.ORBImpl.connect(ORBImpl.java:1521)
at com.sun.corba.ee.spi.presentation.rmi.StubAdapter.connect(StubAdapter.java:164)
at com.sun.corba.ee.impl.orbutil.ORBUtility.connectAndGetIOR(ORBUtility.java:825)
at com.sun.corba.ee.impl.orb.ORBImpl.getFVDCodeBaseIOR(ORBImpl.java:886)
at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.addServiceContexts(CorbaClientRequestDispatcherImpl.java:737)
at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.beginRequest(CorbaClientRequestDispatcherImpl.java:227)
at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.request(CorbaClientDelegateImpl.java:127)
at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.is_a(CorbaClientDelegateImpl.java:244)
at org.omg.CORBA.portable.ObjectImpl._is_a(ObjectImpl.java:112)
at org.omg.CosNaming.NamingContextHelper.narrow(NamingContextHelper.java:69)
at com.sun.jndi.cosnaming.CNCtx.setOrbAndRootContext(CNCtx.java:345)
at com.sun.jndi.cosnaming.CNCtx.initUsingCorbanameUrl(CNCtx.java:321)
at com.sun.jndi.cosnaming.CNCtx.initUsingUrl(CNCtx.java:247)
at com.sun.jndi.cosnaming.CNCtx.initOrbAndRootContext(CNCtx.java:209)
at com.sun.jndi.cosnaming.CNCtx.<init>(CNCtx.java:69)
at com.sun.jndi.cosnaming.CNCtxFactory.getInitialContext(CNCtxFactory.java:32)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
at javax.naming.InitialContext.init(InitialContext.java:223)
at javax.naming.InitialContext.<init>(InitialContext.java:197)
at com.myretsu.streamguard.core.ejb.services.AbstractServiceBean.lookupRemoteServiceRegister(AbstractServiceBean.java:393)
at com.myretsu.streamguard.core.ejb.services.AbstractServiceBean.register(AbstractServiceBean.java:227)
at com.myretsu.streamguard.core.ejb.services.AbstractServiceBean.processServiceMessage(AbstractServiceBean.java:116)
at com.myretsu.streamguard.core.ejb.services.AbstractServiceBean.onMessage(AbstractServiceBean.java:76)
at com.myretsu.streamguard.core.ejb.services.AbstractIVRServiceBean.onMessage(AbstractIVRServiceBean.java:38)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sun.enterprise.security.SecurityUtil$2.run(SecurityUtil.java:153)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.enterprise.security.application.EJBSecurityManager.doAsPrivileged(EJBSecurityManager.java:950)
at com.sun.enterprise.security.SecurityUtil.invoke(SecurityUtil.java:158)
at com.sun.ejb.containers.MessageBeanContainer.deliverMessage(MessageBeanContainer.java:956)
at com.sun.ejb.containers.MessageBeanListenerImpl.deliverMessage(MessageBeanListenerImpl.java:42)
at com.sun.enterprise.connectors.inflow.MessageEndpointInvocationHandler.invoke(MessageEndpointInvocationHandler.java:130)
at $Proxy6.onMessage(Unknown Source)
at com.sun.messaging.jms.ra.OnMessageRunner.run(OnMessageRunner.java:173)
at com.sun.enterprise.connectors.work.OneWork.doWork(OneWork.java:45)
at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:409)
Caused by: java.net.BindException: Address already in use
at sun.nio.ch.Net.bind(Native Method)
at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:119)
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59)
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:52)
at com.sun.enterprise.iiop.IIOPSSLSocketFactory.createServerSocket(IIOPSSLSocketFactory.java:289)
at com.sun.corba.ee.impl.transport.SocketOrChannelAcceptorImpl.initialize(SocketOrChannelAcceptorImpl.java:160)
When I use this code from a stand alone application I can call the session bean just fine.
Properties env = new Properties();
env.setProperty("java.naming.factory.initial", "com.sun.jndi.cosnaming.CNCtxFactory" );
env.setProperty("java.naming.provider.url", "corbaname:iiop:devcloud:3700");
InitialContext ic = new InitialContext( env );
String lookupString = "ejb/BillingFacade";
Object objRef = ic.lookup( lookupString );
BillingFacadeHome home = (BillingFacadeHome) PortableRemoteObject.narrow(objRef, BillingFacadeHome.class );
BillingFacade facade = home.create();Has anyone tried using two instances on the same application server or anyone seen a problem like this?
Thanks for you help

I'm getting something very similar... but in my case, I don't want/expect a corba connection.
I'm trying to use the SunAppserver 8 that is packaged with creator to create a web application that talks to a WebLogic server. The code for communicating with the weblogic server is throwing a similar error.
The stack trace starts with a line by line print of the contents of the properties used to get the initial context... here:
System.out.println("===========> HEY <=============");
for (Iterator it=env.keySet().iterator(); it.hasNext();) {
String key = (String) it.next();
String value = (String) env.get(key);
System.out.println("key = " + key + " value = " + value);
Context ctx = new InitialContext(env);
ejbHome = (EJBHome)PortableRemoteObject.narrow(ctx.lookup(jndiName), EJBHome.class);
ctx.close();
Stack Trace
[#|2005-03-31T14:12:43.625-0500|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.stream.out|_ThreadID=12;|===========> HEY <=============|#]
[#|2005-03-31T14:12:43.626-0500|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.stream.out|_ThreadID=12;|
key = java.naming.factory.initial value = weblogic.jndi.WLInitialContextFactory|#]
[#|2005-03-31T14:12:43.626-0500|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.stream.out|_ThreadID=12;|
key = java.naming.provider.url value = t3://localhost:7001|#]
[#|2005-03-31T14:12:43.775-0500|WARNING|sun-appserver-pe8.0.0_01|javax.enterprise.resource.corba._CORBA_.orb.lifecycle|_ThreadID=12;|"IOP02410213: (DATA_CONVERSION) Class class weblogic.corba.client.cluster.ORBSocketFactory is not a subtype of ORBSocketFactory"
org.omg.CORBA.DATA_CONVERSION: vmcid: SUN minor code: 213 completed: No
at com.sun.corba.ee.impl.logging.ORBUtilSystemException.illegalSocketFactoryType(ORBUtilSystemException.java:2362)
at com.sun.corba.ee.impl.logging.ORBUtilSystemException.illegalSocketFactoryType(ORBUtilSystemException.java:2385)
at com.sun.corba.ee.impl.orb.ParserTable$3.operate(ParserTable.java:462)
at com.sun.corba.ee.impl.orb.NormalParserAction.apply(NormalParserAction.java:22)
at com.sun.corba.ee.spi.orb.PropertyParser.parse(PropertyParser.java:52)
at com.sun.corba.ee.spi.orb.ParserImplBase.init(ParserImplBase.java:56)
at com.sun.corba.ee.impl.orb.ORBDataParserImpl.<init>(ORBDataParserImpl.java:339)
at com.sun.corba.ee.impl.orb.ORBImpl.postInit(ORBImpl.java:421)
at com.sun.corba.ee.impl.orb.ORBImpl.set_parameters(ORBImpl.java:498)
at org.omg.CORBA.ORB.init(ORB.java:337)
at weblogic.corba.j2ee.naming.ORBHelper.createORB(ORBHelper.java:361)
at weblogic.corba.j2ee.naming.ORBHelper.getORBReferenceWithRetry(ORBHelper.java:498)
at weblogic.corba.j2ee.naming.ORBHelper.getORBReference(ORBHelper.java:480)
at weblogic.corba.j2ee.naming.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:97)
at weblogic.corba.j2ee.naming.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:42)
at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:41)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:662)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
at javax.naming.InitialContext.init(InitialContext.java:219)
at javax.naming.InitialContext.<init>(InitialContext.java:195)
at com.granite.xng.web.application.locator.EJBLocator.ejbHome(EJBLocator.java:264)
at com.granite.xng.web.application.locator.EJBLocator.getClientService(EJBLocator.java:66)
at com.granite.xng.web.application.locator.ServiceLocator.getClientService(ServiceLocator.java:28)
at com.granite.xng.web.application.connection.ApplicationServerConnection.connect(ApplicationServerConnection.java:70)
at com.granite.xng.web.application.connection.ApplicationServerConnectionFilter.doFilter(ApplicationServerConnectionFilter.java:41)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:246)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:268)
at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:218)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:145)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:141)
at com.granite.xng.web.application.locator.ServiceLocatorFilter.doFilter(ServiceLocatorFilter.java:42)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:246)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:268)
at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:218)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:145)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:141)
at com.granite.xng.web.application.identification.IdentificationFilter.doFilter(IdentificationFilter.java:83)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:246)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:268)
at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:218)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:145)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:141)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:109)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:522)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:214)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:168)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:109)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:522)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:144)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:109)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:133)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:539)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
at com.sun.enterprise.webservice.EjbWebServiceValve.invoke(EjbWebServiceValve.java:134)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
at com.sun.enterprise.security.web.SingleSignOn.invoke(SingleSignOn.java:254)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
at com.sun.enterprise.web.VirtualServerValve.invoke(VirtualServerValve.java:209)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:522)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:114)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:109)
at com.sun.enterprise.web.VirtualServerMappingValve.invoke(VirtualServerMappingValve.java:166)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:522)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:936)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:165)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:683)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:604)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:542)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:647)
at java.lang.Thread.run(Thread.java:534)
|#]
[#|2005-03-31T14:12:43.777-0500|WARNING|sun-appserver-pe8.0.0_01|javax.enterprise.resource.corba._CORBA_.orb.lifecycle|_ThreadID=12;|"IOP02410214: (DATA_CONVERSION) weblogic.corba.client.cluster.ORBSocketFactory is not a valid custom socket factory"
org.omg.CORBA.DATA_CONVERSION: vmcid: SUN minor code: 214 completed: No
at com.sun.corba.ee.impl.logging.ORBUtilSystemException.badCustomSocketFactory(ORBUtilSystemException.java:2391) at com.sun.corba.ee.impl.logging.ORBUtilSystemException.badCustomSocketFactory(ORBUtilSystemException.java:2410) at com.sun.corba.ee.impl.orb.ParserTable$3.operate(ParserTable.java:468)
at com.sun.corba.ee.impl.orb.NormalParserAction.apply(NormalParserAction.java:22)
at com.sun.corba.ee.spi.orb.PropertyParser.parse(PropertyParser.java:52)
at com.sun.corba.ee.spi.orb.ParserImplBase.init(ParserImplBase.java:56)
at com.sun.corba.ee.impl.orb.ORBDataParserImpl.<init>(ORBDataParserImpl.java:339)
at com.sun.corba.ee.impl.orb.ORBImpl.postInit(ORBImpl.java:421)
at com.sun.corba.ee.impl.orb.ORBImpl.set_parameters(ORBImpl.java:498)
at org.omg.CORBA.ORB.init(ORB.java:337)
at weblogic.corba.j2ee.naming.ORBHelper.createORB(ORBHelper.java:361)
at weblogic.corba.j2ee.naming.ORBHelper.getORBReferenceWithRetry(ORBHelper.java:498)
at weblogic.corba.j2ee.naming.ORBHelper.getORBReference(ORBHelper.java:480)
at weblogic.corba.j2ee.naming.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:97)
at weblogic.corba.j2ee.naming.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:42)
at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:41)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:662)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
at javax.naming.InitialContext.init(InitialContext.java:219)
at javax.naming.InitialContext.<init>(InitialContext.java:195)
at com.granite.xng.web.application.locator.EJBLocator.ejbHome(EJBLocator.java:264)
at com.granite.xng.web.application.locator.EJBLocator.getClientService(EJBLocator.java:66)
at com.granite.xng.web.application.locator.ServiceLocator.getClientService(ServiceLocator.java:28)
at com.granite.xng.web.application.connection.ApplicationServerConnection.connect(ApplicationServerConnection.java:70)
at com.granite.xng.web.application.connection.ApplicationServerConnectionFilter.doFilter(ApplicationServerConnectionFilter.java:41)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:246)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:268)
at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:218)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:145)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:141)
at com.granite.xng.web.application.locator.ServiceLocatorFilter.doFilter(ServiceLocatorFilter.java:42)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:246)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:268)
at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:218)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:145)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:141)
at com.granite.xng.web.application.identification.IdentificationFilter.doFilter(IdentificationFilter.java:83)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:246)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:268)
at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:218)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:145)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:141)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:109)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:522)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:214)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:168)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:109)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:522)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:144)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:109)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:133)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:539)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
at com.sun.enterprise.webservice.EjbWebServiceValve.invoke(EjbWebServiceValve.java:134)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
at com.sun.enterprise.security.web.SingleSignOn.invoke(SingleSignOn.java:254)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
at com.sun.enterprise.web.VirtualServerValve.invoke(VirtualServerValve.java:209)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:522)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:114)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:109)
at com.sun.enterprise.web.VirtualServerMappingValve.invoke(VirtualServerMappingValve.java:166)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:522)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:936)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:165)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:683)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:604)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:542)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:647)
at java.lang.Thread.run(Thread.java:534)
Caused by: org.omg.CORBA.DATA_CONVERSION: vmcid: SUN minor code: 213 completed: No
at com.sun.corba.ee.impl.logging.ORBUtilSystemException.illegalSocketFactoryType(ORBUtilSystemException.java:2362)
at com.sun.corba.ee.impl.logging.ORBUtilSystemException.illegalSocketFactoryType(ORBUtilSystemException.java:2385)
at com.sun.corba.ee.impl.orb.ParserTable$3.operate(ParserTable.java:462)
... 98 more
|#]
[#|2005-03-31T14:12:43.782-0500|SEVERE|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=12;|StandardWrapperValve[Faces Servlet]: Servlet.service() for servlet Faces Servlet threw exception
com.granite.xng.web.application.connection.ApplicationServerConnectionException: com.granite.xng.web.application.locator.EJBLocatorCreateException: com.granite.xng.web.application.locator.EJBLocatorLookupException: xng/ejb/core-services/clientservice
at com.granite.xng.web.application.connection.ApplicationServerConnection.connect(ApplicationServerConnection.java:79)
at com.granite.xng.web.application.connection.ApplicationServerConnectionFilter.doFilter(ApplicationServerConnectionFilter.java:41)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:246)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:268)
at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:218)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:145)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:141)
at com.granite.xng.web.application.locator.ServiceLocatorFilter.doFilter(ServiceLocatorFilter.java:42)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:246)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:268)
at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:218)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:145)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:141)
at com.granite.xng.web.application.identification.IdentificationFilter.doFilter(IdentificationFilter.java:83)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:246)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:268)
at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:218)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:145)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:141)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:109)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:522)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:214)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:168)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:109)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:522)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:144)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:109)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:133)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:539)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
at com.sun.enterprise.webservice.EjbWebServiceValve.invoke(EjbWebServiceValve.java:134)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
at com.sun.enterprise.security.web.SingleSignOn.invoke(SingleSignOn.java:254)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
at com.sun.enterprise.web.VirtualServerValve.invoke(VirtualServerValve.java:209)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:522)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:114)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:109)
at com.sun.enterprise.web.VirtualServerMappingValve.invoke(VirtualServerMappingValve.java:166)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:522)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:936)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:165)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:683)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:604)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:542)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:647)
at java.lang.Thread.run(Thread.java:534)
Caused by: com.granite.xng.web.application.locator.EJBLocatorCreateException: com.granite.xng.web.application.locator.EJBLocatorLookupException: xng/ejb/core-services/clientservice
at com.granite.xng.web.application.locator.EJBLocator.getClientService(EJBLocator.java:70)
at com.granite.xng.web.application.locator.ServiceLocator.getClientService(ServiceLocator.java:28)
at com.granite.xng.web.application.connection.ApplicationServerConnection.connect(ApplicationServerConnection.java:70)
... 77 more
Caused by: com.granite.xng.web.application.locator.EJBLocatorLookupException: xng/ejb/core-services/clientservice
at com.granite.xng.web.application.locator.EJBLocator.ejbHome(EJBLocator.java:280)
at com.granite.xng.web.application.locator.EJBLocator.getClientService(EJBLocator.java:66)
... 79 more
Caused by: org.omg.CORBA.DATA_CONVERSION: vmcid: SUN minor code: 214 completed: No
at com.sun.corba.ee.impl.logging.ORBUtilSystemException.badCustomSocketFactory(ORBUtilSystemException.java:2391) at com.sun.corba.ee.impl.logging.ORBUtilSystemException.badCustomSocketFactory(ORBUtilSystemException.java:2410) at com.sun.corba.ee.impl.orb.ParserTable$3.operate(ParserTable.java:468)
at com.sun.corba.ee.impl.orb.NormalParserAction.apply(NormalParserAction.java:22)
at com.sun.corba.ee.spi.orb.PropertyParser.parse(PropertyParser.java:52)
at com.sun.corba.ee.spi.orb.ParserImplBase.init(ParserImplBase.java:56)
at com.sun.corba.ee.impl.orb.ORBDataParserImpl.<init>(ORBDataParserImpl.java:339)
at com.sun.corba.ee.impl.orb.ORBImpl.pos

Similar Messages

  • Rmi-iiop: calling secured method on Ejb -- NO PERMISSION Exception

    In WL6.1, I have an Ejb with secured methods. The (Swing) client application accesses the Ejb through rmi-iiop using the JDK1.3.1 Orb.
    Unfortunately, it seems that the caller identity (which was supplied in the InitialContext lookup) is not propagated
    to the server: any call to a secured method
    fails with a CORBA NO_PERMISSION Exception.
    Using the t3 protocol the program works fine, but that would require the 25Mb weblogic.jar on all clients, which is unattainable for us.
    Any ideas how this situation can be corrected?
    -Allard Siemelink

    Hi Allard,
    Please pose this in the weblogic.developer.interest.rmi-iiop.
    Thanks,
    Allard Siemelink wrote:
    In WL6.1, I have an Ejb with secured methods. The (Swing) client application accesses the Ejb through rmi-iiop using the JDK1.3.1 Orb.
    Unfortunately, it seems that the caller identity (which was supplied in the InitialContext lookup) is not propagated
    to the server: any call to a secured method
    fails with a CORBA NO_PERMISSION Exception.
    Using the t3 protocol the program works fine, but that would require the 25Mb weblogic.jar on all clients, which is unattainable for us.
    Any ideas how this situation can be corrected?
    -Allard Siemelink--
    Apurb Kumar
    Developer Relations Engineer
    BEA Support

  • Application Server 10.3.1Deployment Question

    Hi All,
    I am fairly new to Oracle Development and Depoyments and need some direction on how to deploy properly.
    Here is my environment - I have 6 Application Servers all configured exactly the same where I will deploy my App. Two load balanced servers for each location
    Server A (West Coast)
    Server B (West Coast)
    Server C (East Coast)
    Server D (East Coast)
    Server E (UK)
    Server F (UK)
    Currently, I have one properties file in my application that holds all my configuration, connection string, so on and so on. This is where my first problem starts
    In my properties files I am having to do this kind of thing
    #A & B
    SQLConnectionString=jdbc:jtds:sqlserver://fcsql01:1433;user=generalread;password=5general6;databasename=general;SelectMethod=Cursor
    SQLDriver=net.sourceforge.jtds.jdbc.Driver
    #C & D
    #SQLConnectionString=jdbc:jtds:sqlserver://DRGNETDB01:1433;user=generalread;password=5general6;databasename=general;SelectMethod=Cursor
    #SQLDriver=net.sourceforge.jtds.jdbc.Driver
    When I deploy to A & B I have to comment out the details for C & D, deploy then change the properties file and then deploy to C & D....
    As you can imagine this gets very annoying trying to keep track of all these details in the same file.
    So after all that, here is my question. Is there a way that I can have seperate files that deploy to a specific server without having to constantly change the flie?
    Also regarding deployment, how can I script my deployment to deploy to all servers without having to individually deploy each?
    Any help would be appreciated, please let me know if there are any details about my app that will help answer this question?
    Thanks

    salsipius,
    Nothing really to do with Oracle at all. Why not use data sources instead of a JDBC url? That way, you can have servers A+B with the datasource pointing to one database and servers A+B pointing to the different one. Your Java code would just get the data source instead of hard-coding a JDBC connection like that.
    John

  • RMI-IIOP Example for Java SE 6

    Hi.
    Can someone provide me an example (link or code) of how to write an RMI-IIOP remote object, bind it to jndi (glassfish) and then call it from within the glassfish application server (I'm calling from an EJB).
    The guide available at http://java.sun.com/javase/6/docs/technotes/guides/rmi-iiop/tutorial.html is unfortunately not helpful because it the code there does not work when binding the remote object in glassfish JNDI (using empty InitialContext constructor) as opposed to the orbd daemon that is described in the guide.
    Am I not allowed to bind RMI-IIOP objects in glassfish application server JNDI, i.e. do I have to use orbd?
    Do you have to generate stubs for the remote objects in Java SE6? The tutorial says to do it but the exception I get on glassfish application server is not from the _<interface-name>Stub.java but rather from <interface-name>_DynamicStub.java.
    Any help is greatly appreciated!

    Are you trying to create an RMI-IIOP server inside an
    Application Server (Glassfish)?I'm not really sure about how it all works but I don't think so. I am exporting my Remote objects (using PortableRemoteObject) from a standalone Java SE client app. Relating this to normal RMI I had assumed that this automatically started an RMI-IIOP server on an anonomous port, although I now see that the javadoc says that the export method only "Makes a server object ready to receive remote calls.", whatever that means. So if calling the export method doesn't start an RMI-IIOP server then I'm guessing I would have to start one, and then yes, if possible, I would like to do it in glassfish and avoid starting up more applications.
    I am guessing I am missing something fundamental here..
    The tutorial uses the JNDI Registry (tnameserv). (and
    it works fine)Is that what is automatically started when glassfish application server is started?
    Have you looked into using a Portable Object Adapter?No, I have not. I want to keep it as simple and close to regular RMI though, so if possible I would like to avoid POA.

  • Downloading file from application server in Binary mode

    Hi,
    I am trying to read an application server file using open dataset in Binary Mode..
    While downloading using gui_download method the file is getting truncated because of its size.
    My questions are,
           How to increase the size of the internal table dynamically. Already tried using STRING type but it is not accepting.
           If I use the CHAR type with maximum length 65535 and if the length of the file is less than that then in the remaining spaces box like symbols are printed .
    How can I achieve it.
    Thanks & Regards,
    NJ

    TYPES: BEGIN OF type_download,
               data1 TYPE zchar20000,
               data2 TYPE zchar20000,
               data3 TYPE char3000,
               data4 TYPE char2000,
             END OF type_download.
      DATA: lt_download TYPE STANDARD TABLE OF type_download,
            lx_download TYPE string,
            lv_filename TYPE string.
    Read data from application server to internal table
      OPEN DATASET p_p_ftappl FOR INPUT IN BINARY MODE.
      IF sy-subrc = 0.
    Read file
        DO.
          CLEAR lx_download.
          READ DATASET p_p_ftappl INTO lx_download.
          IF sy-subrc <> 0.
            EXIT.
          ENDIF.
          APPEND lx_download TO lt_download.
        ENDDO.
    Download data to presentation server from internal table
        lv_filename = p_p_ftfron.
    Download data from application server to PC
        CALL METHOD cl_gui_frontend_services=>gui_download
          EXPORTING
       bin_filesize              =
            filename                  = lv_filename
            filetype                  = c_bin
       append                    = space
          write_field_separator     = space
       header                    = '00'
       trunc_trailing_blanks     = 'X' "space "commented
       trunc_trailing_blanks_eol = 'X' "added
    IMPORTING
       filelength                =
          CHANGING
            data_tab                  = lt_download.
    *Exceptions deleted            .
        IF sy-subrc <> 0.
          MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                     WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
    Close file
        CLOSE DATASET p_p_ftappl.
    Edited by: NewJoinee123 on Mar 25, 2010 8:45 AM

  • How to pull all the txt files from an application server to oracle server

    hi
    i got some 30 txt files on java application server. i have two questions
    1) can java guys will be able to move those files to some oracle directory that will be used by create external table command.
    2) can oracle do that using a stored procedure ..but then for it i think i have to create ftppkg and ftpbdy and call and connect each time...
    which one is better and why?
    regards
    raj

    Hi,
    You can create procedure to move file from application server to oracle server.
    Code for list all files in directory
    ops$tkyte@8i> GRANT JAVAUSERPRIV to ops$tkyte
      2  /
    Grant succeeded.
    That grant must be given to the owner of the procedure..  Allows them to read
    directories.
    ops$tkyte@8i> create global temporary table DIR_LIST
      2  ( filename varchar2(255) )
      3  on commit delete rows
      4  /
    Table created.
    ops$tkyte@8i> create or replace
      2     and compile java source named "DirList"
      3  as
      4  import java.io.*;
      5  import java.sql.*;
      6 
      7  public class DirList
      8  {
      9  public static void getList(String directory)
    10                     throws SQLException
    11  {
    12      File path = new File( directory );
    13      String[] list = path.list();
    14      String element;
    15 
    16      for(int i = 0; i < list.length; i++)
    17      {
    18          element = list;
    19 #sql { INSERT INTO DIR_LIST (FILENAME)
    20 VALUES (:element) };
    21 }
    22 }
    23
    24 }
    25 /
    Java created.
    ops$tkyte@8i>
    ops$tkyte@8i> create or replace
    2 procedure get_dir_list( p_directory in varchar2 )
    3 as language java
    4 name 'DirList.getList( java.lang.String )';
    5 /
    Procedure created.
    ops$tkyte@8i>
    ops$tkyte@8i> exec get_dir_list( '/tmp' );
    PL/SQL procedure successfully completed.
    ops$tkyte@8i> select * from dir_list where rownum < 5;
    FILENAME
    data.dat
    .rpc_door
    .pcmcia
    ps_data
    http://asktom.oracle.com/pls/asktom/f?p=100:11:3597961203953876::::P11_QUESTION_ID:439619916584

  • Again: RMI-IIOP Problem !

    Dear Eduardo,
    this bug doesn't seem to be fixed yet, neither
    with service pack 3 nor 4 !
    Even worse, with service pack 4 Weblogic
    doesn't return from the method call, it simply
    hangs up in some way !
    Any suggestions ?
    Thank you,
    Reinhold Biedermann
    Eduardo Ceballos wrote:
    It's a bug, alright.
    It's fixed in service pack 3, due out in the first week of June, or soI'm told.
    >
    Reinhold Biedermann wrote:
    Hello,
    RMI-IIOP worked fine with Weblogic 5.1
    so far, until I tried the following:
    Assuming the interface Address and the
    value-object AddressValue, the client-side ....
    >public interface Address {
    public void setCity(String city);
    public String getCity();
    public void setStreet(String street);
    public String getStreet();
    public class AddressValue extends Object implements Address,
    Serializable {
    private String city = "";
    private String street = "";
    public AddressValue() { }
    public String getCity() {   return city;  }
    public String getStreet() {   return street;  }
    public void setCity(String city) {    this.city = city;   }
    public void setStreet(String street) {   this.street = street;  }
    >.... RMI-IIOP call of the Stateless Session Bean's
    business method retrieveAddress() results in ....
    >public Address retrieveAddress(String primaryKey) {
    Address address = new AddressValue();
    // filling address with the according values !
    address.setStreet("street of primaryKey");
    address.setCity("city of primaryKey");
    return address;
    >... the error message:
    >java.lang.NullPointerException
    at
    com.sun.corba.se.internal.iiop.CDRInputStream.read_value(CDRInputStream.java:950)
    >>
    at
    in.tum.de.gps.server.process._AddressActivities_Stub.retrieveAddress(Unknown
    Source)
    at in.tum.de.gps.client.TestClient.main(TestClient.java:72)
    >I'm simply getting nothing ! What's the matter ?
    The property "enable-call-by-reference" has already
    been set to 'false' !
    J2EE Server can handle this, is WebLogic using
    a different IIOP than SUN ?
    There are no problem with WebLogic, when
    changing the business method from
    "public Address retrieveAddress(String primaryKey)"
    to
    "public AddressValue retrieveAddress(String primaryKey)"
    , but that's not object-oriented !
    many thanks,
    Reinhold Biedermann

    We (actually, just me, I guess) have our wires crossed...
    You are correct in that you have every reason to expect a signature that returns an interface to support marshaling of any concrete manifestation of that interface.
    The bug fix was re-scheduled from SP3 to 4 and then into the (them imminent) 5.1.1 release... I will investigate what release vehicle it is languishing in and report back to this list.
    The shame of it is that I found and fixed that bug quite a while ago...
    Reinhold Biedermann wrote:
    Dear Eduardo,
    this bug doesn't seem to be fixed yet, neither
    with service pack 3 nor 4 !
    Even worse, with service pack 4 Weblogic
    doesn't return from the method call, it simply
    hangs up in some way !
    Any suggestions ?
    Thank you,
    Reinhold Biedermann
    Eduardo Ceballos wrote:
    It's a bug, alright.
    It's fixed in service pack 3, due out in the first week of June, or soI'm told.
    Reinhold Biedermann wrote:
    Hello,
    RMI-IIOP worked fine with Weblogic 5.1
    so far, until I tried the following:
    Assuming the interface Address and the
    value-object AddressValue, the client-side ....
    >public interface Address {
    public void setCity(String city);
    public String getCity();
    public void setStreet(String street);
    public String getStreet();
    public class AddressValue extends Object implements Address,
    Serializable {
    private String city = "";
    private String street = "";
    public AddressValue() { }
    public String getCity() {   return city;  }
    public String getStreet() {   return street;  }
    public void setCity(String city) {    this.city = city;   }
    public void setStreet(String street) {   this.street = street;  }
    >.... RMI-IIOP call of the Stateless Session Bean's
    business method retrieveAddress() results in ....
    >public Address retrieveAddress(String primaryKey) {
    Address address = new AddressValue();
    // filling address with the according values !
    address.setStreet("street of primaryKey");
    address.setCity("city of primaryKey");
    return address;
    >... the error message:
    >java.lang.NullPointerException
    at
    com.sun.corba.se.internal.iiop.CDRInputStream.read_value(CDRInputStream.java:950)
    at
    in.tum.de.gps.server.process._AddressActivities_Stub.retrieveAddress(Unknown
    Source)
    at in.tum.de.gps.client.TestClient.main(TestClient.java:72)
    >I'm simply getting nothing ! What's the matter ?
    The property "enable-call-by-reference" has already
    been set to 'false' !
    J2EE Server can handle this, is WebLogic using
    a different IIOP than SUN ?
    There are no problem with WebLogic, when
    changing the business method from
    "public Address retrieveAddress(String primaryKey)"
    to
    "public AddressValue retrieveAddress(String primaryKey)"
    , but that's not object-oriented !
    many thanks,
    Reinhold Biedermann

  • RMI/IIOP and WTC

    The web docs talk about modifying RMI/IIOP applications to use WTC.
    Just need a confirmation that RMI/IIOP calls to EJBs in WLS will not be
    transactional. That XA transactions will require the ATMI interface to
    Tuxedo EJBs. (Beta in WLS 6.1)

    Carl,
    I for one would be interested to hear how you are using the Tuxedo/WTC (I
    assume you mean Java ATMI) in your application. We need some feedback here
    in development land so that we can see which things you like about jATMI and
    which things you like less...
    Of course, anyone using jATMI can reply as well...
    John Wells (Aziz)
    [email protected]
    [email protected]
    "Carl Lawstuen" <[email protected]> wrote in message
    news:3bba357d$[email protected]..
    Thanks for the clarification. While we will need to support CORBA style
    access at some time, the Tuxedo/WTC interface fits nicely in our current
    legacy to WLS architecture.
    "Andy Piper" <[email protected]> wrote in message
    news:[email protected]..
    "Carl Lawstuen" <[email protected]> writes:
    Yes, the ATMI interface to WTC should be transactional.
    But I would assume that RMI/IIOP applications that uses WTC for access
    to
    WLS naming service would not be transactional due to limitations in
    the
    RMI/IIOP specification regarding transactions.
    Just looking for confirmation that BEA has not done anything to make
    RMI/IIOP calls into WLS transactional.RMI-IIOP calls over wtc (i.e. RMI-TGIOP) are transactional and
    secure. RMI-IIOP calls over vanilla IIOP are not transactional, but
    can be secure. OTS support is coming in Acadia.
    RMI-IIOP over wtc totally leverages the ATMI support so you get all
    the same features + CORBA-style access. The RMI-IIOP spec is fairly
    irrelevant in this instance since we do not have to to support
    interoperable transactions to support transaction propagation from Tux
    over WTC. That's kind of the whole point - the specs have their rough
    edges when it comes to defining transactions and security over IIOP
    but we give you exactly what you want (transactions and security)
    using the internal tux domains protocol.
    andy

  • Downloading logo in excel sheet from application server

    hi all
    how can i download a logo in excel sheet from the application server(logo is in OAOR tcode) .you can also specify with OOPS concept.
    rewards assured.
    Reagrds
    Swarnali Basu

    hi naresh
    i think there is some miscommunication in case of my question,my requirement is to add a logo in excel sheet from application server,i mean when the user clicks to download the excel sheet the logo should immediately appear in the excel sheet,and it is not a fixed logo it can be anything which appears in applicaton server(on that program).
    as far as excel sheet stanalone is concerned i know to do it and as well as to get the logo  in the application server standalone ,but i cant download the logo in excel sheet from the application server.now does my question make sense ?
    Reagrds
    Swarnali

  • Deploying forms to the Application Server

    We are about to use SCM to store our forms and reports.
    We also run application server AS10g.
    My question is:
    Is it possible to deploy forms through scm to the application server with out using the file system?

    i've done this with :
    f90genm.sh module=myform.fmb userid=username/passwd@tns_connect_string;
    if you know some unix commands you can make a script to compile all fmb's modified in the last DAY/HOUR/MINUTE!!!! i can say that im not a bash expert :)))
    you may take attention that working with Forms IDE under windows will make that specific language CHARS like portuguese G or C or I, or spanish Q, and russian chars for instance... will be showed has ? after compiled in Linux/Unix plataform! For instance BRAGANGA would be wrote as BRAGAN?A!
    Joao Oliveira

  • Adding Application server guide ?

    hello friends,
                  We are having SAP 4.7 x200 ,with MS SQL 2000 .
    Our current production server is acting as both database server
    and application , now due to performance issues we are planning
    to add new application server along with older one ,keeping older as it
    (we want to keep older server as database and application and newer one as only application).
    I am looking for SAP notes in accordance with above landsacpe configuration .
    thanks in advance
    jase

    Hi Jase,
                    In your case, you are installing a new Application server which is called Dialog Instance(DI) server. You better go through the original installation guides only, there it will be explained about Central Instance(CI) and DI installations.
    Regards,
    Hari.

  • SEFAUtil and Trusted Application Server

    Morning,
    I'm trying to determine if it is acceptable / best practice to install Group Call Pickup functionality on a FE server; ie the trusted application server. I have read numerous blogs that say it is not good practice to install the trusted application server
    for group call pickup on one of your Front Ends, but can find no reference to this anywhere from Microsoft.
    I have searched through the entire CHM file for Lync 2013 and can only take away the below references regarding supportability;
    "You can collocate a trusted application server with the Front End Server."
    This says to me its ok, and there's nothing anywhere else in the documentation to suggest otherwise.
    So regarding Group Call Pickup and the installation of a Trusted Application Server, can anyone advise on why I shouldn't install this on an FE?
    Ta.

    Thanks Thamara, I'm just struggling to see why (in a 300 user deployment for example) on a standard edition FE I can't drop the trusted application on that same server, and instead need to provision another server 'just' for group call pickup.
    Why wouldn't I be able to ask MSFT to troubleshoot any issue for me? It states below that it is supported for collocation in an Enterprise deployment
    http://technet.microsoft.com/en-us/library/gg398102.aspx
    and again for standard edition collocation;
    http://technet.microsoft.com/en-us/library/gg398131.aspx
    If someone was to ask me for a technical reason why I shouldn't do this, I can't give them one - that's my problem. If there was an element of risk, wouldn't MSFT state so much like they do with collocation of Backend databases with other databases - ie
    supported but not recommended?

  • Is Oracle10g Application Server EE5 compliant?

    Is Oracle 10g Application server EE5 compliant?

    Jap:
    Yes, as Avi said, oc4j standalone does not include a jdk. In contrast, the oracle application server of various versions I installed include a jdk; although it is probably true for all types of oracle application server installation, I prefer not to swear it. I Just in case it is not very obvious to you, oc4j and oracle Application Server are not the same thing. The reason why I did not suggest you that you should go to the forum "application server -general" for your question is that the compatibilities of application server to j2se or j2ee versions are largely determined by the case with oc4j.
    For more information on certification matrix of oracle application server, google "site:oracle.com application server certification".
    By the way, it seems that 10.1.2.0.2 of oc4j standalone are compatible with jdk 1.5 as mentioned by Avi. However, I do not konw if it is supported.

  • How write rmi-iiop over ssl with weblogic server 6.1 - No server found

    //New
    Hello,
    I have written an appication like this:
    - An EJB server running on Weblogic server 6.1
    (named: BankServerHome)
    -A java client calling the BankServer.
    Platform: windows 2000 - jdk1.3
    Now I want to secure the communication with SSL protocol.
    I have done this:
    -generate a key peer with weblogic service named certificate.
    -send the CSR to a CA and place the answer into the weblogic
    server certificate directory.
    -update path for ServerCertificateChainFileName,
    ServerCertificateFileName, ServerKeyFileName into config.xml.
    -launch weblogicServer
         -> server certificate is recognized
         -> listening port 7001 and 7002.
    (-stop weblogicServer!)
    At now, all is all right, errors come hereafter:
    Then I follow the guideline "Programming weblogic Security" (version of 30/07/2001).
    "To use RMI over IIOP over SSL with a Java client, do the following:
    2. Extend the java.rmi.server.RMISocketFactory class to handle SSL socket
    connections. Be sure to specify the port on which WebLogic Server listens for
    SSL connections. For an example of a class that extends the
    java.rmi.server.RMISocketFactory class, see Listing 4-22.
    3. Run the ejbc compiler with the -d option.
    4. Add your extension of the java.rmi.server.RMISocketFactory class to the
    CLASSPATH of the Java client.
    5. Use the following command options when starting the Java client:
    -xbootclasspath/a:%CLASSPATH%
    -Dorg.omg.CORBA.ORBSocketFactoryClass=implementation of java.rmi.server.RMISocketFactory
    -Dssl.certs=directory location of digital certificate for Java client
    -Dssl.key=directory location of private key for Java client"
    At step 3. I found into documentation that -d is linked to a directory name.
    When I run ejbc with this option -d I have the message:
    "ERROR: You must specify an output directory or jar with the -d option to weblogic.ejbc."
    % So what option can I use to run ejbc for secure usage?
    At step 5. Whatever I write for -Dorg.omg.CORBA.ORBSocketFactoryClass,
    this pointed class is not instanciated.
    Then I can not create a socket with my client.
    The folowing exception is raised:
    javax.naming.CommunicationException [Root exception is java.net.ConnectException:
    No server found at T3S://localhost:7002]
    So, my questions are:
    % Why -Dorg.omg.CORBA.ORBSocketFactoryClass must be known by the client and not
    the server?
    My java client part, managing connection is:
    -------------------BEGIN OF CONNECTION MANAGER-------------------
    Properties env = new Properties ();
    // Shouldn't have to do this, but for now you must
    if ( factory.equals ("weblogic.jndi.WLInitialContextFactory") ) {
    env.put ("java.naming.provider.url", "t3s://localhost:7002");
    InitialContext context = new InitialContext (env);
    BankSessionServerHome bssh = (BankServerHome) context.lookup("BankServerHome");
    BankServer = bssh.create();
    -------------------END OF CONNECTION MANAGER-------------------
    I have also try
    env.put ("java.naming.provider.url", "corbaloc:iiop://localhost:7002");
    but it throws the following error
    javax.naming.InvalidNameException: url does not conatin !!!
    % What is the code for the java client allowing connection with the ejb?
    % And better, can I have a sample example for rmi-iiop over ssl?
    (...wlserver6.1\samples\examples\iiop\ejb\stateless\rmiclient\client.java do not
    speak ssl!)
    Any help will be appreciate from you...
    Best Regards.
    Oliver

    "oliver" <[email protected]> writes:
    The SSL support is poorly doc'd right now. We have fixed this and
    updated the way you do things in SP2. Please either wait for SP2 or
    contact support.
    andy
    I have written an appication like this:
    - An EJB server running on Weblogic server 6.1
    (named: BankServerHome)
    -A java client calling the BankServer.
    Platform: windows 2000 - jdk1.3
    Now I want to secure the communication with SSL protocol.
    I have done this:
    -generate a key peer with weblogic service named certificate.
    -send the CSR to a CA and place the answer into the weblogic
    server certificate directory.
    -update path for ServerCertificateChainFileName,
    ServerCertificateFileName, ServerKeyFileName into config.xml.
    -launch weblogicServer
         -> server certificate is recognized
         -> listening port 7001 and 7002.
    (-stop weblogicServer!)
    At now, all is all right, errors come hereafter:
    Then I follow the guideline "Programming weblogic Security" (version of 30/07/2001).
    "To use RMI over IIOP over SSL with a Java client, do the following:
    2. Extend the java.rmi.server.RMISocketFactory class to handle SSL socket
    connections. Be sure to specify the port on which WebLogic Server listens for
    SSL connections. For an example of a class that extends the
    java.rmi.server.RMISocketFactory class, see Listing 4-22.
    3. Run the ejbc compiler with the -d option.
    4. Add your extension of the java.rmi.server.RMISocketFactory class to the
    CLASSPATH of the Java client.
    5. Use the following command options when starting the Java client:
    -xbootclasspath/a:%CLASSPATH%
    -Dorg.omg.CORBA.ORBSocketFactoryClass=implementation of java.rmi.server.RMISocketFactory
    -Dssl.certs=directory location of digital certificate for Java client
    -Dssl.key=directory location of private key for Java client"
    At step 3. I found into documentation that -d is linked to a directory name.
    When I run ejbc with this option -d I have the message:
    "ERROR: You must specify an output directory or jar with the -d option to weblogic.ejbc."
    % So what option can I use to run ejbc for secure usage?
    At step 5. Whatever I write for -Dorg.omg.CORBA.ORBSocketFactoryClass,
    this pointed class is not instanciated.
    Then I can not create a socket with my client.
    The folowing exception is raised:
    javax.naming.CommunicationException [Root exception is java.net.ConnectException:
    No server found at T3S://localhost:7002]
    So, my questions are:
    % Why -Dorg.omg.CORBA.ORBSocketFactoryClass must be known by the client and not
    the server?
    My java client part, managing connection is:
    -------------------BEGIN OF CONNECTION MANAGER-------------------
    Properties env = new Properties ();
    // Shouldn't have to do this, but for now you must
    if ( factory.equals ("weblogic.jndi.WLInitialContextFactory") ) {
    env.put ("java.naming.provider.url", "t3s://localhost:7002");
    InitialContext context = new InitialContext (env);
    BankSessionServerHome bssh = (BankServerHome) context.lookup("BankServerHome");
    BankServer = bssh.create();
    -------------------END OF CONNECTION MANAGER-------------------
    I have also try
    env.put ("java.naming.provider.url", "corbaloc:iiop://localhost:7002");
    but it throws the following error
    javax.naming.InvalidNameException: url does not conatin !!!
    % What is the code for the java client allowing connection with the ejb?
    % And better, can I have a sample example for rmi-iiop over ssl?
    (...wlserver6.1\samples\examples\iiop\ejb\stateless\rmiclient\client.java do not
    speak ssl!)
    Any help will be appreciate from you...
    Best Regards.
    Oliver

  • How write rmi-iiop over ssl with weblogic server 6.1?

    Hello,
    I have written an appication like this:
    - An EJB server running on Weblogic server 6.1
    (named: BankServerHome)
    -A java client calling the BankServer.
    Platform: windows 2000 - jdk1.4
    Now I want to secure the communication with SSL protocol.
    I have done this:
    -generate a key peer with weblogic service named certificate.
    -send the CSR to a CA and place the answer into the weblogic
    server certificate directory.
    -update path for ServerCertificateChainFileName,
    ServerCertificateFileName, ServerKeyFileName into config.xml.
    -launch weblogicServer
         -> server certificate is recognized
         -> listening port 7001 and 7002.
    (-stop weblogicServer!)
    At now, all is all right, errors come hereafter:
    Then I follow the guideline "Programming weblogic Security" (version of 30/07/2001).
    "To use RMI over IIOP over SSL with a Java client, do the following:
    2. Extend the java.rmi.server.RMISocketFactory class to handle SSL socket
    connections. Be sure to specify the port on which WebLogic Server listens for
    SSL connections. For an example of a class that extends the
    java.rmi.server.RMISocketFactory class, see Listing 4-22.
    3. Run the ejbc compiler with the -d option.
    4. Add your extension of the java.rmi.server.RMISocketFactory class to the
    CLASSPATH of the Java client.
    5. Use the following command options when starting the Java client:
    -xbootclasspath/a:%CLASSPATH%
    -Dorg.omg.CORBA.ORBSocketFactoryClass=implementation of java.rmi.server.RMISocketFactory
    -Dssl.certs=directory location of digital certificate for Java client
    -Dssl.key=directory location of private key for Java client"
    At step 3. I found into documentation that -d is linked to a directory name.
    When I run ejbc with this option -d I have the message:
    "ERROR: You must specify an output directory or jar with the -d option to weblogic.ejbc."
    % So what option can I use to run ejbc for secure usage?
    At step 5. Whatever I write for -Dorg.omg.CORBA.ORBSocketFactoryClass,
    this pointed class is not instanciated.
    Then I can not create a socket with my client.
    The folowing exception is raised:
    javax.naming.CommunicationException [Root exception is java.net.ConnectException:
    No server found at T3S://localhost:7002]
    So, my questions are:
    % Why -Dorg.omg.CORBA.ORBSocketFactoryClass must be known by the client and not
    the server?
    My java client part, managing connection is:
    -------------------BEGIN OF CONNECTION MANAGER-------------------
    Properties env = new Properties ();
    // Shouldn't have to do this, but for now you must
    if ( factory.equals ("weblogic.jndi.WLInitialContextFactory") ) {
    env.put ("java.naming.provider.url", "t3s://localhost:7002");
    } else {
    env.put ("java.naming.provider.url", "rmi://localhost:7002");
    InitialContext context = new InitialContext (env);
    BankSessionServerHome bssh = (BankServerHome) context.lookup("BankServerHome");
    BankServer = bssh.create();
    -------------------END OF CONNECTION MANAGER-------------------
    % What is the code for the java client allowing connection with the ejb?
    % And better, can I have a sample example for rmi-iiop over ssl?
    (...wlserver6.1\samples\examples\iiop\ejb\stateless\rmiclient\client.java do not
    speak ssl!)
    Any help will be appreciate from you...
    Best Regards.
    Oliver

    "oliver" <[email protected]> writes:
    First off 1.4 isn't supported as yet. That is probably part of the problem.
    You also must use a corba URL from the client in order for this to work for instance:
    If you are using WLInitialContextFactory:
    corbaloc:iiop:localhost:7001/NameService
    If you are using CNCtxFactory:
    iiop://localhost:7001
    Using rmi: is the wrong thing to do - that will use jrmp or t3.
    However, I suggest that you raise a call with support since there is
    some other trickiness with getting SSL working. We hope to have this
    much improved in SP2.
    andy
    Hello,
    I have written an appication like this:
    - An EJB server running on Weblogic server 6.1
    (named: BankServerHome)
    -A java client calling the BankServer.
    Platform: windows 2000 - jdk1.4
    Now I want to secure the communication with SSL protocol.
    I have done this:
    -generate a key peer with weblogic service named certificate.
    -send the CSR to a CA and place the answer into the weblogic
    server certificate directory.
    -update path for ServerCertificateChainFileName,
    ServerCertificateFileName, ServerKeyFileName into config.xml.
    -launch weblogicServer
         -> server certificate is recognized
         -> listening port 7001 and 7002.
    (-stop weblogicServer!)
    At now, all is all right, errors come hereafter:
    Then I follow the guideline "Programming weblogic Security" (version of 30/07/2001).
    "To use RMI over IIOP over SSL with a Java client, do the following:
    2. Extend the java.rmi.server.RMISocketFactory class to handle SSL socket
    connections. Be sure to specify the port on which WebLogic Server listens for
    SSL connections. For an example of a class that extends the
    java.rmi.server.RMISocketFactory class, see Listing 4-22.
    3. Run the ejbc compiler with the -d option.
    4. Add your extension of the java.rmi.server.RMISocketFactory class to the
    CLASSPATH of the Java client.
    5. Use the following command options when starting the Java client:
    -xbootclasspath/a:%CLASSPATH%
    -Dorg.omg.CORBA.ORBSocketFactoryClass=implementation of java.rmi.server.RMISocketFactory
    -Dssl.certs=directory location of digital certificate for Java client
    -Dssl.key=directory location of private key for Java client"
    At step 3. I found into documentation that -d is linked to a directory name.
    When I run ejbc with this option -d I have the message:
    "ERROR: You must specify an output directory or jar with the -d option to weblogic.ejbc."
    % So what option can I use to run ejbc for secure usage?
    At step 5. Whatever I write for -Dorg.omg.CORBA.ORBSocketFactoryClass,
    this pointed class is not instanciated.
    Then I can not create a socket with my client.
    The folowing exception is raised:
    javax.naming.CommunicationException [Root exception is java.net.ConnectException:
    No server found at T3S://localhost:7002]
    So, my questions are:
    % Why -Dorg.omg.CORBA.ORBSocketFactoryClass must be known by the client and not
    the server?
    My java client part, managing connection is:
    -------------------BEGIN OF CONNECTION MANAGER-------------------
    Properties env = new Properties ();
    // Shouldn't have to do this, but for now you must
    if ( factory.equals ("weblogic.jndi.WLInitialContextFactory") ) {
    env.put ("java.naming.provider.url", "t3s://localhost:7002");
    } else {
    env.put ("java.naming.provider.url", "rmi://localhost:7002");
    InitialContext context = new InitialContext (env);
    BankSessionServerHome bssh = (BankServerHome) context.lookup("BankServerHome");
    BankServer = bssh.create();
    -------------------END OF CONNECTION MANAGER-------------------
    % What is the code for the java client allowing connection with the ejb?
    % And better, can I have a sample example for rmi-iiop over ssl?
    (...wlserver6.1\samples\examples\iiop\ejb\stateless\rmiclient\client.java do not
    speak ssl!)
    Any help will be appreciate from you...
    Best Regards.
    Oliver

Maybe you are looking for

  • Deploying Java Web Application (WAR-File) into a cluster environment

    Hi, we have a web application which has to read from and write to the file system. Since a short time we have a cluster environment (2 parallel servers) and since thisa time we have the problem, that files are worked double in the cluster. The applic

  • Adobe Document Services Licensing or not.

    Hi Expert, I have small doubt. Adobe Document Services Licensing or not. How to configure ADS. I have insttaled Adobe LiveCycle Designer in my local PC. I have created designed form through TCode:- SFP. But I have run the application Device type unsu

  • Error when compiling bean in Jdeveloper

    Hi , I downloaded a bean who read data from excel file and put it in database, to implements in forms. when the bean try to read number from xls, it's stops with message indicating mismatch in type. i read source of the bean, i find that method used

  • New SCCM clients don't communicate with SCCM servers

    Hi, I've got an infrastructure of 4 SCCM 2012 R2 servers, 1 Primary in US, 3 secondary in Europe, Asia and US again. As I discovered, European clients visible in SCCM console as "active" in Client Activity are discussing with the SCCM. All inactives

  • Missing records of all calls in detailed usage for 11 days straight, from 4 months ago!!

    I can see all detailed usage on both phones on my account, except there is absolutely no record of any calls, in or out on my phone from 10/29/12 - 11/10/12. It is very strange. My billing cycle ends on the 10th. I viewed and downloaded details from