File tree 1 file changed +2
-3
lines changed
src/main/java/life/qbic/portal/portlet
1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -88,7 +88,6 @@ protected Layout getPortletContent(final VaadinRequest request) {
88
88
boolean success = true ;
89
89
manager = ConfigurationManagerFactory .getInstance ();
90
90
tmpFolder = manager .getTmpFolder ();
91
-
92
91
if (PortalUtils .isLiferayPortlet ()) {
93
92
// read in the configuration file
94
93
@@ -109,9 +108,9 @@ protected Layout getPortletContent(final VaadinRequest request) {
109
108
// establish connection to the OpenBIS API
110
109
try {
111
110
logger .debug ("trying to connect to openbis" );
112
-
111
+ final String openbisURL = manager . getDataSourceUrl () + "/openbis/openbis" ;
113
112
this .openbis = new OpenBisClient (manager .getDataSourceUser (), manager .getDataSourcePassword (),
114
- manager . getDataSourceUrl () );
113
+ openbisURL );
115
114
this .openbis .login ();
116
115
} catch (Exception e ) {
117
116
success = false ;
You can’t perform that action at this time.
0 commit comments