Error invoking logon system service: error code: 0.0

Post any questions you have about using the Verj.io Studio, including client and server-side programming with Javascript or FPL, and integration with databases, web services etc.

Moderators: Jon, Steve, Ian, Dave

Segi
Ebase User
Posts: 649
Joined: Mon Dec 09, 2013 6:37 pm

Error invoking logon system service: error code: 0.0

#1

Postby Segi » Mon Feb 08, 2016 12:42 am

I am trying to figure out why my login system is broken. This is the error that I am getting in the server logs

Code: Select all

Sun Feb 07 19:31:25: ERROR JNDI lookup for datasource UFSREPOSITORY failed
Sun Feb 07 19:31:25: ERROR JNDI lookup for datasource UFSREPOSITORY failed
Sun Feb 07 19:31:27: ERROR JNDI lookup for datasource UFSREPOSITORY failed
Sun Feb 07 19:31:27: ERROR JNDI lookup for datasource UFSREPOSITORY failed
Sun Feb 07 19:31:29: ERROR JNDI lookup for datasource UFSREPOSITORY failed
Sun Feb 07 19:31:29: ERROR JNDI lookup for datasource UFSREPOSITORY failed
Sun Feb 07 19:31:33: ERROR Error creating transaction Cannot create resource instance
Sun Feb 07 19:31:33: ERROR Error detecteSun Feb 07 19:31:47:  Error invoking logon system service: error code: 0.0
ror creating transaction Cannot create resource instance
Sun Feb 07 19:31:33: ERROR Error creating transaction Cannot create resource instance
Sun Feb 07 19:31:33: ERROR Error detected initialising the batch server component:
Sun Feb 07 19:31:33: ERROR Error creating transaction Cannot create resource instance
Sun Feb 07 19:31:33: ERROR Error detected initialising the workflow servlet component:
Sun Feb 07 19:31:33: ERROR Error creating transaction Cannot create resource instance
Sun Feb 07 19:31:33:  FormCacheLoader: start
Sun Feb 07 19:31:33:  FormCacheLoader: end
Sun Feb 07 19:31:33:  ******************************************************************
Sun Feb 07 19:31:33:  ***  Ebase Xi Server V5.0.1 successfully initialized in 21 seconds
Sun Feb 07 19:31:33:  ***  Using workspace C:\ebaseXi\Workspace
Sun Feb 07 19:31:33:  ******************************************************************
My login is done with a Javascript script that looks like this:

Code: Select all

importPackage(com.ebasetech.xi.api);
importPackage(com.ebasetech.xi.services);

try { 
	   var eBaseDomain=system.executeCustomFunction("gettext", ['EBASEDOMAIN', 'Shared','EN']);
	   
     fields.USERID.value=fields.PARAM1_VALUE.value;
     fields.PASSWORD.value=fields.PARAM2_VALUE.value;

     tables.USERS.WHERECLAUSE.value="WHERE LOWER(Username)='" + fields.PARAM1_VALUE.value.toLowerCase() + "' AND DecryptByKey(Password)='" + fields.PARAM2_VALUE.value + "'";
     
     tables.USERS.fetchTable();

     // User account is not enabled
     if ( tables.USERS.rowCount > 0 && tables.USERS.ENABLED.value != 'Y' ) {
     	    fields.USERID.value=null;
     	    fields.ERRORCODE.value = "999";
          fields.ERRORDESCRIPTION.value = "Your account is disabled. Please contact the system administrator"; 

      } else if ( tables.USERS.rowCount > 0 ) {
      	  fields.ERRORCODE.value =0;
      	  
     	    // Required for eBase SecurityManager to know that the authentication was successfull
     	    fields.USERID.value=tables.USERS.REALNAME.value;

          // Add these values as credentials so they can be referenced in any script
          tables.CREDENTIALS.insertRow();
          tables.CREDENTIALS.ID.value="REALNAME";
          tables.CREDENTIALS.VALUE.value=tables.USERS.REALNAME.value;
          tables.CREDENTIALS.updateTable();

          tables.CREDENTIALS.insertRow();
          tables.CREDENTIALS.ID.value="USERID";
          tables.CREDENTIALS.VALUE.value=tables.USERS.USERID.value;
          tables.CREDENTIALS.updateTable();
          
          tables.CREDENTIALS.insertRow();
          tables.CREDENTIALS.ID.value="SECID";
          tables.CREDENTIALS.VALUE.value=tables.USERS.SECID.value;
          tables.CREDENTIALS.updateTable();

          tables.CREDENTIALS.insertRow();
          tables.CREDENTIALS.ID.value="EMAILADDRESS";
          tables.CREDENTIALS.VALUE.value=tables.USERS.EMAIL.value;
          tables.CREDENTIALS.updateTable();
          
          tables.CREDENTIALS.insertRow();
          tables.CREDENTIALS.ID.value="IGNOREMAINTAINANCEMODE";
          tables.CREDENTIALS.VALUE.value=(tables.USERS.IGNOREMAINTAINANCEMODE.value == 'Y' ? 'Y' : 'N');
          tables.CREDENTIALS.updateTable();

          tables.CREDENTIALS.insertRow();
          tables.CREDENTIALS.ID.value="FORCEPASSWORDRESET";
          tables.CREDENTIALS.VALUE.value=(tables.USERS.FORCEPASSWORDRESET.value == 1 ? 'Y' : 'N');
          tables.CREDENTIALS.updateTable();
     } else {
          fields.USERID.value = null;

          fields.ERRORCODE.value = "999991";
          fields.ERRORDESCRIPTION.value = "Your username or password is not correct"; 
          print("Login failed with the username " + fields.PARAM1_VALUE.value);
      }
} catch (e) {
   fields.USERID.value = null;   
   fields.ERRORCODE.value = "999991";
   fields.ERRORDESCRIPTION.value = "Your username or password is not correct";
}
My the login is initiated by a client called using the API to a shared server side function:

