This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 57195 - Unable to connect to pointbase on SunRay
Summary: Unable to connect to pointbase on SunRay
Status: CLOSED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 8 (show other bugs)
Version: 4.x
Hardware: Sun Solaris
: P2 blocker (vote)
Assignee: _ ludo
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-30 13:50 UTC by Jaroslav Pospisil
Modified: 2006-03-24 12:54 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
java.io.FileNotFoundException (2.98 KB, text/plain)
2005-03-30 13:51 UTC, Jaroslav Pospisil
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Pospisil 2005-03-30 13:50:03 UTC
Build 200503281924 SJS bundle solsparc

1.Install Netbeans 4.1 SJS bundle as root
2.Run IDE as user
3.Add appserver in Runtime tab
4.Start Pointbase
5.Try to connect to pointbase from Runtime tab

ERROR 

Unable to connect,cannot establish a connection to
jdbc:pointbase://localhost:9092/sample using 
com.pointbase.jdbcUniversalDriver (Cache manager I/O 
error.java.io.IOException:Bad file number.)

No exception is thrown.When tried to connect to Pointbase from console,same
result happened and next exceptions has been thrown.
Comment 1 Jaroslav Pospisil 2005-03-30 13:51:51 UTC
Created attachment 21222 [details]
java.io.FileNotFoundException
Comment 2 _ ludo 2005-03-30 16:12:09 UTC
Can you on this system do a ls -lR >foo.txt
of the {netbeansuserdir}/pointbase

I need to see the files and dir protection flags...

Also, after attaching ffo.txt,
can you try to change the entire content of  {netbeansuserdir}/pointbase to 777
and try again?
I am curious about the possible locaiton of the mentioned file urls.bat...
Can you find it on your system? where? Which protection?
Comment 3 Jaroslav Pospisil 2005-03-31 11:13:52 UTC
I'm afraid there's no folder of name pointbase in {netbeansuserdir},only one
folder of name pointbase is the one
"~netbeans4.1dev/SunWAppserver8.1/pointbase/",so I can't show you the list
result or change the rights of it.I also have not been able to find urls.bat,I
tried to search also in Windows XP,where pointbase works fine and there wasn't
any "urls" file on entire disc.
Comment 4 Jaroslav Pospisil 2005-03-31 11:40:44 UTC
Forget please the part about WinXP,my mistake;-)
Comment 5 _ ludo 2005-03-31 12:25:48 UTC
can you try again with new build?
I guess if {nbuserdir}/pointbase dir is not created, you are using a build that
did not have the fix.
Unless the fix does not work on sunray?
I tested it on Linux and root...
Comment 6 Jaroslav Pospisil 2005-03-31 13:44:10 UTC
Build 200503301800,Sunray
In this build it looks fixed because pointbase could be normally connected and
accessed from IDE,tables could be added,modified and removed.
Thanks ludo.
Comment 7 Jaroslav Pospisil 2005-03-31 13:44:39 UTC
Verified in build 200503301800.