View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002286 | JEDI VCS | Server | public | 2004-11-02 13:19 | 2005-06-13 16:29 |
Reporter | THuber | Assigned To | THuber | ||
Priority | normal | Severity | feature | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 2.40 RC2 | ||||
Target Version | Fixed in Version | 2.40 Stable (Server) | |||
Summary | 0002286: Impossible to use FB Embed in Service Mode | ||||
Description | Due to differences SrvMain.pas and SrvServiceUnit.pas it is impossible to connect to FB Embedded with JVCSServer in Service Mode. Needs better handling of FB Embedded Mode Code sample attached. | ||||
Additional Information | added to SF tracker by Gokhan Ersumer - sky_khan | ||||
Tags | No tags attached. | ||||
Fix in JVCS version | 2.40 RC2 | ||||
Releasedocumentation | |||||
2004-11-02 13:19
|
FBEmbedBug.txt (1,455 bytes)
from SrvMain.pas if (UpperCase(FDBServer) = 'LOCAL') or (UpperCase(FDBServer) = 'LOCALHOST') or (Trim(FDBServer) = '') then FServerDatabase.DatabaseName := FDBDatabase else FServerDatabase.DatabaseName := FDBServer + ':' + FDBDatabase; from SrvServiceUnit.pas if (UpperCase(FDBServer) = 'LOCAL') or (UpperCase(FDBServer) = 'LOCALHOST') or (Trim(FDBServer) = '') then FServerDatabase.DatabaseName := 'localhost:'+FDBDatabase else FServerDatabase.DatabaseName := FDBServer + ':' + FDBDatabase; FServerDatabase.DatabaseName := FDBDatabase (SrvMain - OK) FServerDatabase.DatabaseName := 'localhost:'+FDBDatabase (SrvServiceUnit - Failed) FB Embed would not accept 'localhost:path' or ':path' syntax which means TCP protocol. My workaround is : (in SrvServiceUnit.pas, both FIB & IBX) if FDBUseEmbeded then FServerDatabase.DatabaseName :=FDBDatabase else begin if (UpperCase(FDBServer) = 'LOCAL') or (UpperCase(FDBServer) = 'LOCALHOST') or (Trim(FDBServer) = '') then FServerDatabase.DatabaseName := 'localhost:'+FDBDatabase else FServerDatabase.DatabaseName := FDBServer + ':' + FDBDatabase; end; |
|
Standalone and Service should handle connection both the same way so I will slighlty change the suggested solution. |
|
fb embedded now possible in FIB+ port. |
Date Modified | Username | Field | Change |
---|---|---|---|
2004-11-02 13:19 | THuber | New Issue | |
2004-11-02 13:19 | THuber | File Added: FBEmbedBug.txt | |
2004-11-02 13:19 | THuber | Fix in JVCS version | => 2.40 RC2 |
2004-11-02 13:22 | THuber | Fix in JVCS version | 2.40 RC2 => 2.40 RC3 |
2004-11-03 04:30 | THuber | Fix in JVCS version | 2.40 RC3 => 2.40 RC2 |
2004-11-07 06:05 | THuber | Note Added: 0005583 | |
2004-11-14 06:11 | THuber | Status | assigned => resolved |
2004-11-14 06:11 | THuber | Resolution | open => fixed |
2004-11-14 06:11 | THuber | Note Added: 0005626 | |
2004-12-10 16:09 | THuber | Fixed in Version | => 2.40 RC2 |
2005-01-15 05:55 | THuber | Relationship added | related to 0002361 |
2005-06-13 16:29 | THuber | Status | resolved => closed |
2005-06-13 16:29 | THuber | Fixed in Version | 2.40 RC2 => 2.40 Stable (Server) |