Problems with run.sh and deployment

pasztord
pasztord New Altair Community Member
edited November 5 in Community Q&A
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:

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
Any idea?
Tagged:

Answers

  • fischer
    fischer New Altair Community Member
    Hi,

    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
  • pasztord
    pasztord New Altair Community Member
    Simon Fischer wrote:

    What is the first error you can spot in server/default/boot.log when starting?
    ERROR [AbstractKernelController] Error installing to Describe: name=vfs:///home/david/rapidanalytics/server/default/conf/jboss-service.xml state=PreDescribe mode=Manual requiredState=Describe: org.jboss.deployers.spi.DeploymentException: Failed to mount "/home/david/rapidanalytics/server/default/lib/org.springframework.aop-3.0.5.RELEASE.jar"
  • fischer
    fischer New Altair Community Member
    Hi,

    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