Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.

"Failed to find generated POATie class" when narrowing to DataManager

Avatar

Former Community Member
Dear all, I'm developing some custom stuff starting from Adobe samples but got really stuck with a number of problems.



Passed the one mentioned in c4837.pdf, when I try to



DataManager dataManager = DataManagerHelper.narrow(

(org.omg.CORBA.Object)connectionFactory.getConnection()

)



now I get the following exception (both in my code and using the unmodified samples from Adobe):



java.lang.IllegalStateException: Failed to find generated POATie class. Make sure that right idlj options are used. at com.adobe.CORBA.ServantBasePeerImpl.getTie(ServantBasePeerImpl.java:181) at com.adobe.CORBA.ServantBasePeerImpl.activate(ServantBasePeerImpl.java:99) at com.adobe.CORBA.ServantBase.activateWithOwner(ServantBase.java:57) at com.adobe.service.ResourcePeer.connect(ResourcePeer.java:87) at com.adobe.service.Resource.connect(Resource.java:80) at com.adobe.service.DataManagerImpl.(DataManagerImpl.java:65) at com.adobe.service.DataManagerManagedConnection.allocateConnection(DataManagerManagedConnection.java:34) at com.adobe.service.ConnectionResource.getConnection(ConnectionResource.java:39) at com.adobe.service.J2EEConnectionFactoryManagerPeerImpl.getConnection(J2EEConnectionFactoryManagerPeerImpl.java:108) at com.adobe.livecycle.samples.forms.Ubi_cfor_01.renderX.uc_enable_pdf(renderX.java:205) at com.adobe.livecycle.samples.forms.Ubi_cfor_01.renderX.doGet(renderX.java:368)



NY
BADLY NEEDED HELP???
1 Reply

Avatar

Former Community Member
I add some log lines that appear just a bit before the ones already posted, maybe they indicate the root cause for this:



09:37:38,193 INFO [STDOUT] Problem with system rootjavax.naming.NameNotFoundException: com.adobe.idp.config.PreferencesSPIHome not bound

09:37:38,194 INFO [STDOUT] javax.naming.NameNotFoundException: com.adobe.idp.config.PreferencesSPIHome not bound

09:37:38,195 INFO [STDOUT] at org.jnp.server.NamingServer.getBinding(NamingServer.java:495)

09:37:38,195 INFO [STDOUT] at org.jnp.server.NamingServer.getBinding(NamingServer.java:503)

09:37:38,196 INFO [STDOUT] at org.jnp.server.NamingServer.getObject(NamingServer.java:509)

09:37:38,196 INFO [STDOUT] at org.jnp.server.NamingServer.lookup(NamingServer.java:282)

09:37:38,196 INFO [STDOUT] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:530)

09:37:38,197 INFO [STDOUT] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:509)

09:37:38,197 INFO [STDOUT] at javax.naming.InitialContext.lookup(InitialContext.java:351)

09:37:38,197 INFO [STDOUT] at com.adobe.idp.config.EJBUtil.getPreferencesSPIHome(EJBUtil.java:140)

09:37:38,198 INFO [STDOUT] at com.adobe.idp.config.AdobePreferenceFactory.systemRoot(AdobePreferenceFactory.java:120)

09:37:38,198 INFO [STDOUT] at com.adobe.formServer.mbean.FormServerConfigImpl.dbInitPreferences(FormServerConfigImpl.java:555)

09:37:38,198 INFO [STDOUT] at com.adobe.formServer.mbean.FormServerConfigImpl.dbGetProperties(FormServerConfigImpl.java:571)

09:37:38,199 INFO [STDOUT] at com.adobe.formServer.mbean.FormServerConfigImpl.getOptionsString(FormServerConfigImpl.java:476)

09:37:38,199 INFO [STDOUT] at com.adobe.formServer.mbean.FormServerConfigPOATie.getOptionsString(FormServerConfigPOATie.java:199)

09:37:38,200 INFO [STDOUT] at com.adobe.formServer.mbean.FormServerConfigPOA._invoke(FormServerConfigPOA.java:344)

09:37:38,200 INFO [STDOUT] at org.jacorb.poa.RequestProcessor.invokeOperation(Unknown Source)

09:37:38,200 INFO [STDOUT] at org.jacorb.poa.RequestProcessor.process(Unknown Source)

09:37:38,201 INFO [STDOUT] at org.jacorb.poa.RequestProcessor.run(Unknown Source)