XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
Todd NistSubject: Sonic Stylus DBtoXML Connection - Progress DB
Author: Todd Nist
Date: 29 Mar 2004 11:04 AM
I am evaluating the Stylus product and have a requirement to connect to a Progress 9.1D database. I am trying to use a Database type of "Datadirect SequeLink" and the following url:

//10.62.119.73:2500;databaseName=mydb

When I attempt to connect I get the following exception:

java.sql.SQLException: [StylusStudio][SequeLink JDBC Driver]Internal network error, session aborted due to session protocol data unit format error, connection closed.; at ZC.jdbc.jxtr.JXTRDriverConfig.translateSQLException(Unknown Source); at ZC.jdbc.jxtr.JXTRDriverConfig.createSQLException(Unknown Source); at ZC.jdbc.jxtr.JXTRDriver.connect(Unknown Source); at java.sql.DriverManager.getConnection(DriverManager.java:512); at java.sql.DriverManager.getConnection(DriverManager.java:171); at com.stylusstudio.DataDirectStub.connect(DataDirectStub.java:81); at com.stylusstudio.DataDirectStub.generateDatabaseMetaData(DataDirectStub.java:98); at com.stylusstudio.SQLXFile.generateDatabaseMetaData(SQLXFile.java:259);

Now I am able to connect just fine to it from a small Java application if I use the jdbc drivers from Progress, which are developed by DataDirect. So I know I have the appropriate brokers running on the Progress side.

My environment is as follows:

Client: WIN2K SP3
Stylus Studio: 5.1, build 173h
JDK 1.4.2_02

Server: Linux RH EA 2.X
Progress 9.1D SP6

Thanks in advance,

Todd

Postnext
Ivan PedruzziSubject: RE: Sonic Stylus DBtoXML Connection - Progress DB
Author: Ivan Pedruzzi
Date: 29 Mar 2004 11:19 AM


> -----Original Message-----
> From: stylus-studio-tech Listmanager [mailto:listmanager@edn.exln.com]
> Sent: Monday, March 29, 2004 11:32 AM
> To: Recipients of 'stylus-studio-tech' suppressed
> Subject: Sonic Stylus DBtoXML Connection - Progress DB
>
> From: "Todd Nist"
>
> I am evaluating the Stylus product and have a requirement to connect to a Progress 9.1D database. I
> am trying to use a Database type of "Datadirect SequeLink" and the following url:

Did you install SequeLink Server as described in the release notes?
"c:\Program Files\SonicSoftware\Stylus Studio\doc\relnotes.htm"



Here are the steps to connect to a Progress database

1) Download and install SL
http://download.sonicsoftware.com/stylusstudio/datadirect/sequelinkserver5.4.exe

2) Create an ODBC system data source using the Progress driver.
Named it
progress

3) Open the SL snap-in (SequeLink 5.4 Manager Snapin)
Login and drill down to DataSourceSOCODBCConnStr property
and set the value to
DSN=progress

5) Open Stylus and create new "DB to XML Data Source"

6) When the scenario pops up select Sequelink as "Database type" then type user and password
(the same from ODBC connection)

7) After clicking OK you should get the database schema.

Hope this helps
Ivan


>
> //10.62.119.73:2500;databaseName=mydb
>
> When I attempt to connect I get the following exception:
>
> java.sql.SQLException: [StylusStudio][SequeLink JDBC Driver]Internal network error, session aborted
> due to session protocol data unit format error, connection closed.; at
> ZC.jdbc.jxtr.JXTRDriverConfig.translateSQLException(Unknown Source); at
> ZC.jdbc.jxtr.JXTRDriverConfig.createSQLException(Unknown Source); at
> ZC.jdbc.jxtr.JXTRDriver.connect(Unknown Source); at
> java.sql.DriverManager.getConnection(DriverManager.java:512); at
> java.sql.DriverManager.getConnection(DriverManager.java:171); at
> com.stylusstudio.DataDirectStub.connect(DataDirectStub.java:81); at
> com.stylusstudio.DataDirectStub.generateDatabaseMetaData(DataDirectStub.java:98); at
> com.stylusstudio.SQLXFile.generateDatabaseMetaData(SQLXFile.java:259);
>
> Now I am able to connect just fine to it from a small Java application if I use the jdbc drivers from
> Progress, which are developed by DataDirect. So I know I have the appropriate brokers running on the
> Progress side.
>
> My environment is as follows:
>
> Client: WIN2K SP3
> Stylus Studio: 5.1, build 173h
> JDK 1.4.2_02
>
> Server: Linux RH EA 2.X
> Progress 9.1D SP6
>
> Thanks in advance,
>
> Todd
>
>
>
> To reply: mailto:stylus-studio-tech.7269@edn.exln.com
> To start a new topic: mailto:stylus-studio-tech@edn.exln.com
> To login: http://edn.exln.com/~SSDN

Posttop
Todd NistSubject: RE: Sonic Stylus DBtoXML Connection - Progress DB
Author: Todd Nist
Date: 29 Mar 2004 02:15 PM
Ivan,

Thanks for the info. That was the problem, I had not started the SequeLink Service. Configured as you suggested and it worked on the first try.

Thanks again.

Todd

 
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.