"Error while running RA"

kemoc
kemoc New Altair Community Member
edited November 5 in Community Q&A
Hi,
I installed RA in C:\RA
on the Windows 7 x64,
I have installed also RM 5.2, MySQL 5.5, Java JDK and JRE 1.6 update35

console:
Dependency "<UNKNOWN jboss.j2ee:ear=RapidAnalytics-CE-1.2.008.ear,jar=RapidA
nalytics_EJB.jar,name=UserManagementEJBImpl,service=EJB3>" (should be in state "
Installed", but is actually in state "** UNRESOLVED Demands 'persistence.unit:un
itName=RapidAnalytics-CE-1.2.008.ear/lib/RapidAnalytics_Entity.jar#RapidReposito
ryEntity' **")
 Deployment "jboss.j2ee:ear=RapidAnalytics-CE-1.2.008.ear,jar=RapidAnalytics_EJ
B.jar,name=UserManagementEJBImpl,service=EJB3_endpoint" is missing the following
dependencies:
   Dependency "jboss.j2ee:ear=RapidAnalytics-CE-1.2.008.ear,jar=RapidAnalytics_
EJB.jar,name=UserManagementEJBImpl,service=EJB3" (should be in state "Installed"
, but is actually in state "PreInstall")
 Deployment "jboss.web.deployment:war=/RA" is missing the following dependencie
s:
   Dependency "jboss-switchboard:appName=RapidAnalytics-CE-1.2.008,module=Rapid
Analytics_War" (should be in state "Installed", but is actually in state "Deploy
")
 Deployment "jboss.web.deployment:war=/RAWS" is missing the following dependenc
ies:
   Dependency "jboss-switchboard:appName=RapidAnalytics-CE-1.2.008,module=Rapid
Analytics_Service_War" (should be in state "Installed", but is actually in state
"Deploy")

DEPLOYMENTS IN ERROR:
 Deployment "<UNKNOWN jboss.j2ee:ear=RapidAnalytics-CE-1.2.008.ear,jar=RapidAna
lytics_EJB.jar,name=UserCreationEJBImpl,service=EJB3>" is in error due to the fo
llowing reason(s): ** UNRESOLVED Demands 'persistence.unit:unitName=RapidAnalyti
cs-CE-1.2.008.ear/lib/RapidAnalytics_Entity.jar#RapidRepositoryEntity' **
 Deployment "<UNKNOWN jboss.j2ee:ear=RapidAnalytics-CE-1.2.008.ear,jar=RapidAna
lytics_EJB.jar,name=RepositoryEJBImpl,service=EJB3>" is in error due to the foll
owing reason(s): ** UNRESOLVED Demands 'persistence.unit:unitName=RapidAnalytics
-CE-1.2.008.ear/lib/RapidAnalytics_Entity.jar#RapidRepositoryEntity' **
 Deployment "<UNKNOWN jboss.j2ee:ear=RapidAnalytics-CE-1.2.008.ear,jar=RapidAna
lytics_EJB.jar,name=TriggerManagementEJBImpl,service=EJB3>" is in error due to t
he following reason(s): ** UNRESOLVED Demands 'persistence.unit:unitName=RapidAn
alytics-CE-1.2.008.ear/lib/RapidAnalytics_Entity.jar#RapidRepositoryEntity' **
 Deployment "<UNKNOWN jboss.j2ee:ear=RapidAnalytics-CE-1.2.008.ear,jar=RapidAna
lytics_EJB.jar,name=AccessLogEJBImpl,service=EJB3>" is in error due to the follo
wing reason(s): ** UNRESOLVED Demands 'persistence.unit:unitName=RapidAnalytics-
CE-1.2.008.ear/lib/RapidAnalytics_Entity.jar#RapidRepositoryEntity' **

