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:
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:
Do the same thing with jboss-5.1.0.GA-jdk6.zip archive file:
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:
JBoss startup can take a while, so be patient until a message like shown below will be printed in the screen. That’s fine !
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.
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.
Edit the file deployers/ejb-deployer-jboss-beans.xml
and change the property value strictVerifier from true to false like shown in this snippet:
<!-- Setting this to 'true' will cause all deployments to fail when the Verifier detected a problem with the contained Beans. If false, warnings/errors will be logged but the deployment will not fail. --> <property name="strictVerifier"><strong>false</strong></property> </bean>
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.
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
JAVA_OPTS="$JAVA_OPTS -Djava.endorsed.dirs=<YOUR_JBOSS_HOME>/lib/endorsed"
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.
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!
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 !
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.
Walid Karray says:
Hi boldoo, Jboss is compatible with most Linux distributions, as I mentioned in the beginning of my article, I have used Redhat Enterprise Linux- If Jboss started and 8080 port was not opened, It could be a port conflict with another application. I need to inspect your server.log file please send me last 50 lignes.
boldoo says:
http://pierky.wordpress.com/2009/02/07/installing-tr-069-openacs-on-a-fresh-debian-setup/
I followed this guide. This command is not working
apt-get install java-package.
what is java-package? can i installed openjdk-7-jdk?
I installed jboss4.2.3 openjdk-7-jdk.
but ant is not working.
Please help me.
Walid Karray says:
Install Open JDK 6 (not 7) using the following command under ubuntu 12.xx:
sudo apt-get install openjdk-6-jre openjdk-6-jdk
And it works
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.
Walid Karray says:
Try to deploy when JBoss is stopped, then start JBoss.
ANES says:
Hi Mr walid, if i’m using openjdk 1.6, is that a problem with compatibility for example ?
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.
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
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 [email protected]{VFSClassLoade
[email protected]{name=vfszip:/D:/Apps/jboss-5.1.0.GA/server/default/deploy/acs.e
ar/ [email protected]{name=DefaultDomain parentPolicy=BEFORE pare
[email protected]} roots=[MemoryContext
[email protected][path= context=vfsmemory://a2g1w3c-an96za-hgj4wvku-1-hgj4x3uk-
2c real=vfsmemory://a2g1w3c-an96za-hgj4wvku-1-hgj4x3uk-2c], [email protected]
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
[email protected][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], [email protected][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}}
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%5B\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.
Walid Karray says:
your problem is related to hostname resolution:
look to this message: “Conreq exception java.net.UnknownHostException:www.my-http-server.com”
it seems that hostname: http://www.my-http-server.com does not exits in your DNS server or locally in hosts file. to resolve this go to /etc/hosts file and add the ip address of http://www.my-http-server.com like this way [[xxx.xxx.Xxx.xxx : is the server’s ip addr]]
—————————–/etc/hosts——————————————————
….
…
xxx.xxx.xxx.xxx http://www.my-http-server.com
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 ?
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.
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 —
[email protected] { url=file:/opt/jboss/server/default /deploy/acs.ear }
deployer: [email protected]
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)))
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!
Alex says:
Found the answer.
The problem is not in the encoding, it’s in the storage engine.
By default, the MySQL installation used the MyISAM storage engine. From page https://confluence.atlassian.com/display/CONFKB/Database+Errors+when+Using+MySQL+and+MyISAM+Tables, I needed to change to InnoDB using the following MySQL commands:
use ACS;
set GLOBAL storage_engine=’InnoDb’;
then restarting JBOSS.
Everything works now, and I hope this helps someone else.
Walid Karray says:
Thank you very much @Alex by sharing the solution for your issue
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 ?
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!
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?
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
omkar says:
Trying to run openacs on fedora but getting 404 error:Requested resource is not availible
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
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.
leo says:
Thank you a lot , it is very useful info for me and helpful.
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""
walter says:
display issue:
“http://:8080/openacs” is ““http://jboss_server_ip:8080/openacs” “
dedicated servers says:
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
Kenneth says:
Hi, we are using openACS with jboss4/jdk6. Any possibility make TLSv1.1 and TLS V1.2 work? Can openACS run on jboss 6 or 7 with JDK 7 for instance to have latest TLS ? Thanks.
AMAN says:
Hi Walid ,
Thanks for the detailed steps
I am facing one issue while opening following url:
localhost:8080/openacs/acs
It results NullPointerExecption
If I send the Inform request from CPE then ACS repond with tags
Even localhost:8080/openacs/ open successfully.I have tried alot but not succeed
Could you please suggest
peter says:
Hi,how can I set a user/passwd to http://localhost:8080/openacs? I tried to enable security in jboss-web.xml,but it not work
John says:
How to download open ASC. Could you share it?
johny says:
How can i get User authentication From wan device show in data base because i need to create dashboard show user information list
nitesh kumar says:
hi,
i am able to install jboss and acs is also successfully deployed .I want to use ACS for tr069.
tr069 is sending inform request to ACS but ACS is sending default response (file: index.xhtml).
problem 1: ACS is sending in .html format but tr069 need .xml format.
problem 2: how to change default inform response .
Jeffry says:
Hi there everyone, it’s my first visi at this site, and ppiece
of writing is actually fruitful in favor of me,
keep up posting these types of articles.
karim says:
Hi,
jboss and acs are successfully deployed but i can’t connect to the server from my CPE or from web browser via http://127.0.0.1:8080/openacs/acs
i got the following error on jboss terminal :
17:52:56,982 ERROR [[ACS servlet]] Servlet.service() for servlet ACS servlet threw exception
java.lang.NullPointerException
at org.openacs.ACSServlet.RunConfigurator(ACSServlet.java:632)
at org.openacs.ACSServlet.processRequest(ACSServlet.java:522)
at org.openacs.ACSServlet.doGet(ACSServlet.java:595)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:679)
karim says:
Fixed by starting jboss like this :
./run.sh -b 0.0.0.0
Linc says:
https://github.com/ethanpeng/openacs this link is usefull if you need to install this. I made it on a fresh install of ubuntu 15.10 and works fine. Just read the readme. Two easily inputs on the terminal and the openacs server is up ^^
xxx says:
With havin so much written cⲟntent do you ever run into any issues of plagorism or
copyright violation? My blog has a lߋt of completelу uniqսe content I’ve
either created myself or outsouгced but it appеarѕ a lot
of it is popping it uр all over the internet without my agreement.
Do you know any techniques to help stop content from being stolen? Ι’d genuinely appreciɑte it.
jab wong says:
hi,i can not download OpenACS from your link, could you provide a new one?
Pranati Trivedi says:
Hi, I have deployed openacs on windows. I can see my TR69 device on OpenACS. But I send a Connection Request URL. It shows timed out error. What can be the solution ?
05:16:14,270 INFO [STDOUT] Connection request START
05:16:35,360 INFO [HttpMethodDirector] I/O exception (java.net.ConnectException) caught when processing request: Connection timed out: connect
05:16:35,361 INFO [HttpMethodDirector] Retrying request
05:16:56,364 INFO [HttpMethodDirector] I/O exception (java.net.ConnectException) caught when processing request: Connection timed out: connect
05:16:56,364 INFO [HttpMethodDirector] Retrying request
05:17:17,375 INFO [HttpMethodDirector] I/O exception (java.net.ConnectException) caught when processing request: Connection timed out: connect
05:17:17,375 INFO [HttpMethodDirector] Retrying request
05:17:38,382 INFO [STDOUT] Conreq exception java.net.ConnectException:Connection timed out: connect
In TR69_log.txt I am getting this error.
1. 200422-23:27:53.603428 [mod=TR69, lvl=ERROR] [tid=14356] Failed to process the CWMP SOAP Header.
200422-23:27:53.603488 [mod=TR69, lvl=ERROR] [tid=14356] Failed to process Envelope number 1
After I used iptables command , if firewall is blocking.
iptables -I INPUT -p tcp –dport 7547 -j ACCEPT
iptables -t nat -F
I got this error.
3. 200422-23:49:11.176192 [mod=TR69, lvl=ERROR] [tid=9192] ACS Request is not authenticated, try again
23:00:53,962 INFO [HttpMethodDirector] Failure authenticating with DIGEST ‘Cisco_CCSP_CWMP_TCPCR’@192.168.1.207:7547
23:00:53,963 INFO [STDOUT] 401
401 UnauthorizedAuthorization RequiredThis server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn’t understand how to supply the credentials required
23:00:53,963 INFO [STDOUT] Conreq exception java.lang.Exception:Failed: status=401