Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
Alignment API
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
moex
Alignment API
Commits
c3fad554
Commit
c3fad554
authored
18 years ago
by
Jérôme Euzenat
Browse files
Options
Downloads
Patches
Plain Diff
- fixed database connection stuff
- commented out JADE call ?
parent
73891c9c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/fr/inrialpes/exmo/align/service/AServProtocolManager.java
+3
-1
3 additions, 1 deletion
...fr/inrialpes/exmo/align/service/AServProtocolManager.java
src/fr/inrialpes/exmo/align/service/AlignmentService.java
+4
-4
4 additions, 4 deletions
src/fr/inrialpes/exmo/align/service/AlignmentService.java
with
7 additions
and
5 deletions
src/fr/inrialpes/exmo/align/service/AServProtocolManager.java
+
3
−
1
View file @
c3fad554
...
@@ -27,6 +27,8 @@ import java.util.Set;
...
@@ -27,6 +27,8 @@ import java.util.Set;
import
java.util.HashSet
;
import
java.util.HashSet
;
import
java.util.Enumeration
;
import
java.util.Enumeration
;
import
java.sql.SQLException
;
import
fr.inrialpes.exmo.align.service.StoreRDFFormat
;
import
fr.inrialpes.exmo.align.service.StoreRDFFormat
;
import
fr.inrialpes.exmo.align.service.DBService
;
import
fr.inrialpes.exmo.align.service.DBService
;
import
fr.inrialpes.exmo.align.service.CacheImpl
;
import
fr.inrialpes.exmo.align.service.CacheImpl
;
...
@@ -44,7 +46,7 @@ public class AServProtocolManager {
...
@@ -44,7 +46,7 @@ public class AServProtocolManager {
services
=
new
Hashtable
();
services
=
new
Hashtable
();
}
}
public
void
init
(
DBService
connection
,
Parameters
p
)
{
public
void
init
(
DBService
connection
,
Parameters
p
)
throws
SQLException
{
alignmentCache
=
new
CacheImpl
(
connection
);
alignmentCache
=
new
CacheImpl
(
connection
);
alignmentCache
.
init
();
alignmentCache
.
init
();
// This is ugly but it seems that Java does not provides the
// This is ugly but it seems that Java does not provides the
...
...
This diff is collapsed.
Click to expand it.
src/fr/inrialpes/exmo/align/service/AlignmentService.java
+
4
−
4
View file @
c3fad554
...
@@ -63,8 +63,8 @@ $Id$
...
@@ -63,8 +63,8 @@ $Id$
*/
*/
public
class
AlignmentService
{
public
class
AlignmentService
{
private
String
DbName
=
null
;
private
String
DbName
=
"adminAServ"
;
private
String
DbPassword
=
null
;
private
String
DbPassword
=
"aaa345"
;
private
AServProtocolManager
manager
;
private
AServProtocolManager
manager
;
...
@@ -185,7 +185,7 @@ public class AlignmentService {
...
@@ -185,7 +185,7 @@ public class AlignmentService {
// This will have to be changed to a more generic way by
// This will have to be changed to a more generic way by
// launching all the requested profile or all the available profiles
// launching all the requested profile or all the available profiles
// TODO Auto-generated method stub
// TODO Auto-generated method stub
JadeFIPAAServProfile
JADEServeur
=
new
JadeFIPAAServProfile
();
/*
JadeFIPAAServProfile JADEServeur = new JadeFIPAAServProfile();
try{ JADEServeur.init( params, manager ); }
try{ JADEServeur.init( params, manager ); }
catch ( AServException e ) {
catch ( AServException e ) {
System.err.println( "Couldn't start server:\n" + e );
System.err.println( "Couldn't start server:\n" + e );
...
@@ -193,7 +193,7 @@ public class AlignmentService {
...
@@ -193,7 +193,7 @@ public class AlignmentService {
// not good
// not good
}
}
//catch (Exception e) {e.printStackTrace();}
//catch (Exception e) {e.printStackTrace();}
*/
if
(
debug
>
0
)
System
.
err
.
println
(
"AServ launched on http://localhost:"
+
params
.
getParameter
(
"jadeport"
));
if
(
debug
>
0
)
System
.
err
.
println
(
"AServ launched on http://localhost:"
+
params
.
getParameter
(
"jadeport"
));
try
{
System
.
in
.
read
();
}
catch
(
Throwable
t
)
{};
try
{
System
.
in
.
read
();
}
catch
(
Throwable
t
)
{};
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment