Instructions On How To Deploy OpenACS (TR-069) On JBoss AS 5.1

Email this to someoneShare on Google+1Share on LinkedIn0Tweet about this on Twitter1Share on Facebook0Share on TumblrDigg this

This article focuses on the deployement of OpenACS which is a powerful open-source Automatic Configuration Server (ACS) implementing CPE configuration protocol CWMP as specified in TR-069.  At the time when I write this article I have deployed the latest version “0.4 beta” which can be directly downloaded from the link below.

download link: http://sourceforge.net/projects/openacs/files/openacs-binary/0.4/openacs-bin-0.4.zip/download

In the four sections below are different instructions on how to prepare the deployment environment, JBoss AS 5.1 GA configuration and OpenACS deployment.

Note: As OS I used RedHat Enterprise Linux 5 – theses instructions can be done otherwise in other Linux distributions or other platforms like Windows or Mac.

1. Installing JDK 1.6

To install JDK 1.6, Open the terminal, log in as root and hit this command:

root@localhost [~]# yum install java-1.6.0-sun-devel

 

2. Installing JBoss AS 5.1 GA

As it was described in the wiki page of OpenACS, the application can be only deployed on JBoss AS 4.2.x and as you know our goal is to run it under JBoss AS 5.1. Even you will use JBoss AS 5.1 next, you still need JBoss AS 4.3 in order to recover some jar files from it- So let’s download JBoss AS 4.2.3 using the link below .

download link :
   http://sourceforge.net/projects/jboss/files/JBoss/JBoss-4.2.3.GA

As a second step you have to download JBoss AS 5.1 GA on which will run OpenACS.

download link : http://sourceforge.net/projects/jboss/files/JBoss/JBoss-5.1.0.GA/jboss-5.1.0.GA-jdk6.zip/download

Installing JBoss is quite easy, after downloading the zip files you have only to decompress them using  a graphical mode or console zip utility. Follow the command as shown next, I used the unzip CLI utiliy included in the most of linux distributions.
Unzip  jboss-4.2.3.GA-jdk6.zip archive file:

root@localhost [~]# unzip jboss-4.2.3.GA-jdk6.zip

Do the same thing with jboss-5.1.0.GA-jdk6.zip archive file:

root@localhost [~]# unzip jboss-5.1.0.GA-jdk6.zip

 

Running JBoss 5.1 GA…
Now, let’s check that JBoss AS 5.1 runs with no problems, move to bin directory located in root folder of JBoss AS 5.1 and execute run.sh by following theses commands:

root@localhost [~]# cd jboss-5.1.0.GA/bin
root@localhost [~]# ./run.sh

JBoss startup can take a while, so be patient until a message like shown below will be printed in the screen. That’s fine !

10:57:18,603 INFO [ServerImpl] JBoss (Microcontainer) [5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221053)] Started in 1m:4s:686ms

 

3. Configuring JBoss AS 5.1 to support OpenACS

As a first step, copy commons-httpclient.jar from JBoss AS 4.2.3 default server lib directory to the same directory in JBoss AS 5.1.

root@localhost [~]# cp jboss-4.2.3.GA/server/default/lib/commons-httpclient.jar jboss-5.1.0.GA/server/default/lib

download JDBC driver for MySQL mysql-connector-java-5.1.0-bin.jar using this link and copy it under lib directory of JBoss AS 5.1 of the default server.

root@localhost [~]# cp /my-download-path/mysql-connector-java-5.1.0-bin.jar jboss-5.1.0.GA/server/default/lib

Edit the file deployers/ejb-deployer-jboss-beans.xml

root@localhost [~]# vi  jboss-5.1.0.GA/server/default/deployers/ejb-deployer-jboss-beans.xml

and change the property value strictVerifier from true to false like shown in this snippet:

The final step in JBoss configuration is to copy the content of JBoss AS 4.2.3 /lib/endorsed into the same of folder in JBoss AS 5.1.

root@localhost [~]# cp jboss-4.2.3.GA/lib/endorsed/*  jboss-5.1.0.GA/lib/endorsed

By default when running JBoss AS 5.1 the option -Djava.endorsed.dirs is passed in run script parameters, if not add the line shown next at the end of run.conf file found under jboss-5.1.0.GA/bin

