My Oracle Support Banner

When Testing the Connections for Eventing from P6 the Error "Can Not Connect to Server" Occurs (Doc ID 2329851.1)

Last updated on AUGUST 09, 2018

Applies to:

Primavera Web Services - Version 17.7 and later
Information in this document applies to any platform.


When attempting to run the Test Connection for Event Notification in P6, the following errors occur.

P6 Web:
Can not connect to server.

ERROR ?:? ?Directory Services is incorrectly configured. Retrying in a minute...
javax.naming.NameNotFoundException: Unable to resolve 'jms.JMSQueue'. Resolved 'jms'; remaining name 'JMSQueue'
  at weblogic.utils.StackTraceDisabled.unknownMethod()

ERROR ?:? ?Directory Services is incorrectly configured. Retrying in a minute...
javax.naming.CommunicationException: Failed to initialize JNDI context, tried 2 time or times totally, the interval of each time is 0ms.
  no protocol: localhost:7001 [Root exception is no protocol: localhost:7001]
  at weblogic.jndi.WLInitialContextFactoryDelegate.throwRetryException(
  at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(
  at weblogic.jndi.Environment.getContext(
  at weblogic.jndi.Environment.getContext(
  at weblogic.jndi.WLInitialContextFactory.getInitialContext(
  at javax.naming.spi.NamingManager.getInitialContext(
  at javax.naming.InitialContext.getDefaultInitCtx(
  at javax.naming.InitialContext.init(
  at javax.naming.InitialContext.(
  at org.springframework.jndi.JndiTemplate.createInitialContext(
  at org.springframework.jndi.JndiTemplate.getContext(
  at org.springframework.jndi.JndiTemplate.execute(
  at org.springframework.jndi.JndiTemplate.lookup(
  at Source)
  at Source)
  at$ConnectionChecker$ Source)
  at java.util.TimerThread.mainLoop(
  Caused by: no protocol: localhost:7001
  at weblogic.protocol.ServerURL.parseURL(
  at weblogic.protocol.ServerURL.(
  at weblogic.rjvm.ClientServerURL.(
  at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(
  ... 16 more

The issue can be reproduced at will with the following steps:
1. Create the JMS Connection Factory and JMS Queue in Weblogic
2. In P6 Web under the Administration tab configure the Event Notification settings.
3. Enter the JNDI name for the Connection Factory and the Queue
4. Run the Test Connection for either the Directory Services or for Eventing.




To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.