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
Conferences Close Tree View
+ Stylus Studio Feature Requests (1192)
- Stylus Studio Technical Forum (14621)
-> + X16 - XPath 3.0, XQuery 3.0, X... (2)
-> - Test (1)
-> + XSLT debugger shows [symbol u... (3)
-> - How do i use *.conv to process... (1)
-> - How do i use *.conv to process... (1)
-> + Not able to configure JVM in ... (5)
-> + Converting Cobol flat file to ... (2)
-> + Problem with uninstall - Windo... (2)
-> + Function current() is not reco... (6)
-> + API or web version (2)
-> + How to use Saxon for X16 on WI... (9)
-> + Error in SS X14 syntax highlig... (2)
-> + Option not available (2)
-> + XML Diff functionality and sor... (3)
-> + Convert Oagis XML file to TXT (4)
-> + DataDirect xqresultsequence is... (2)
-> - xfile Legacy file format suppo... (1)
-> + TPFDF (3)
-> + Help needed with SLSRPT - EDIF... (2)
-> - keeps crashing after I try and... (1)
-- Previous [61-80] [81-100] [101-120] Next
+ Website Feedback (249)
+ XSLT Help and Discussion (7625)
+ XQuery Help and Discussion (2017)
+ Stylus Studio FAQs (159)
+ Stylus Studio Code Samples & Utilities (364)
+ Stylus Studio Announcements (113)
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

   
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.