Hello,
I downloaded and installed AEM 6.0 on a Windows 2012 Server and we are having trouble with one of the application when invoking a process through a java(API) call to the ejb:1099. It keeps failing with the error below:
One of the thing I have noticed on the server is port 1099 is not being used or listened. I used the TCPView to validate what ports java is using and none of them is using port 1098 or 1099 as previous versions (9, 10 and 11).
I have spent a few days trying to troubleshoot it but no luck. Here the steps I have tried.
1: Added <socket binding? for jnp to port 1099
2: changed the api to call port 4447
Any help is appreciated.
Getting this error when running thru the Java Wrapper
ALC-DSC-031-000: com.adobe.idp.dsc.net.DSCNamingException: Remote EJBObject look
up failed for ejb/Invocation provider
at com.adobe.idp.dsc.provider.impl.ejb.EjbMessageDispatcher.initialise(E
jbMessageDispatcher.java:101)
at com.adobe.idp.dsc.provider.impl.ejb.EjbMessageDispatcher.doSend(EjbMe
ssageDispatcher.java:141)
at com.adobe.idp.dsc.provider.impl.base.AbstractMessageDispatcher.send(A
bstractMessageDispatcher.java:66)
at com.adobe.idp.dsc.clientsdk.ServiceClient.invoke(ServiceClient.java:2
08)
at com.cityofedmonton.adobelivecycleinterface.Services.ShortLivedProcess
InvocationService.Invoke(Unknown Source)
at com.cityofedmonton.adobelivecycleinterface.InvocationManager.InvokeBa
tchPrintPSProcess(Unknown Source)
at com.cityofedmonton.adobelivecycleinterface.AdobeLiveCycleInterfaceMai
n.Run(Unknown Source)
at com.cityofedmonton.adobelivecycleinterface.AdobeLiveCycleInterfaceMai
n.main(Unknown Source)
Caused by: javax.naming.CommunicationException: Could not obtain connection to a
ny of these urls: server:1099 and discovery failed with error: javax.nami
ng.CommunicationException: Receive timed out [Root exception is java.net.SocketT
imeoutException: Receive timed out] [Root exception is javax.naming.Communicatio
nException: Failed to connect to server:1099 [Root exception is ja
vax.naming.ServiceUnavailableException: Failed to connect to server:1099 [Root exception is java.net.ConnectException: Connection refused: connect
]]]
at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1416)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:596)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:589)
at javax.naming.InitialContext.lookup(Unknown Source)
at com.adobe.idp.dsc.provider.impl.ejb.EjbMessageDispatcher.initialise(E
jbMessageDispatcher.java:92)
... 7 more
Caused by: javax.naming.CommunicationException: Failed to connect to server:1099 [Root exception is javax.naming.ServiceUnavailableException: Fail
ed to connect to server :1099 [Root exception is java.net.ConnectEx
ception: Connection refused: connect]]
at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:269)
at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1387)
... 11 more
Caused by: javax.naming.ServiceUnavailableException: Failed to connect to server
server:1099 [Root exception is java.net.ConnectException: Connection ref
used: connect]
at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:243)
... 12 more
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory
.java:84)
at org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory
.java:77)
at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:239)
... 12 more