Code: Select all


function login(params) {
	
	   username=params[0];
	   password=params[1];
	   	   
     if (username=="" || password=="") {
          return "Please enter the username and password";
     }

     try {
	        system.securityManager.logon([["",username],["",password]]);
     } catch (e) {
          // Parse the error message 
          var errormsg=String(e);
     
          // Remove this string from the beginning of the error message
          errormsg=errormsg.substring("JavaException: com.ebasetech.xi.exceptions.LogonException: ".length);
          return errormsg;
     }

     form.gotoForm("HOMEPAGE");     
}
Why doesn't this work ? i have another ebase instance running the same code and it works perfectly.
0 x

Steve
Moderator
Moderator
Posts: 421
Joined: Fri Sep 07, 2007 3:44 pm
Location: Sandy, UK
Contact:

#2

Postby Steve » Mon Feb 08, 2016 1:08 pm

By the look of the initial log, there are errors starting up Ebase.

There are errors trying to locate the UFSREPOSITORY database. This is required for Ebase to work properly.

Are you running version 5 with the integrated server or with standalone server?

For the integrated server:
There should be additional log files in:

<Ebase-Install-Dir>/UfsClient/IntegratedServer/logs

For Standalone server:

There any other logs, e.g Catalina log in:

<Ebase-Install-Dir>/UfsServer/tomcat/logs

One of the log files should have an error log in it to show you why the database is not being found.


Steve
0 x

Segi
Ebase User
Posts: 649
Joined: Mon Dec 09, 2013 6:37 pm

#3

Postby Segi » Tue Feb 09, 2016 4:32 am

This is from stderr log file but it doesn't tell me anything

Code: Select all


