The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
Problems with run.sh and deployment
Hi,
I can't acces the Rapidanalytics web interface. I get internal server error 500, with messages:
- javax.servlet.ServletException: Can't find resource for bundle org.ajax4jsf.Messages$EmptyResourceBundle, key ENTER_BEFORE_RENDER_VIEW_PHASE
- java.util.MissingResourceException: Can't find resource for bundle org.ajax4jsf.Messages$EmptyResourceBundle, key ENTER_BEFORE_RENDER_VIEW_PHASE
When I'm executing run.sh I also get an error message:
I can't acces the Rapidanalytics web interface. I get internal server error 500, with messages:
- javax.servlet.ServletException: Can't find resource for bundle org.ajax4jsf.Messages$EmptyResourceBundle, key ENTER_BEFORE_RENDER_VIEW_PHASE
- java.util.MissingResourceException: Can't find resource for bundle org.ajax4jsf.Messages$EmptyResourceBundle, key ENTER_BEFORE_RENDER_VIEW_PHASE
When I'm executing run.sh I also get an error message:
Any idea?
DEPLOYMENTS IN ERROR:
Deployment "interface javax.transaction.TransactionManager" is in error due to the following reason(s): ** NOT FOUND Depends on 'interface javax.transaction.TransactionManager' **
Deployment "<UNKNOWN ObjectStoreBrowserBean>" is in error due to the following reason(s): ** UNRESOLVED Demands 'TransactionManager' **
Deployment "jboss.jca:service=WorkManager" is in error due to the following reason(s): ** NOT FOUND Depends on 'jboss.jca:service=WorkManager' **
Deployment "jboss:service=Naming" is in error due to the following reason(s): ** NOT FOUND Depends on 'jboss:service=Naming' **
Deployment "TxControl" is in error due to the following reason(s): java.net.BindException: Address already in use, **ERROR**
Deployment "RemoteNamingBean" is in error due to the following reason(s): java.net.BindException: Address already in use, **ERROR**
Deployment "jboss:service=invoker,type=unified" is in error due to the following reason(s): ** NOT FOUND Depends on 'jboss:service=invoker,type=unified' **
Deployment "<UNKNOWN JMSTopicManageMO>" is in error due to the following reason(s): ** UNRESOLVED Demands 'JMSServerManager' **
Deployment "vfs:///home/david/rapidanalytics/server/default/deploy/hsqldb-ds.xml" is in error due to the following reason(s): java.sql.SQLException: The database is already in use by another process: org.hsqldb.persist.NIOLockFile@c27855e5[file =/home/david/rapidanalytics/server/default/data/hypersonic/localDB.lck, exists=true, locked=false, valid=false, fl =null]: java.lang.Exception: checkHeartbeat(): lock file [/home/david/rapidanalytics/server/default/data/hypersonic/localDB.lck] is presumably locked by another process.
Deployment "<UNKNOWN JMSQueueManageMO>" is in error due to the following reason(s): ** UNRESOLVED Demands 'JMSServerManager' **
Deployment "jboss.remoting:service=Connector,transport=socket" is in error due to the following reason(s): ** NOT FOUND Depends on 'jboss.remoting:service=Connector,transport=socket' **
Deployment "org.jboss.ejb3.RemotingConnector" is in error due to the following reason(s): java.io.IOException: SocketServerInvoker[ra.minicrm.eu:3873] error creating ServerSocket[0.0.0.0:3873]: Address already in use
Deployment "JMSServerManager" is in error due to the following reason(s): java.net.BindException: Address already in use, **ERROR**
Deployment "XNIO:Binding:-1585199756:RemotingTcpServer" is in error due to the following reason(s): java.net.BindException: Address already in use
Deployment "jboss.jdbc:datasource=DefaultDS,service=metadata" is in error due to the following reason(s): ** NOT FOUND Depends on 'jboss.jdbc:datasource=DefaultDS,service=metadata' **
Deployment "<UNKNOWN JMSServerMO>" is in error due to the following reason(s): ** UNRESOLVED Demands 'JMSServerManager' **
Deployment "<UNKNOWN DefaultUserTransactionprovider>" is in error due to the following reason(s): ** UNRESOLVED Demands 'TransactionManager' **
Deployment "jboss:service=TransactionManager" is in error due to the following reason(s): Configured
Deployment "jboss.jca:name=DefaultDS,service=DataSourceBinding" is in error due to the following reason(s): ** NOT FOUND Depends on 'jboss.jca:name=DefaultDS,service=DataSourceBinding' **
Deployment "XNIO:Binding:-1585199755:RemotingSslTcpServer" is in error due to the following reason(s): java.net.BindException: Address already in use
Deployment "UnifiedInvokerConnector" is in error due to the following reason(s): **ERROR**, java.io.IOException: SocketServerInvoker[ra.minicrm.eu:4446] error creating ServerSocket[0.0.0.0:4446]: Address already in use
Deployment "<UNKNOWN JMSConnectionFactoryManageMO>" is in error due to the following reason(s): ** UNRESOLVED Demands 'JMSServerManager' **
Deployment "jboss.jca:service=CachedConnectionManager" is in error due to the following reason(s): ** NOT FOUND Depends on 'jboss.jca:service=CachedConnectionManager' **
Deployment "jboss:service=WebService" is in error due to the following reason(s): java.net.BindException: Address already in use
Deployment "jboss.web:service=WebServer" is in error due to the following reason(s): Configured
Tagged:
0
Answers
I don't think this is the first error message you see. What is the first error you can spot in server/default/boot.log when starting? (Skip the one with the duplicate class definition).
Best,
Simon
your error messages say that ports are already in use. Maybe you have another app server running already? Or maybe started RA twice?
You can offset the ports used by RA by adding -Djboss.service.binding.set=ports-01 or -Djboss.service.binding.set=ports-02 as an argument to the run script.
Best,
Simon