Quantcast
Channel: SCN : Popular Discussions - SAP Crystal Reports, version for Eclipse
Viewing all articles
Browse latest Browse all 893

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

$
0
0

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 ?! *


Viewing all articles
Browse latest Browse all 893

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>