Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

com.sybase.jdbc2.timedio.RawDbio.setUpSocket problem

2 posts in General Discussion Last posting was on 2011-01-20 18:37:04.0Z
chakry Posted on 2011-01-20 07:25:04.0Z
From: "chakry" <chakry.alva@yahoo.in>
Newsgroups: sybase.public.ase.general
Organization: 203.187.254.147
X-Newsreader: AspNNTP 1.50 (JodoHost)
Subject: com.sybase.jdbc2.timedio.RawDbio.setUpSocket problem
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <4d37e350$1@forums-1-dub>
Date: 19 Jan 2011 23:25:04 -0800
X-Trace: forums-1-dub 1295508304 10.22.241.152 (19 Jan 2011 23:25:04 -0800)
X-Original-Trace: 19 Jan 2011 23:25:04 -0800, vip152.sybase.com
Lines: 88
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.ase.general:29882
Article PK: 79110

at com.nxsol.hospital.command.GenerateALISXmlFileCommand.generateALISXML
(GenerateALISXmlFileCommand.java:385)
at com.nxsol.hospital.command.SchedulerALIS.Scheduler(SchedulerALIS.java
:1076)
at com.nxsol.hospital.command.AlarmClock$1.soundAlarm(AlarmClock.java:50
)
at com.nxsol.hospital.command.AlarmClock$1.run(AlarmClock.java:34)
at org.tiling.scheduling.Scheduler$SchedulerTimerTask.run(Unknown Source
)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
Exception in thread "Timer-0" java.lang.NullPointerException
at com.sybase.jdbc2.timedio.RawDbio.setUpSocket(RawDbio.java:111)
at com.sybase.jdbc2.timedio.RawDbio.doConnect(RawDbio.java:103)
at com.sybase.jdbc2.timedio.InStreamMgr.<init>(InStreamMgr.java:94)
at com.sybase.jdbc2.tds.Tds.login(Tds.java:307)
at com.sybase.jdbc2.jdbc.SybConnection.tryLogin(SybConnection.java:213)
at com.sybase.jdbc2.jdbc.SybConnection.regularConnect(SybConnection.java
:193)
at com.sybase.jdbc2.jdbc.SybConnection.<init>(SybConnection.java:172)
at com.sybase.jdbc2.jdbc.SybConnection.<init>(SybConnection.java:124)
at com.sybase.jdbc2.jdbc.SybDriver.connect(SybDriver.java:181)
at java.sql.DriverManager.getConnection(DriverManager.java:582)
at java.sql.DriverManager.getConnection(DriverManager.java:154)
at org.springframework.jdbc.datasource.DriverManagerDataSource.getConnec
tionFromDriverManager(DriverManagerDataSource.java:283)
at org.springframework.jdbc.datasource.DriverManagerDataSource.getConnec
tionFromDriverManager(DriverManagerDataSource.java:271)
at org.springframework.jdbc.datasource.DriverManagerDataSource.getConnec
tionFromDriverManager(DriverManagerDataSource.java:255)
at org.springframework.jdbc.datasource.DriverManagerDataSource.getConnec
tion(DriverManagerDataSource.java:236)
at org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider.
getConnection(LocalDataSourceConnectionProvider.java:81)
at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager
.java:423)
at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.
java:144)
at org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatc
her.java:139)
at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1547)
at org.hibernate.loader.Loader.doQuery(Loader.java:673)
at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Lo
ader.java:236)
at org.hibernate.loader.Loader.loadEntity(Loader.java:1860)
at org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityL
oader.java:48)
at org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityL
oader.java:42)
at org.hibernate.persister.entity.AbstractEntityPersister.load(AbstractE
ntityPersister.java:3044)
at org.hibernate.event.def.DefaultLoadEventListener.loadFromDatasource(D
efaultLoadEventListener.java:395)
at org.hibernate.event.def.DefaultLoadEventListener.doLoad(DefaultLoadEv
entListener.java:375)
at org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEven
tListener.java:139)
at org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultL
oadEventListener.java:195)
at org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEv
entListener.java:103)
at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:878)
at org.hibernate.impl.SessionImpl.get(SessionImpl.java:815)
at org.hibernate.impl.SessionImpl.get(SessionImpl.java:808)
at org.springframework.orm.hibernate3.HibernateTemplate$1.doInHibernate(
HibernateTemplate.java:477)
at org.springframework.orm.hibernate3.HibernateTemplate.execute(Hibernat
eTemplate.java:373)
at org.springframework.orm.hibernate3.HibernateTemplate.get(HibernateTem
plate.java:471)
at org.springframework.orm.hibernate3.HibernateTemplate.get(HibernateTem
plate.java:465)
at com.nxsol.hospital.DAO.PatientHibernateDAO.initializePatient_fall(Pat
ientHibernateDAO.java:93)
at com.nxsol.hospital.services.PatientServiceImpl.initializePatient_fall
(PatientServiceImpl.java:42)
at com.nxsol.hospital.command.SchedulerALIS.Scheduler(SchedulerALIS.java
:1086)
at com.nxsol.hospital.command.AlarmClock$1.soundAlarm(AlarmClock.java:50
)
at com.nxsol.hospital.command.AlarmClock$1.run(AlarmClock.java:34)
at org.tiling.scheduling.Scheduler$SchedulerTimerTask.run(Unknown Source
)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)