2016-02-08 23&#58;27&#58;25 Commons Daemon procrun stderr initialized
com.ebasetech.ufs.utility.PersistenceException&#58; JNDI lookup for datasource UFSREPOSITORY failed
	at com.ebasetech.ufs.kernel.DatabaseConnectionPoolFactory.lookupDataSourceInJndi&#40;DatabaseConnectionPoolFactory.java&#58;294&#41;
	at com.ebasetech.ufs.kernel.DatabaseConnectionPoolFactory.getDataSource&#40;DatabaseConnectionPoolFactory.java&#58;154&#41;
	at com.ebasetech.ufs.kernel.DatabaseConnectionPoolFactory.getPooledConnection&#40;DatabaseConnectionPoolFactory.java&#58;56&#41;
	at com.ebasetech.ufs.kernel.DatabaseConnectionPoolFactory.getConnection&#40;DatabaseConnectionPoolFactory.java&#58;43&#41;
	at com.ebasetech.ufs.kernel.RepositoryDatabaseConnectionFactory.getConnection&#40;RepositoryDatabaseConnectionFactory.java&#58;38&#41;
	at com.ebasetech.ufs.security.authentication.GroupManager.loadAllGroupsFromRepository&#40;GroupManager.java&#58;99&#41;
	at com.ebasetech.ufs.security.authentication.GroupManager.loadAllGroups&#40;GroupManager.java&#58;87&#41;
	at com.ebasetech.ufs.security.authentication.GroupManager.initialise&#40;GroupManager.java&#58;82&#41;
	at com.ebasetech.ufs.security.authentication.EbaseUserManager.initialise&#40;EbaseUserManager.java&#58;359&#41;
	at com.ebasetech.ufs.security.SecurityManager.initialiseUserManager&#40;SecurityManager.java&#58;131&#41;
	at com.ebasetech.ufs.security.SecurityManager.initialise&#40;SecurityManager.java&#58;50&#41;
	at formservlets.EbaseContextListener.contextInitialized&#40;EbaseContextListener.java&#58;45&#41;
	at org.apache.catalina.core.StandardContext.listenerStart&#40;StandardContext.java&#58;4729&#41;
	at org.apache.catalina.core.StandardContext.startInternal&#40;StandardContext.java&#58;5167&#41;
	at org.apache.catalina.util.LifecycleBase.start&#40;LifecycleBase.java&#58;150&#41;
	at org.apache.catalina.core.ContainerBase.addChildInternal&#40;ContainerBase.java&#58;725&#41;
	at org.apache.catalina.core.ContainerBase.addChild&#40;ContainerBase.java&#58;701&#41;
	at org.apache.catalina.core.StandardHost.addChild&#40;StandardHost.java&#58;717&#41;
	at org.apache.catalina.startup.HostConfig.deployDirectory&#40;HostConfig.java&#58;1101&#41;
	at org.apache.catalina.startup.HostConfig$DeployDirectory.run&#40;HostConfig.java&#58;1786&#41;
	at java.util.concurrent.Executors$RunnableAdapter.call&#40;Executors.java&#58;511&#41;
	at java.util.concurrent.FutureTask.run&#40;FutureTask.java&#58;266&#41;
	at java.util.concurrent.ThreadPoolExecutor.runWorker&#40;ThreadPoolExecutor.java&#58;1142&#41;
	at java.util.concurrent.ThreadPoolExecutor$Worker.run&#40;ThreadPoolExecutor.java&#58;617&#41;
	at java.lang.Thread.run&#40;Thread.java&#58;745&#41;
com.ebasetech.ufs.utility.PersistenceException&#58; JNDI lookup for datasource UFSREPOSITORY failed
	at com.ebasetech.ufs.kernel.DatabaseConnectionPoolFactory.lookupDataSourceInJndi&#40;DatabaseConnectionPoolFactory.java&#58;294&#41;
	at com.ebasetech.ufs.kernel.DatabaseConnectionPoolFactory.getDataSource&#40;DatabaseConnectionPoolFactory.java&#58;154&#41;
	at com.ebasetech.ufs.kernel.DatabaseConnectionPoolFactory.getPooledConnection&#40;DatabaseConnectionPoolFactory.java&#58;56&#41;
	at com.ebasetech.ufs.kernel.DatabaseConnectionPoolFactory.getConnection&#40;DatabaseConnectionPoolFactory.java&#58;43&#41;
	at com.ebasetech.ufs.kernel.RepositoryDatabaseConnectionFactory.getConnection&#40;RepositoryDatabaseConnectionFactory.java&#58;38&#41;
	at com.ebasetech.ufs.security.authentication.GroupManager.loadAllSupportedGroupMembershipsFromRepository&#40;GroupManager.java&#58;146&#41;
	at com.ebasetech.ufs.security.authentication.GroupManager.loadAllGroups&#40;GroupManager.java&#58;88&#41;
	at com.ebasetech.ufs.security.authentication.GroupManager.initialise&#40;GroupManager.java&#58;82&#41;
	at com.ebasetech.ufs.security.authentication.EbaseUserManager.initialise&#40;EbaseUserManager.java&#58;359&#41;
	at com.ebasetech.ufs.security.SecurityManager.initialiseUserManager&#40;SecurityManager.java&#58;131&#41;
	at com.ebasetech.ufs.security.SecurityManager.initialise&#40;SecurityManager.java&#58;50&#41;
	at formservlets.EbaseContextListener.contextInitialized&#40;EbaseContextListener.java&#58;45&#41;
	at org.apache.catalina.core.StandardContext.listenerStart&#40;StandardContext.java&#58;4729&#41;
	at org.apache.catalina.core.StandardContext.startInternal&#40;StandardContext.java&#58;5167&#41;
	at org.apache.catalina.util.LifecycleBase.start&#40;LifecycleBase.java&#58;150&#41;
	at org.apache.catalina.core.ContainerBase.addChildInternal&#40;ContainerBase.java&#58;725&#41;
	at org.apache.catalina.core.ContainerBase.addChild&#40;ContainerBase.java&#58;701&#41;
	at org.apache.catalina.core.StandardHost.addChild&#40;StandardHost.java&#58;717&#41;
	at org.apache.catalina.startup.HostConfig.deployDirectory&#40;HostConfig.java&#58;1101&#41;
	at org.apache.catalina.startup.HostConfig$DeployDirectory.run&#40;HostConfig.java&#58;1786&#41;
	at java.util.concurrent.Executors$RunnableAdapter.call&#40;Executors.java&#58;511&#41;
	at java.util.concurrent.FutureTask.run&#40;FutureTask.java&#58;266&#41;
	at java.util.concurrent.ThreadPoolExecutor.runWorker&#40;ThreadPoolExecutor.java&#58;1142&#41;
	at java.util.concurrent.ThreadPoolExecutor$Worker.run&#40;ThreadPoolExecutor.java&#58;617&#41;
	at java.lang.Thread.run&#40;Thread.java&#58;745&#41;
