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 56715 - Pointbase sample databases when appserver installed by root user
Summary: Pointbase sample databases when appserver installed by root user
Status: CLOSED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 8 (show other bugs)
Version: 4.x
Hardware: All All
: P2 blocker (vote)
Assignee: _ ludo
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-21 09:58 UTC by Petr Blaha
Modified: 2006-03-24 13:12 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 Petr Blaha 2005-03-21 09:58:18 UTC
Issue originally reported by Petr Jiricka:
We have some issues with Pointbase sample databases if Appserver is installed by
root. These are analogous to the problems we have with appserver domains.

The sample databases are in $APPSRV_INST/pointbase/databases, so when
the IDE is shared by multiple users, any changes to the schema done by
one user will be visible by other users. Next, if Appserver is installed
under root, the user will not be able to modify the db schema at all. I
just simulated this on Windows by making the databases folder read only,
and it really does not work. This is not as bad as not being able to
deploy, but still...

A possible fix could be to somehow copy the sample databases to userdir
- I guess this would have to be done in the appserver plugin.
Comment 1 _ ludo 2005-03-21 19:46:00 UTC
We'll look at.
Either in this case (i.e rw protection on unix), we could copy the netire
pointbase dir in the user directory, an this is the one NetBeans would start, or
do a finer grain copy with only the databases...

We cannot solve the possible port conflict (9092) is multiple users want to user
different pb on the same machine. This is beyond what we can support, I think.
Comment 2 _ ludo 2005-03-29 02:28:25 UTC
I think this is now fixed.
In case of read write issue, the sample databases as well as the scripts are
copied in the netbeans userdir/pointbase

The port is still 9092, but could be changed by the user via the pointbase.ini
file in this area also.
Comment 3 Petr Blaha 2005-03-31 13:49:11 UTC
[20050330]