[JBoss Portal] - Newbie Portal Question
by dcostelloe
Hi,
I have my portal running on my www.domain.com
Using the below configuration I am able to see the:
JBoss Application Server when a request is sent to www.domain.com. Instead I would like to see the default portal show up instead of the application server.
Here are my Configurations
==================
httpd.conf:
| LoadModule jk_module /usr/lib/apache2/modules/mod_jk.so
|
| JkWorkersFile /etc/apache2/workers.properties
| JkShmFile /var/log/httpd/mod_jk.shm
| JkLogFile /etc/apache2/logs/mod_jk.log
| JkLogLevel info
| JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
|
|
workers.properties
=============
| worker.list=worker1
| worker.worker1.type=ajp13
| worker.worker1.host=localhost
| worker.worker1.port=8009
|
| # Define Node1
| # modify the host as your host IP or DNS name.
| worker.node1.port=8009
| worker.node1.host=node1.welford-costelloe.com
| worker.node1.type=ajp13
| worker.node1.lbfactor=1
| # worker.node1.connection_pool_size=10 (1)
|
| # Define Node2
| # modify the host as your host IP or DNS name.
| #worker.node2.port=8009
| #worker.node2.host= node2.mydomain.com
| #worker.node2.type=ajp13
| #worker.node2.lbfactor=1
| # worker.node1.connection_pool_size=10 (1)
|
| # Load-balancing behaviour
| worker.loadbalancer.type=lb
| worker.loadbalancer.balance_workers=node1
| #,node2
|
| # Status worker for managing load balancer
| worker.status.type=status
|
Apache2 Default
===========
| NameVirtualHost *:80
| <VirtualHost *:80>
| ServerAdmin webmaster@localhost
| ServerName welford-costelloe.com
| DocumentRoot /www/www.welford-costelloe.com/
|
| Options FollowSymLinks
| #AllowOverride None
|
| <Directory /www/www.welford-costelloe.com/>
| Options Indexes FollowSymLinks MultiViews
| AllowOverride None
| Order allow,deny
| allow from all
| # This directive allows us to have apache2's default start page
| # in /apache2-default/, but still have / go to the right place
| #RedirectMatch ^/$ /apache2-default/
| </Directory>
| ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
| <Directory "/usr/lib/cgi-bin">
| AllowOverride None
| Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
| Order allow,deny
| Allow from all
| </Directory>
|
| ServerSignature On
| LogLevel warn
|
| ErrorLog /var/log/apache2/www.welford-costelloe.com-error_log
| TransferLog logs/www.welford-costelloe.com-access_log
|
| JkMount /* worker1
|
| #
| # allow from all
| #
| Alias /doc/ "/usr/share/doc/"
| <Directory "/usr/share/doc/">
| Options Indexes MultiViews FollowSymLinks
| AllowOverride None
| Order deny,allow
| Deny from all
| Allow from 127.0.0.0/255.0.0.0 ::1/128
| allow from all
| </Directory>
|
| </VirtualHost>
|
|
If anyone could help it would be greatly appreciated.
Thanks
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4109566#4109566
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4109566
17 years, 1 month
[JBossWS] - Re: jbossws-2.0.2 released (Mac OS X glitch)
by jsolderitsch
There is no tools.jar in the Java SDK for Mac OS X.
That causes the install from the binary distribution to fail
jjsmacpro:~/Documents/Downloads/jbossws-native-2.0.2.GA jjs$ ant deploy-jboss422
| Buildfile: build.xml
|
| BUILD FAILED
| /Users/jjs/Documents/Downloads/jbossws-native-2.0.2.GA/build.xml:94: The following error occurred while executing this line:
| /Users/jjs/Documents/Downloads/jbossws-native-2.0.2.GA/tests/ant-import/build-testsuite.xml:44: Not available: /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/tools.jar, /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/../lib/tools.jar
Advice? I believe all of the stuff that is normally part of tools.jar is available elsewhere in the Java SDK.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4109556#4109556
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4109556
17 years, 1 month
[JBoss Seam] - Re: No session context for @WebMethod-call
by jsolderitsch
"shane.bryzak(a)jboss.com" wrote : You need a file called standard-jaxws-endpoint-config.xml deployed in the meta-inf directory of the jar file containing your web service classes. The contents of this file are described in the Web Services chapter of the reference docs.
I thought I was clear on this -- I did have this endpoint file included where it was supposed to be.
But as you pointed out in your reply to my new topic related to this subject, the problem turned out to be the service endpoint URL being wrong. Instead of AuctionServiceService, I needed to use jboss-seam-bay-jboss-seam-bay.
This usage was unexpected and not documented anywhere that I could see.
But with this information, I am able to get the demo seam-bay web service to act as expected.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4109555#4109555
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4109555
17 years, 1 month