Note: <YOUR_JBOSS_HOME> should be changed by the absolute path of JBoss installation directory.

4. Deploying OpenACS

In order to deploy OpenACS, go back to the previously downloaded archive of OpenACS binary file and unzip it.

root@localhost [~]# unzip openacs-bin-0.4.zip
root@localhost [~]# cd openacs

Copy acs.ear and openacs-ds.xml to your default deployment directory, typically to server/default/deploy under jboss AS 5.1 GA installation dir.

openacs-ds.xml should be edited to meet your DB environement. Setup MySQL database server and create database and user to match the ones you’ve configured in openacs-ds.xml
acs-service.xml goes to server/default/deploy.

Finally you can start JBoss AS 5.1.

Note: In terms of best practices, it’s highly recommended to configure JBoss to run as a service/daemon

Web interface is accessible on your installation host under url /openacs ( e.g. http://localhost:8080/openacs. device should be configured to access ACS on URL http://your_host:8080/openacs/acs.

That’s all, I hope you’ll find this helpful.
All you comments are welcomed!

Email this to someoneShare on Google+1Share on LinkedIn0Tweet about this on Twitter1Share on Facebook0Share on TumblrDigg this
Tagged , , , , . Bookmark the permalink.

31 Responses to Instructions On How To Deploy OpenACS (TR-069) On JBoss AS 5.1

  1. akhil says:

    Thank you very much for the details about the installation of openACS.
    I would appreciate if you please update all the commands related to mysql as well. I am new to mysql.

    • Walid Karray says:

      Hi,
      This is a reply to your request :
      # mysql -uroot -pRootPwd -hHostName
      > create database ACS DEFAULT CHARACTER SET utf8 ;
      > create user ACS identified by ‘ACSpwd';
      > grant all on ACS.* to ‘ACS’ identified by ‘ACSpwd';

      after that you need to update database information (user, pwd & host) in openacs data source file (openacs-ds.xml)
      that’s all !

  2. boldoo says:

    hi i installed ubuntu12.04.
    my jboss is working. but http://your_host:8080/openacs/acs is not working. if your lesson is ubuntu , how to configure openacs.

  3. Hari says:

    Hi Walid,
    Thanks for the instructions. Am trying to deploy OpenACS in Windows. I followed all the steps. After completing step 4, if I start JBoss, I get an error at the end as follows:
    14:35:18,702 ERROR [ProfileServiceBootstrap] Failed to load profile: Summary of
    incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

    DEPLOYMENTS IN ERROR:
    Deployment “vfszip:/C:/hari/tr-069/jboss-5.1.0.GA/server/default/deploy/acs.ea
    r/” is in error due to the following reason(s): org.jboss.deployers.spi.Deployme
    ntException: URL file:/C:/hari/tr-069/jboss-5.1.0.GA/server/default/tmp/aa83r-1d
    umry-hazf7he4-1-hazf8btb-9s/acs-war.war/ deployment failed

    14:35:18,722 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8
    080
    14:35:18,736 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
    14:35:18,741 INFO [ServerImpl] JBoss (Microcontainer) [5.1.0.GA (build: SVNTag=
    JBoss_5_1_0_GA date=200905221634)] Started in 46s:788ms

    Could you guide me out of this error please if possible?
    Thanks in advance.

  4. ANES says:

    Hi Mr walid, if i’m using openjdk 1.6, is that a problem with compatibility for example ?

  5. xu says:

    Hi, where is the file acs-service.xml? i don’t find this file.

    When i finish the process and try to execute the script in order to launch jboss, i get the following error:

    ERROR [JBossContextConfig] XML error parsing: context.xml

    That means this error?

    Thanks.

  6. cijoy varghese says:

    When I am trying to run jboss5.1, I am getting error like this.

    13:05:58,868 ERROR [AbstractKernelController] Error installing to Instantiated: name=AttachmentStore state=Described
    java.lang.IllegalArgumentException: Wrong arguments. new for target java.lang.reflect.Constructor expected=[java.net.URI] actual=[java.io.File]
    at org.jboss.reflect.plugins.introspection.ReflectionUtils.handleErrors(ReflectionUtils.java:395)
    at org.jboss.reflect.plugins.introspection.ReflectionUtils.newInstance(ReflectionUtils.java:153)
    at org.jboss.reflect.plugins.introspection.ReflectConstructorInfoImpl.newInstance(ReflectConstructorInfoImpl.java:106)
    at org.jboss.joinpoint.plugins.BasicConstructorJoinPoint.dispatch(BasicConstructorJoinPoint.java:80)
    at org.jboss.aop.microcontainer.integration.AOPConstructorJoinpoint.createTarget(AOPConstructorJoinpoint.java:282)
    at org.jboss.aop.microcontainer.integration.AOPConstructorJoinpoint.dispatch(AOPConstructorJoinpoint.java:103)
    at org.jboss.kernel.plugins.dependency.KernelControllerContextAction$JoinpointDispatchWrapper.execute(KernelControllerContextAction.java:241)
    at org.jboss.kernel.plugins.dependency.ExecutionWrapper.execute(ExecutionWrapper.java:47)
    at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchExecutionWrapper(KernelControllerContextAction.java:109)
    at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:70)
    at org.jboss.kernel.plugins.dependency.InstantiateAction.installActionInternal(InstantiateAction.java:66)
    at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54)
    at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42)
    at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
    at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
    at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
    at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
    at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
    at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
    at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
    at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
    at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:774)
    at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:540)
    at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBean(AbstractKernelDeployer.java:319)
    at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBeans(AbstractKernelDeployer.java:297)
    at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deploy(AbstractKernelDeployer.java:130)
    at org.jboss.kernel.plugins.deployment.BasicKernelDeployer.deploy(BasicKernelDeployer.java:76)
    at org.jboss.bootstrap.microcontainer.TempBasicXMLDeployer.deploy(TempBasicXMLDeployer.java:91)
    at org.jboss.bootstrap.microcontainer.TempBasicXMLDeployer.deploy(TempBasicXMLDeployer.java:161)
    at org.jboss.bootstrap.microcontainer.ServerImpl.doStart(ServerImpl.java:138)
    at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:450)
    at org.jboss.Main.boot(Main.java:221)
    at org.jboss.Main$1.run(Main.java:556)
    at java.lang.Thread.run(Thread.java:722)
    Failed to boot JBoss:
    java.lang.IllegalStateException: Incompletely deployed:

    DEPLOYMENTS IN ERROR:
    Deployment “AttachmentStore” is in error due to: java.lang.IllegalArgumentException: Wrong arguments. new for target java.lang.reflect.Constructor expected=[java.net.URI] actual=[java.io.File]

    DEPLOYMENTS MISSING DEPENDENCIES:
    Deployment “ProfileServiceDeployer” is missing the following dependencies:
    Dependency “AttachmentStore” (should be in state “Installed”, but is actually in state “**ERROR**”)
    Deployment “ProfileService” is missing the following dependencies:
    Dependency “ProfileServiceDeployer” (should be in state “Installed”, but is actually in state “Instantiated”)
    Dependency “jboss.kernel:service=KernelController” (should be in state “Installed”, but is actually in state “**ERROR**”)
    Deployment “ProfileServicePersistenceDeployer” is missing the following dependencies:
    Dependency “AttachmentStore” (should be in state “Installed”, but is actually in state “**ERROR**”)
    Deployment “ProfileServiceBootstrap” is missing the following dependencies:
    Dependency “jboss.kernel:service=Kernel” (should be in state “Installed”, but is actually in state “**ERROR**”)
    Dependency “ProfileService” (should be in state “Installed”, but is actually in state “Instantiated”)

    at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.internalValidate(AbstractKernelDeployer.java:278)
    at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.validate(AbstractKernelDeployer.java:174)
    at org.jboss.bootstrap.microcontainer.ServerImpl.doStart(ServerImpl.java:142)
    at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:450)
    at org.jboss.Main.boot(Main.java:221)
    at org.jboss.Main$1.run(Main.java:556)
    at java.lang.Thread.run(Thread.java:722)
    13:05:59,235 INFO [ServerImpl] Runtime shutdown hook called, forceHalt: true
    13:05:59,240 INFO [ServerImpl] Shutdown complete
    Shutdown complete
    Halting VM

  7. qa.nguyen says:

    When I am trying to run jboss5.1 on Windows, it shows many errors like:

    DEPLOYMENTS IN ERROR:
    Deployment “vfszip:/D:/Apps/jboss-5.1.0.GA/server/default/deploy/acs.ear/” is
    in error due to the following reason(s): java.lang.ClassNotFoundException: org.a
    pache.commons.httpclient.Credentials from BaseClassLoader@7f4a6c40{VFSClassLoade
    rPolicy@6f091f09{name=vfszip:/D:/Apps/jboss-5.1.0.GA/server/default/deploy/acs.e
    ar/ domain=ClassLoaderDomain@d34eb84{name=DefaultDomain parentPolicy=BEFORE pare
    nt=org.jboss.bootstrap.NoAnnotationURLClassLoader@39d99a4d} roots=[MemoryContext
    Handler@1070907602[path= context=vfsmemory://a2g1w3c-an96za-hgj4wvku-1-hgj4x3uk-
    2c real=vfsmemory://a2g1w3c-an96za-hgj4wvku-1-hgj4x3uk-2c], DelegatingHandler@68
    3621307[path=acs.ear context=file:/D:/Apps/jboss-5.1.0.GA/server/default/deploy/
    real=file:/D:/Apps/jboss-5.1.0.GA/server/default/deploy/acs.ear], DelegatingHan
    dler@585795299[path=acs.ear/acs-ejb.jar context=file:/D:/Apps/jboss-5.1.0.GA/ser
    ver/default/deploy/ real=file:/D:/Apps/jboss-5.1.0.GA/server/default/deploy/acs.
    ear/acs-ejb.jar], DelegatingHandler@1396552445[path=acs.ear/js.jar context=file:
    /D:/Apps/jboss-5.1.0.GA/server/default/deploy/ real=file:/D:/Apps/jboss-5.1.0.GA
    /server/default/deploy/acs.ear/js.jar]] delegates=null exported=[org.mozilla.ja
    vascript.jdk15, org.mozilla.javascript.jdk13, org.mozilla.javascript.xml.impl.xm
    lbeans, org.mozilla.javascript.jdk11, org.mozilla.javascript, org.openacs.ws, or
    g.openacs.message, org.mozilla.javascript.resources, org.mozilla.javascript.xml,
    org.mozilla.javascript.serialize, org.mozilla.javascript.tools, org.openacs.ven
    dors, org.openacs.js, org.mozilla.javascript.xmlimpl, org.mozilla.javascript.too
    ls.resources, org.mozilla.javascript.tools.idswitch, org.mozilla.javascript.rege
    xp, org.mozilla.javascript.continuations, org.mozilla.javascript.tools.jsc, org.
    mozilla.javascript.optimizer, META-INF, org.mozilla.javascript.tools.shell, org.
    openacs, META-INF.wsdl, org.mozilla.classfile, org.openacs.utils, org.mozilla.ja
    vascript.debug] NON_EMPTY}}

  8. R.S says:

    Hi,

    I use openACS on JBoss Server.
    when I launch a connection request from ACS, I obtained the following displaying on ACS;Connection request URL:

    http://**:51005/Last Conreq: http://www.my-http-server.com

    and on server log, these traces:

    013-05-09 17:58:35,037 DEBUG [httpclient.wire.header] << "Location: http://www.my-http-server.com/redirect.cgi\r][\n]"
    2013-05-09 17:58:35,037 DEBUG [httpclient.wire.content] << "Object moved to here.[\r][\n]"
    2013-05-09 17:58:35,053 INFO [STDOUT] Conreq exception java.net.UnknownHostException:www.my-http-server.com

    Any idea about this redirection? why the server redirect my request to "my-http-server.com"?

    Thanks for your help.

  9. Cijoy Varghese says:

    I am successfully deployed an openacs and my cpe is communication with ACS is fine . But I am not able to set parameter values from the openacs side . Is there any provision for this in openacs ?

  10. Gaurav Gupta says:

    Automatic configuration server (ACS) implementing CPE configuration protocol CWMP as specified in TR-069.

    1.Download OpenACS-bin-0.5.zip from https://sourceforge.net/p/openacs/wiki/Home/
    Note: To get OpenACS running you should:
    Setup on your machine JBoss 4.2.2 and Java JDK 1.5. To run with JDK6 jboss 4.2.x binary for jdk6 must be used.

    2. Deploying:-
    1.Install into JBoss MySQL JDBC driver. Download Connector/J and after extracting from archive put the file mysql-connector-java-5.1.5-bin.jar (or whatever version number) into directory your_jboss_location\server\default\lib.

    2.Restart JBoss.
    Configure data source in jboss by creating openacs-ds.xml in JBoss default deployment directory, by default JBoss_installation_dir/server/default/deploy openacs-ds.xml:

    ACS
    your_db_url, e.g. jdbc:mysql://localhost/ACS
    com.mysql.jdbc.Driver
    your_db_user
    your_db_password
    5
    20
    5

    3.Setup MySQL database server and create database and user to match the ones you’ve configured in previous step. e.g connect to your server and execute these commands
    CREATE DATABASE ACS;
    GRANT ALL ON ACS.* TO your_db_user IDENTIFIED BY ‘your_db_password';
    Create file openacs-service.xml in JBoss_installation_dir/server/default/deploy/jms openacs-service.xml:

    jboss.mq:service=DestinationManager

    4. Copy openacs.ear to JBoss_installation_dir/server/default/deploy.
    Ensure that jboss is listening on network interfaces not only to localhost. Do so by starting jboss with option -b server_ip_address or jboss -b 0.0.0.0 to listen on all available interfaces.

    3.Running
    Web interface is accessible at http://your.server.ip:8080/openacs/index.jsf.
    You should configure your CPE with the URL of ACS, it is http://your.server.ip:8080/openacs/acs.

  11. Lester says:

    I can reach 10.10.10.36:8080 but /openacs is not working.
    Installed on debian.
    Can someone help me with this?

    — Incompletely deployed packages —
    org.jboss.deployment.DeploymentInfo@c8c60903 { url=file:/opt/jboss/server/default /deploy/acs.ear }
    deployer: org.jboss.deployment.EARDeployer@179b7b0
    status: Deployment FAILED reason: URL file:/opt/jboss/server/default/tmp/deploy /tmp7195687109368093404acs.ear-contents/acs-war-exp.war/ deployment failed
    state: FAILED
    watch: file:/opt/jboss/server/default/deploy/acs.ear
    altDD: null
    lastDeployed: 1376988595273
    lastModified: 1376988595000
    mbeans:

    — MBeans waiting for other MBeans —
    ObjectName: jboss.j2ee:service=EjbModule,module=acs-ejb.jar
    State: FAILED
    Reason: org.jboss.deployment.DeploymentException: Error while fixing table name ; – nested throwable: (org.jboss.util.NestedSQLException: Could not create connec tion; – nested throwable: (org.jboss.resource.JBossResourceException: Apparently wrong driver class specified for URL: class: com.mysql.jdbc.Driver, url: your_db_ url, e.g. jdbc:mysql://10.10.10.36/ACS); – nested throwable: (org.jboss.resource. JBossResourceException: Could not create connection; – nested throwable: (org.jbo ss.resource.JBossResourceException: Apparently wrong driver class specified for U RL: class: com.mysql.jdbc.Driver, url: your_db_url, e.g. jdbc:mysql://10.10.10.36 /ACS)))

    ObjectName: jboss.web.deployment:war=acs-war.war,id=-1664876534
    State: FAILED
    Reason: org.jboss.deployment.DeploymentException: URL file:/opt/jboss/server/de fault/tmp/deploy/tmp7195687109368093404acs.ear-contents/acs-war-exp.war/ deployme nt failed

    — MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM —
    ObjectName: jboss.web.deployment:war=acs-war.war,id=-1664876534
    State: FAILED
    Reason: org.jboss.deployment.DeploymentException: URL file:/opt/jboss/server/de fault/tmp/deploy/tmp7195687109368093404acs.ear-contents/acs-war-exp.war/ deployme nt failed

    ObjectName: jboss.j2ee:service=EjbModule,module=acs-ejb.jar
    State: FAILED
    Reason: org.jboss.deployment.DeploymentException: Error while fixing table name ; – nested throwable: (org.jboss.util.NestedSQLException: Could not create connec tion; – nested throwable: (org.jboss.resource.JBossResourceException: Apparently wrong driver class specified for URL: class: com.mysql.jdbc.Driver, url: your_db_ url, e.g. jdbc:mysql://10.10.10.36/ACS); – nested throwable: (org.jboss.resource. JBossResourceException: Could not create connection; – nested throwable: (org.jbo ss.resource.JBossResourceException: Apparently wrong driver class specified for U RL: class: com.mysql.jdbc.Driver, url: your_db_url, e.g. jdbc:mysql://10.10.10.36 /ACS)))

  12. Alex says:

    Followed the instructions exactly (thanks from a JBOSS newbie, btw!). Now, when I attempt to surf to http://my.url/:8080/openacs, I get a 404 (description The requested resource (/openacs) is not available.).

    When perusing /usr/local/jboss-5.1.0.GA/server/default/log, I find the following entry:

    DEPLOYMENTS IN ERROR:
    Deployment “vfszip:/usr/local/jboss-5.1.0.GA/server/default/deploy/acs.ear/” is in error due to the following reason(s): com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Specified key was too long; max key length is 1000 bytes

    Grepping the internet, this looks like a UTF8 MySql error related to the indexing function of OpenACS. I haven’t found a proper explanation, nor a proper fix, for this problem.

    Can you help?

    TIA!

  13. Niclole says:

    hi,@Walid Karray , I have installed the openacs following your step,but I don’t know how to install the test client to uesing the openacs to find the cpe and other operations.Can you give me a help document or a site to download the test client ?

  14. Konstantin says:

    Hi! I have problem with running jboss. This is the first error message that appears when jboss start:

    08:02:23,268 ERROR [JBossContextConfig] XML error parsing: context.xml
    org.jboss.xb.binding.JBossXBRuntimeException: Failed to create a new SAX parser
    at org.jboss.xb.binding.UnmarshallerFactory$UnmarshallerFactoryImpl.newUnmarshaller(UnmarshallerFactory.java:100)
    at org.jboss.web.tomcat.service.deployers.JBossContextConfig.processContextConfig(JBossContextConfig.java:549)
    at org.jboss.web.tomcat.service.deployers.JBossContextConfig.init(JBossContextConfig.java:536)
    at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:279)
    at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
    at org.apache.catalina.core.StandardContext.init(StandardContext.java:5436)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4148)
    ……………………………………………………………………….

    How can I solve this problem?

    Thanks!

  15. Kent says:

    Hi
    I want to deploy openacs on jboss 7.1
    I use this article’s step to deploy ,but it can’t work!
    Have any idea to solve it?

  16. Amateur_OpenACS says:

    Hi,

    My question is about the API, does the OpenACS support the API?

    If yes, should I implement it and how?

    Thanks a lot for your help

  17. omkar says:

    Trying to run openacs on fedora but getting 404 error:Requested resource is not availible

  18. souha says:

    when I attempt to surf to http://my.url/:8080/openacs, I get a 404 (description The requested resource (/openacs) is not available.).
    i downloaded openacs from https://sourceforge.net but i can’t find build.xml in it to build it with ant could you help me please

  19. Mthiew says:

    Hi Walid,
    Thank you very much on the tutorial you brought for us. Very good contribution on the OpenACS community.
    Where can we find source code for the application packaged in the ear.
    Thanks again.

  20. leo says:

    Thank you a lot , it is very useful info for me and helpful.

  21. walter says:

    3ks and helpful.
    moreover, if you want to visit “http://:8080/openacs” instead of “http://localhost:8080/openacs” from other hosts, may be the following change will make it work:
    vi jboss-5.1.0.GA/server/default/deploy/jbossweb.sar/server.xml
    “<Connector protocol="HTTP/1.1" port="8080" address="${jboss.bind.address}"" to "<Connector protocol="HTTP/1.1" port="8080" address="0.0.0.0""

  22. whoah this blog iis wonderful i really like reading your posts.
    Stay up the great work! You understand, a lot of persons are searching
    around for this information, you caan help them greatly.

    My blog: dedicated servers

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre user="" computer="" escaped="" class="" title="" data-url=""> <span class="" title="" data-url="">