com.ebasetech.ufs.utility.PersistenceException&#58; JNDI lookup for datasource UFSREPOSITORY failed
	at com.ebasetech.ufs.kernel.DatabaseConnectionPoolFactory.lookupDataSourceInJndi&#40;DatabaseConnectionPoolFactory.java&#58;294&#41;
	at com.ebasetech.ufs.kernel.DatabaseConnectionPoolFactory.getDataSource&#40;DatabaseConnectionPoolFactory.java&#58;154&#41;
	at com.ebasetech.ufs.kernel.DatabaseConnectionPoolFactory.getPooledConnection&#40;DatabaseConnectionPoolFactory.java&#58;56&#41;
	at com.ebasetech.ufs.kernel.DatabaseConnectionPoolFactory.getConnection&#40;DatabaseConnectionPoolFactory.java&#58;43&#41;
	at com.ebasetech.ufs.kernel.RepositoryDatabaseConnectionFactory.getConnection&#40;RepositoryDatabaseConnectionFactory.java&#58;38&#41;
	at com.ebasetech.ufs.security.authentication.GroupManager.loadAllGroupRolesFromRepository&#40;GroupManager.java&#58;248&#41;
	at com.ebasetech.ufs.security.authentication.GroupManager.loadAllGroups&#40;GroupManager.java&#58;89&#41;
	at com.ebasetech.ufs.security.authentication.GroupManager.initialise&#40;GroupManager.java&#58;82&#41;
	at com.ebasetech.ufs.security.authentication.EbaseUserManager.initialise&#40;EbaseUserManager.java&#58;359&#41;
	at com.ebasetech.ufs.security.SecurityManager.initialiseUserManager&#40;SecurityManager.java&#58;131&#41;
	at com.ebasetech.ufs.security.SecurityManager.initialise&#40;SecurityManager.java&#58;50&#41;
	at formservlets.EbaseContextListener.contextInitialized&#40;EbaseContextListener.java&#58;45&#41;
	at org.apache.catalina.core.StandardContext.listenerStart&#40;StandardContext.java&#58;4729&#41;
	at org.apache.catalina.core.StandardContext.startInternal&#40;StandardContext.java&#58;5167&#41;
	at org.apache.catalina.util.LifecycleBase.start&#40;LifecycleBase.java&#58;150&#41;
	at org.apache.catalina.core.ContainerBase.addChildInternal&#40;ContainerBase.java&#58;725&#41;
	at org.apache.catalina.core.ContainerBase.addChild&#40;ContainerBase.java&#58;701&#41;
	at org.apache.catalina.core.StandardHost.addChild&#40;StandardHost.java&#58;717&#41;
	at org.apache.catalina.startup.HostConfig.deployDirectory&#40;HostConfig.java&#58;1101&#41;
	at org.apache.catalina.startup.HostConfig$DeployDirectory.run&#40;HostConfig.java&#58;1786&#41;
	at java.util.concurrent.Executors$RunnableAdapter.call&#40;Executors.java&#58;511&#41;
	at java.util.concurrent.FutureTask.run&#40;FutureTask.java&#58;266&#41;
	at java.util.concurrent.ThreadPoolExecutor.runWorker&#40;ThreadPoolExecutor.java&#58;1142&#41;
	at java.util.concurrent.ThreadPoolExecutor$Worker.run&#40;ThreadPoolExecutor.java&#58;617&#41;
	at java.lang.Thread.run&#40;Thread.java&#58;745&#41;