---== Posted via the PFCGuide Web Newsreader ==---
http://www.pfcguide.com/_newsgroups/group_list.asp


Paul Vero [Sybase] Posted on 2011-01-20 18:37:04.0Z
From: "Paul Vero [Sybase]" <pvero@nospam.com>
Newsgroups: sybase.public.ase.general
References: <4d37e350$1@forums-1-dub>
Subject: Re: com.sybase.jdbc2.timedio.RawDbio.setUpSocket problem
Lines: 130
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5931
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5994
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <4d3880d0$1@forums-1-dub>
Date: 20 Jan 2011 10:37:04 -0800
X-Trace: forums-1-dub 1295548624 10.22.241.152 (20 Jan 2011 10:37:04 -0800)
X-Original-Trace: 20 Jan 2011 10:37:04 -0800, vip152.sybase.com
X-Authenticated-User: techsupp
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.ase.general:29884
Article PK: 79112

Could you provide more details?

-Paul

"chakry" <chakry.alva@yahoo.in> wrote in message
news:4d37e350$1@forums-1-dub...
> at com.nxsol.hospital.command.GenerateALISXmlFileCommand.generateALISXML
> (GenerateALISXmlFileCommand.java:385)
> at
> com.nxsol.hospital.command.SchedulerALIS.Scheduler(SchedulerALIS.java
> :1076)
> at
> com.nxsol.hospital.command.AlarmClock$1.soundAlarm(AlarmClock.java:50
> )
> at com.nxsol.hospital.command.AlarmClock$1.run(AlarmClock.java:34)
> at org.tiling.scheduling.Scheduler$SchedulerTimerTask.run(Unknown
> Source
> )
> at java.util.TimerThread.mainLoop(Timer.java:512)
> at java.util.TimerThread.run(Timer.java:462)
> Exception in thread "Timer-0" java.lang.NullPointerException
> at com.sybase.jdbc2.timedio.RawDbio.setUpSocket(RawDbio.java:111)
> at com.sybase.jdbc2.timedio.RawDbio.doConnect(RawDbio.java:103)
> at com.sybase.jdbc2.timedio.InStreamMgr.<init>(InStreamMgr.java:94)
> at com.sybase.jdbc2.tds.Tds.login(Tds.java:307)
> at
> com.sybase.jdbc2.jdbc.SybConnection.tryLogin(SybConnection.java:213)
> at
> com.sybase.jdbc2.jdbc.SybConnection.regularConnect(SybConnection.java
> :193)
> at
> com.sybase.jdbc2.jdbc.SybConnection.<init>(SybConnection.java:172)
> at
> com.sybase.jdbc2.jdbc.SybConnection.<init>(SybConnection.java:124)
> at com.sybase.jdbc2.jdbc.SybDriver.connect(SybDriver.java:181)
> at java.sql.DriverManager.getConnection(DriverManager.java:582)
> at java.sql.DriverManager.getConnection(DriverManager.java:154)
> at
> org.springframework.jdbc.datasource.DriverManagerDataSource.getConnec
> tionFromDriverManager(DriverManagerDataSource.java:283)
> at
> org.springframework.jdbc.datasource.DriverManagerDataSource.getConnec
> tionFromDriverManager(DriverManagerDataSource.java:271)
> at
> org.springframework.jdbc.datasource.DriverManagerDataSource.getConnec
> tionFromDriverManager(DriverManagerDataSource.java:255)
> at
> org.springframework.jdbc.datasource.DriverManagerDataSource.getConnec
> tion(DriverManagerDataSource.java:236)
> at
> org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider.
> getConnection(LocalDataSourceConnectionProvider.java:81)
> at
> org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager
> java:423)
> at
> org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.
> java:144)
> at
> org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatc
> her.java:139)
> at
> org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1547)
> at org.hibernate.loader.Loader.doQuery(Loader.java:673)
> at
> org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Lo
> ader.java:236)
> at org.hibernate.loader.Loader.loadEntity(Loader.java:1860)
> at
> org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityL
> oader.java:48)
> at
> org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityL
> oader.java:42)
> at
> org.hibernate.persister.entity.AbstractEntityPersister.load(AbstractE
> ntityPersister.java:3044)
> at
> org.hibernate.event.def.DefaultLoadEventListener.loadFromDatasource(D
> efaultLoadEventListener.java:395)
> at
> org.hibernate.event.def.DefaultLoadEventListener.doLoad(DefaultLoadEv
> entListener.java:375)
> at
> org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEven
> tListener.java:139)
> at
> org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultL
> oadEventListener.java:195)
> at
> org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEv
> entListener.java:103)
> at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:878)
> at org.hibernate.impl.SessionImpl.get(SessionImpl.java:815)
> at org.hibernate.impl.SessionImpl.get(SessionImpl.java:808)
> at
> org.springframework.orm.hibernate3.HibernateTemplate$1.doInHibernate(
> HibernateTemplate.java:477)
> at
> org.springframework.orm.hibernate3.HibernateTemplate.execute(Hibernat
> eTemplate.java:373)
> at
> org.springframework.orm.hibernate3.HibernateTemplate.get(HibernateTem
> plate.java:471)
> at
> org.springframework.orm.hibernate3.HibernateTemplate.get(HibernateTem
> plate.java:465)
> at
> com.nxsol.hospital.DAO.PatientHibernateDAO.initializePatient_fall(Pat
> ientHibernateDAO.java:93)
> at
> com.nxsol.hospital.services.PatientServiceImpl.initializePatient_fall
> (PatientServiceImpl.java:42)
> at
> com.nxsol.hospital.command.SchedulerALIS.Scheduler(SchedulerALIS.java
> :1086)
> at
> com.nxsol.hospital.command.AlarmClock$1.soundAlarm(AlarmClock.java:50
> )
> at com.nxsol.hospital.command.AlarmClock$1.run(AlarmClock.java:34)
> at org.tiling.scheduling.Scheduler$SchedulerTimerTask.run(Unknown
> Source
> )
> at java.util.TimerThread.mainLoop(Timer.java:512)
> at java.util.TimerThread.run(Timer.java:462)
>
> ---== Posted via the PFCGuide Web Newsreader ==---
> http://www.pfcguide.com/_newsgroups/group_list.asp