[Beginner's Corner] - apache2 + jboss5 + ubuntu
by nsanz
Hello, I configure apache to serve to jboss trough ajp, the configuration was:
[jk.conf]
| # Where to find workers.properties
| JkWorkersFile /etc/libapache2-mod-jk/workers.properties
|
| # Where to put jk logs
| JkLogFile /var/log/apache2/mod_jk.log
|
| # Set the jk log level [debug/error/info]
| JkLogLevel error
| JkShmFile /var/log/apache2/jk-runtime-status
|
| # Select the log format
| JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
|
| # JkOptions indicate to send SSL KEY SIZE,
| JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
|
| # JkRequestLogFormat set the request format
| JkRequestLogFormat "%w %V %T"
|
| # Send servlet for context / jsp-examples to worker named worker1
| #JkMount /jsp-examples ajp13_worker
|
| # Send JSPs for context /jsp-examples/* to worker named worker1
| #JkMount /jsp-examples/* ajp13_worker
| #EJB-war
| #JkMount /EJB-war ajp13_worker
| #JkMount /EJB-war/* ajp13_worker
| #JkMount /* ajp13_worker
| #JkMount /*-war/ ajp13_worker
| #JkAutoAlias /home/nsanz/Apps/jboss-5.1.0.GA/server/default/deploy/
| JkAutoAlias /usr/local/jboss/server/default/deploy/
| JkMount /EJB-war/* ajp13_worker
|
| <Location /jkstatus>
| JkMount status
| Order deny,allow
| Allow from all
| </Location>
|
[workers.properties]
| ps=/
| worker.list=ajp13_worker
| worker.ajp13_worker.port=8009
| worker.ajp13_worker.host=128.0.0.1
| worker.ajp13_worker.type=ajp13
| worker.ajp13_worker.lbfactor=1
| worker.loadbalancer.type=lb
| worker.loadbalancer.balance_workers=ajp13_worker
|
[jbossweb.sar/server.xml]
| <Connector protocol="AJP/1.3" port="8009" address="${jboss.bind.address}"
| redirectPort="8443" />
| <Engine name="jboss.web" defaultHost="localhost" jvmRoute="ajp13_worker">
|
the problem was wen I trie to enter http://serverip/EJB-war
apache responde that the page is unavailable
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260167#4260167
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260167
16 years, 8 months
[Installation, Configuration & Deployment] - Web Configuration with all admin tools
by bwalker55
I'd like to use a configuration based on the 'web' configuration, but add the other two admin tools: Admin console, and web-console (jmx-console already comes bundled).
I've added admin-console.war and management/* from the 'default' config to the 'web' config.
Admin console works, but web-console does not.
The following errors are probably related and appear at startup:
10:33:13,096 ERROR [ProfileServiceBootstrap] Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
|
| DEPLOYMENTS MISSING DEPENDENCIES:
| Deployment "jboss.admin:service=PluginManager" is missing the following dependencies:
| Dependency "jboss.jmx:name=Invoker,protocol=jrmp,service=proxyFactory,type=adaptor" (should be in state "Create", but is actually in state "** NOT FOUND Depends on 'jboss.jmx:name=Invoker,protocol=jrmp,service=proxyFactory,type=adaptor' **")
| Deployment "jboss.web.deployment:war=/web-console" is missing the following dependencies:
| Dependency "jboss.admin:service=PluginManager" (should be in state "Create", but is actually in state "Configured")
|
| DEPLOYMENTS IN ERROR:
| Deployment "jboss.jmx:name=Invoker,protocol=jrmp,service=proxyFactory,type=adaptor" is in error due to the following reason(s): ** NOT FOUND Depends on 'jboss.jmx:name=Invoker,protocol=jrmp,service=proxyFactory,type=adaptor' **
What else do I need to add to add to the 'web' configuration to make the web-console work? If there is a document somewhere that tells how to add/remove services (and the interdependencies) that would help also.
Thanks, Bob.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260150#4260150
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260150
16 years, 8 months