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 63770 - Wrong predefined pointbase connections
Summary: Wrong predefined pointbase connections
Status: VERIFIED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 8 (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Vince Kraemer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-07 12:46 UTC by Martin Grebac
Modified: 2007-07-10 14:11 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Grebac 2005-09-07 12:46:58 UTC
1. Register appserver 8.12005Q2UR2 that comes installed with creator to netbeans
2. Expand databases node in Runtime tab
3.[bug1] There's no database connection defined 
4. Restart IDE
5. Expand the database node again
6.[bug2] There are 2 connections defined, but both are invalid, because they
point to port 9092 and pointbase in creator is running on port 29092.

This is very annoying when I do the demo.
Comment 1 Martin Grebac 2005-09-07 14:44:04 UTC
I'm not sure which one is incorrect now. When I start the database from
Tools->Pointbase->Start Database, it is started on 29092.
But the connection pool in the server is setup to communicate with 9092 port.
I'm confused.
Comment 2 _ ludo 2005-09-13 02:19:58 UTC
I think that the create bundle server has different samples for pointbase, so
there is no way a plugin can know which samples are there or not. Also Creator
change all the pointbase port numbers.
So not a bug really ,  an RFE?
If a bug, not a p2 imo. The *special* app server version bundled with Creator
has never been a target for NetBeans :-)
Comment 3 Martin Grebac 2005-09-16 08:30:31 UTC
 I think this is still a bug (why do connections appear only after ide restart?). 
 I agree it is not a P2, but I think it blocks OOBE (and it would block my
end->end j2ee demo as well if I would want to start with appserver registration
... I can't afford to have 2 different appservers running on my machine - with
nb, creator, soffice and 1xappserver I'm at 1,1GB already).
 We claim user can register whatever instance of appserver (version 8.1PEblabla)
he wants. I'd say a user willing to use any of netbeans, creator and studio
together on one machine would not want to install more appservers. One appserver
is more than enough running on notebook together with ide, browser, email
client, firewall, ... 
 I didn't find the notion that appserver in creator is different than the one
coming with netbeans or studio. So what's so *special* about it, and why it is
not our target? I'd expect our target to be support as much appserver
installations as possible.
Comment 4 Vince Kraemer 2005-10-31 22:50:39 UTC
need to get the server.port value out of pointbase.ini (which is really a
properties file... they just call it an ini...)
Comment 6 _ ludo 2005-11-08 13:01:58 UTC
Rollbacked
Comment 7 Vince Kraemer 2005-11-14 19:07:55 UTC
fix to extract the port number from pointbase.ini re-commited

http://serverplugins.netbeans.org/source/browse/serverplugins/sun/appsrv81/src/org/netbeans/
modules/j2ee/sun/ide/j2ee/db/RegisterPointbase.java?r1=1.11&r2=1.12
Comment 8 Martin Grebac 2007-07-10 14:11:22 UTC
v