Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

why opening from java the rpt search for a JNDI when it's setup for a DNS ?

I downloaded CR for eclipse 2.

All is 'quite' working froma a java app.

i've only a problem with an 'jndi name search error'. I'll try to explain.

In the RPT i use a DSN connection to a sql server into a differente machine. When I open directly the rpt, all is working.

From java code, i'll open the report, but when i try to export to pdf iit tell me about an error 'jndi name search error', with the name of the DSN connection i setup.

Why? Why opening rpt all is working, but opening from code NOT is working ?

What's the difference from two opening methods? Why an .rpt opened from java cannot just open the connection like when opened from cristal report !?

*My question is: why opening from java the rpt search for a JNDI when it's setup for a DNS connection ?! *

Former Member

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question