Answers

  • Nils_Woehler
    Nils_Woehler New Altair Community Member
    Hi,

    it seems as if something has gone wrong with your installation.
    Please try to remove RA and install it again.

    Best,
    Nils
  • kemoc
    kemoc New Altair Community Member
    Nils wrote:

    Hi,

    it seems as if something has gone wrong with your installation.
    Please try to remove RA and install it again.

    Best,
    Nils
    After reinstal:
    09:53:38,639 ERROR [StandardContext] Error filterStart
    09:53:38,640 ERROR [StandardContext] Context [/RA] startup failed due to previou
    s errors
    09:53:38,642 INFO  [[/RA]] Shutting down log4j
    09:53:38,643 INFO  [[/RA]] Closing Spring root WebApplicationContext
    09:53:38,643 ERROR [STDERR] 107919 [Thread-2] INFO org.springframework.web.conte
    xt.support.XmlWebApplicationContext - Closing Root WebApplicationContext: startu
    p date [Thu Sep 20 09:53:33 CEST 2012]; root of context hierarchy

    at org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(A
    bstractServer.java:827) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]
           at org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.r
    un(AbstractServer.java:417) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]
           at java.lang.Thread.run(Thread.java:662) [:1.6.0_35]

    09:53:38,712 INFO  [service] Removing bootstrap log handlers
    09:53:38,885 ERROR [ProfileServiceBootstrap] Failed to load profile:: org.jboss.
    deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deploy
    ments (SEE PREVIOUS ERRORS FOR DETAILS):

    DEPLOYMENTS IN ERROR:
     Deployment "jboss.web.deployment:war=/RA" is in error due to the following rea
    son(s): org.jboss.deployers.spi.DeploymentException: URL file:/C:/rapida/server/
    default/tmp/vfs/automounta107bb8902d34c96/RapidAnalytics_War.war-c33371d3f903839
    e/ deployment failed


    Additionaly I add my run.conf.bat:

    rem ### -*- batch file -*- ######################################################
    rem #                                                                          ##
    rem #  JBoss Bootstrap Script Configuration                                    ##
    rem #                                                                          ##
    rem #############################################################################

    rem # $Id: run.conf.bat 88820 2009-05-13 15:25:44Z dimitris@jboss.org $

    rem #
    rem # This batch file is executed by run.bat to initialize the environment
    rem # variables that run.bat uses. It is recommended to use this file to
    rem # configure these variables, rather than modifying run.bat itself.
    rem #

    REM if not "x%JAVA_OPTS%" == "x" goto JAVA_OPTS_SET

    rem #
    rem # Specify the JBoss Profiler configuration file to load.
    rem #
    rem # Default is to not load a JBoss Profiler configuration file.
    rem #
    rem set "PROFILER=%JBOSS_HOME%\bin\jboss-profiler.properties"

    rem #
    rem # Specify the location of the Java home directory (it is recommended that
    rem # this always be set). If set, then "%JAVA_HOME%\bin\java" will be used as
    rem # the Java VM executable; otherwise, "%JAVA%" will be used (see below).
    rem #
    set "JAVA_HOME=C:/Program Files (x86)/Java/jdk1.6.0_35"

    rem #
    rem # Specify the exact Java VM executable to use - only used if JAVA_HOME is
    rem # not set. Default is "java".
    rem #
    rem set "JAVA=C:\opt\jdk1.6.0_13\bin\java"

    rem #
    rem # Specify options to pass to the Java VM. Note, there are some additional
    rem # options that are always passed by run.bat.
    rem #

    rem # JVM memory allocation pool parameters - modify as appropriate.
    set "JAVA_OPTS=-Xms128M -Xmx512M -XX:MaxPermSize=256M"

    rem # Reduce the RMI GCs to once per hour for Sun JVMs.
    set "JAVA_OPTS=%JAVA_OPTS% -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000"

    rem # Warn when resolving remote XML DTDs or schemas.
    set "JAVA_OPTS=%JAVA_OPTS% -Dorg.jboss.resolver.warning=true"

    rem # Sample JPDA settings for remote socket debugging
    rem set "JAVA_OPTS=%JAVA_OPTS% -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n"

    rem # Sample JPDA settings for shared memory debugging
    rem set "JAVA_OPTS=%JAVA_OPTS% -Xrunjdwp:transport=dt_shmem,address=jboss,server=y,suspend=n"

    :JAVA_OPTS_SET
    What's wrong?
  • Nils_Woehler
    Nils_Woehler New Altair Community Member
    Hi,
    please post the full log. "09:53:38,640 ERROR [StandardContext] Context [/RA] startup failed due to previou
    s errors" says there have been previous errors.

    Best,
    Nils
  • kemoc
    kemoc New Altair Community Member
    install on another computer and there i have that: "Service ID arledy exist, overwrite this?"
    Instalation RA are correctly?

    EDIT: Add links to logs(txt):
    boot
    http://www.4shared.com/office/rnrEymqP/bootlog.html
    server
    http://www.4shared.com/office/lMIwHqUR/serverlog.html

    EDIT2:
    In C:\rapida\server\default\deploy
    there isn't rapidanalytics-ds.xml,
    there I found mysql-ds.xml, it looks like configurated.

    Thirdly, in the rapid analytics archive You have Manual in 1.0 version in the newest RA

    EDIT4:
    RA 1.1 works, but 1.3.2 Configuring the Database point of manual is not useful.
    I opened the: mysql-ds.xml from *\server\default\deploy
    and added only to the <connection-url>jdbc:mysql://localhost:3306</connection-url>
    name of data base:
    <connection-url>jdbc:mysql://localhost:3306/rapidanalytics</connection-url>
    Into this file was almost the same XML code as the rapidanalytics-mysql-ds.xml.template