com.ebasetech.ufs.kernel.FormTransactionException&#58; Error creating transaction Cannot create resource instance
	at com.ebasetech.ufs.kernel.TransactionManager.jndiLookup&#40;TransactionManager.java&#58;269&#41;
	at com.ebasetech.ufs.kernel.TransactionManager.startTransaction&#40;TransactionManager.java&#58;419&#41;
	at com.ebasetech.ufs.designer.server.DesignerServlet.init&#40;DesignerServlet.java&#58;352&#41;
	at javax.servlet.GenericServlet.init&#40;GenericServlet.java&#58;158&#41;
	at org.apache.catalina.core.StandardWrapper.initServlet&#40;StandardWrapper.java&#58;1231&#41;
	at org.apache.catalina.core.StandardWrapper.loadServlet&#40;StandardWrapper.java&#58;1144&#41;
	at org.apache.catalina.core.StandardWrapper.load&#40;StandardWrapper.java&#58;1031&#41;
	at org.apache.catalina.core.StandardContext.loadOnStartup&#40;StandardContext.java&#58;4914&#41;
	at org.apache.catalina.core.StandardContext.startInternal&#40;StandardContext.java&#58;5201&#41;
	at org.apache.catalina.util.LifecycleBase.start&#40;LifecycleBase.java&#58;150&#41;
	at org.apache.catalina.core.ContainerBase.addChildInternal&#40;ContainerBase.java&#58;725&#41;
	at org.apache.catalina.core.ContainerBase.addChild&#40;ContainerBase.java&#58;701&#41;
	at org.apache.catalina.core.StandardHost.addChild&#40;StandardHost.java&#58;717&#41;
	at org.apache.catalina.startup.HostConfig.deployDirectory&#40;HostConfig.java&#58;1101&#41;
	at org.apache.catalina.startup.HostConfig$DeployDirectory.run&#40;HostConfig.java&#58;1786&#41;
	at java.util.concurrent.Executors$RunnableAdapter.call&#40;Executors.java&#58;511&#41;
	at java.util.concurrent.FutureTask.run&#40;FutureTask.java&#58;266&#41;
	at java.util.concurrent.ThreadPoolExecutor.runWorker&#40;ThreadPoolExecutor.java&#58;1142&#41;
	at java.util.concurrent.ThreadPoolExecutor$Worker.run&#40;ThreadPoolExecutor.java&#58;617&#41;
	at java.lang.Thread.run&#40;Thread.java&#58;745&#41;
com.ebasetech.ufs.kernel.FormTransactionException&#58; Error creating transaction Cannot create resource instance
	at com.ebasetech.ufs.kernel.TransactionManager.jndiLookup&#40;TransactionManager.java&#58;269&#41;
	at com.ebasetech.ufs.kernel.TransactionManager.startTransaction&#40;TransactionManager.java&#58;419&#41;
	at com.ebasetech.ufs.batch.BatchServer.init&#40;BatchServer.java&#58;104&#41;
	at javax.servlet.GenericServlet.init&#40;GenericServlet.java&#58;158&#41;
	at org.apache.catalina.core.StandardWrapper.initServlet&#40;StandardWrapper.java&#58;1231&#41;
	at org.apache.catalina.core.StandardWrapper.loadServlet&#40;StandardWrapper.java&#58;1144&#41;
	at org.apache.catalina.core.StandardWrapper.load&#40;StandardWrapper.java&#58;1031&#41;
	at org.apache.catalina.core.StandardContext.loadOnStartup&#40;StandardContext.java&#58;4914&#41;
	at org.apache.catalina.core.StandardContext.startInternal&#40;StandardContext.java&#58;5201&#41;
	at org.apache.catalina.util.LifecycleBase.start&#40;LifecycleBase.java&#58;150&#41;
	at org.apache.catalina.core.ContainerBase.addChildInternal&#40;ContainerBase.java&#58;725&#41;
	at org.apache.catalina.core.ContainerBase.addChild&#40;ContainerBase.java&#58;701&#41;
	at org.apache.catalina.core.StandardHost.addChild&#40;StandardHost.java&#58;717&#41;
	at org.apache.catalina.startup.HostConfig.deployDirectory&#40;HostConfig.java&#58;1101&#41;
	at org.apache.catalina.startup.HostConfig$DeployDirectory.run&#40;HostConfig.java&#58;1786&#41;
	at java.util.concurrent.Executors$RunnableAdapter.call&#40;Executors.java&#58;511&#41;
	at java.util.concurrent.FutureTask.run&#40;FutureTask.java&#58;266&#41;
	at java.util.concurrent.ThreadPoolExecutor.runWorker&#40;ThreadPoolExecutor.java&#58;1142&#41;
	at java.util.concurrent.ThreadPoolExecutor$Worker.run&#40;ThreadPoolExecutor.java&#58;617&#41;
	at java.lang.Thread.run&#40;Thread.java&#58;745&#41;
com.ebasetech.ufs.kernel.FormTransactionException&#58; Error creating transaction Cannot create resource instance
	at com.ebasetech.ufs.kernel.TransactionManager.jndiLookup&#40;TransactionManager.java&#58;269&#41;
	at com.ebasetech.ufs.kernel.TransactionManager.startTransaction&#40;TransactionManager.java&#58;419&#41;
	at com.ebasetech.ufs.workflow.server.enactment.WorkflowWorkQueueServlet.init&#40;WorkflowWorkQueueServlet.java&#58;42&#41;
	at javax.servlet.GenericServlet.init&#40;GenericServlet.java&#58;158&#41;
	at org.apache.catalina.core.StandardWrapper.initServlet&#40;StandardWrapper.java&#58;1231&#41;
	at org.apache.catalina.core.StandardWrapper.loadServlet&#40;StandardWrapper.java&#58;1144&#41;
	at org.apache.catalina.core.StandardWrapper.load&#40;StandardWrapper.java&#58;1031&#41;
	at org.apache.catalina.core.StandardContext.loadOnStartup&#40;StandardContext.java&#58;4914&#41;
	at org.apache.catalina.core.StandardContext.startInternal&#40;StandardContext.java&#58;5201&#41;
	at org.apache.catalina.util.LifecycleBase.start&#40;LifecycleBase.java&#58;150&#41;
	at org.apache.catalina.core.ContainerBase.addChildInternal&#40;ContainerBase.java&#58;725&#41;
	at org.apache.catalina.core.ContainerBase.addChild&#40;ContainerBase.java&#58;701&#41;
	at org.apache.catalina.core.StandardHost.addChild&#40;StandardHost.java&#58;717&#41;
	at org.apache.catalina.startup.HostConfig.deployDirectory&#40;HostConfig.java&#58;1101&#41;
	at org.apache.catalina.startup.HostConfig$DeployDirectory.run&#40;HostConfig.java&#58;1786&#41;
	at java.util.concurrent.Executors$RunnableAdapter.call&#40;Executors.java&#58;511&#41;
	at java.util.concurrent.FutureTask.run&#40;FutureTask.java&#58;266&#41;
	at java.util.concurrent.ThreadPoolExecutor.runWorker&#40;ThreadPoolExecutor.java&#58;1142&#41;
	at java.util.concurrent.ThreadPoolExecutor$Worker.run&#40;ThreadPoolExecutor.java&#58;617&#41;
	at java.lang.Thread.run&#40;Thread.java&#58;745&#41;
In the folder UFSServer\tomcat\conf\Catalina\localhost, I renamed ufs.xml to mysite.xml which is the app name for the company that I am developing for but otherwise I didn't change the contents of the file. The UFS repo section looks like this: (I removed the less than sign before Resource because this forum still tries to render the XML code as HTML even though its inside

Code: Select all

 brackets)

&#91;code&#93;
Resource name="jdbc/UFSREPOSITORY" auth="Container"
              type="javax.sql.DataSource"
              username="ufs" password="ufs"
              driverClassName="org.apache.derby.jdbc.EmbeddedDriver"
              url="jdbc:derby:UFS;create=false"
              max="30" min="5" 
              factory="com.ebase.jndi.DataSourceFactory"
	          validationQuery="SELECT 1 FROM SYSIBM.SYSDUMMY1" checkLevel="1" preparedStatementCache="0"
	      />
&#91;/code&#93;
0 x

Steve
Moderator
Moderator
Posts: 421
Joined: Fri Sep 07, 2007 3:44 pm
Location: Sandy, UK
Contact:

#4

Postby Steve » Tue Feb 09, 2016 9:02 am

It looks as though the Ebase application cannot locate the UFSREPOSITORY.

You said that you renamed the ufs.xml to mysite.xml

This name must match the name of the webapp directory located in:

UFSServer\tomcat\webapps directory
0 x


Who is online

Users browsing this forum: No registered users and 4 guests