windsofhell 26 de jun. de 2008
Cara, nao sei como eh no JBoss, mas no Tomcat tem um arquivo chamado server.xml no diretorio conf.
Edita ele e procura Connector port=“8080” ai eh so trocar 8080 para 80.
//Daniel
fpavao 26 de jun. de 2008
Mudar:
& lt ; !-- A HTTP / 1.1 Connector on port 8080 --& gt ;
& lt ; Connector port = "8080" address = "${jboss.bind.address}"
maxThreads = "250" strategy = "ms" maxHttpHeaderSize = "8192"
emptySessionPath = "true"
enableLookups = "false" redirectPort = "8443" acceptCount = "100"
connectionTimeout = "20000" disableUploadTimeout = "true" /& gt ;
No arquivo:
\jboss-xxx.GA\server\all\deploy\jbossweb-tomcat55.sar\server.xml
paribe 26 de jun. de 2008
caro fernando,
não tem jbossweb-tomcat55.sar esse diretório no JBOSS que instalei será
que instalei o programa certo ???
o que tem é isso :
ejb3.deployer
httpha-invoker.sar
jboss-aop-jdk50.deployer
jboss-bean.deployer
jboss-web.deployer
jboss-web-cluster.sar
jbossws.sar
jms …etc menos esse
windsofhell 26 de jun. de 2008
paribe:
caro fernando,
não tem jbossweb-tomcat55.sar esse diretório no JBOSS que instalei será
que instalei o programa certo ???
o que tem é isso :
ejb3.deployer
httpha-invoker.sar
jboss-aop-jdk50.deployer
jboss-bean.deployer
jboss-web.deployer
jboss-web-cluster.sar
jbossws.sar
jms …etc menos esse
vai no terminal eh da um find.
find . -name ‘server.xml’
ou usa o search do ruindows.
//Daniel
paribe 26 de jun. de 2008
Olá,
com TomCat eu conheço agora queria usar JBOSS e estou com esse problema…
o unico arquivo que achou o conteudo com 8080 é esse e não tem nada com TOMCAT …
jboss-service.xml
& lt ;? xml version = "1.0" encoding = "UTF-8" ? & gt ;
& lt ;! DOCTYPE server & gt ;
& lt ;! -- $ Id : jboss - service . xml 35473 2005 - 08 - 30 17 : 38 : 39 Z jmoran $ --& gt ;
& lt ; server & gt ;
& lt ;! -- The HTTP invoker service configration
--& gt ;
& lt ; mbean code = "org.jboss.invocation.http.server.HttpInvoker"
name = "jboss:service=invoker,type=http" & gt ;
& lt ;! -- Use a URL of the form http : //<hostname>:8080/invoker/EJBInvokerServlet
where & lt ; hostname & gt ; is InetAddress . getHostname value on which the server
is running .
--& gt ;
& lt ; attribute name = "InvokerURLPrefix" & gt ; http : //</attribute>
& lt ; attribute name = "InvokerURLSuffix" & gt ;: 8080 / invoker / EJBInvokerServlet & lt ; / attribute & gt ;
& lt ; attribute name = "UseHostName" & gt ; true & lt ; / attribute & gt ;
& lt ; / mbean & gt ;
& lt ; mbean code = "org.jboss.invocation.http.server.HttpInvokerHA"
name = "jboss:service=invoker,type=httpHA" & gt ;
& lt ;! -- Use a URL of the form http : //<hostname>:8080/invoker/EJBInvokerHAServlet
where & lt ; hostname & gt ; is InetAddress . getHostname value on which the server
is running .
--& gt ;
& lt ; attribute name = "InvokerURLPrefix" & gt ; http : //</attribute>
& lt ; attribute name = "InvokerURLSuffix" & gt ;: 8080 / invoker / EJBInvokerHAServlet & lt ; / attribute & gt ;
& lt ; attribute name = "UseHostName" & gt ; true & lt ; / attribute & gt ;
& lt ; / mbean & gt ;
& lt ;! -- Expose the Naming service interface via HTTP --& gt ;
& lt ; mbean code = "org.jboss.invocation.http.server.HttpProxyFactory"
name = "jboss:service=invoker,type=http,target=Naming" & gt ;
& lt ;! -- The Naming service we are proxying --& gt ;
& lt ; attribute name = "InvokerName" & gt ; jboss : service = Naming & lt ; / attribute & gt ;
& lt ;! -- Compose the invoker URL from the cluster node address --& gt ;
& lt ; attribute name = "InvokerURLPrefix" & gt ; http : //</attribute>
& lt ; attribute name = "InvokerURLSuffix" & gt ;: 8080 / invoker / JMXInvokerServlet & lt ; / attribute & gt ;
& lt ; attribute name = "UseHostName" & gt ; true & lt ; / attribute & gt ;
& lt ; attribute name = "ExportedInterface" & gt ; org . jnp . interfaces . Naming & lt ; / attribute & gt ;
& lt ; attribute name = "JndiName" & gt ; & lt ; / attribute & gt ;
& lt ; attribute name = "ClientInterceptors" & gt ;
& lt ; interceptors & gt ;
& lt ; interceptor & gt ; org . jboss . proxy . ClientMethodInterceptor & lt ; / interceptor & gt ;
& lt ; interceptor & gt ; org . jboss . proxy . SecurityInterceptor & lt ; / interceptor & gt ;
& lt ; interceptor & gt ; org . jboss . naming . interceptors . ExceptionInterceptor & lt ; / interceptor & gt ;
& lt ; interceptor & gt ; org . jboss . invocation . InvokerInterceptor & lt ; / interceptor & gt ;
& lt ; / interceptors & gt ;
& lt ; / attribute & gt ;
& lt ; / mbean & gt ;
& lt ;! -- Expose the Naming service interface via clustered HTTP . This maps
to the ReadOnlyJNDIFactory servlet URL
--& gt ;
& lt ; mbean code = "org.jboss.invocation.http.server.HttpProxyFactory"
name = "jboss:service=invoker,type=http,target=Naming,readonly=true" & gt ;
& lt ; attribute name = "InvokerName" & gt ; jboss : service = Naming & lt ; / attribute & gt ;
& lt ; attribute name = "InvokerURLPrefix" & gt ; http : //</attribute>
& lt ; attribute name = "InvokerURLSuffix" & gt ;: 8080 / invoker / readonly / JMXInvokerServlet & lt ; / attribute & gt ;
& lt ; attribute name = "UseHostName" & gt ; true & lt ; / attribute & gt ;
& lt ; attribute name = "ExportedInterface" & gt ; org . jnp . interfaces . Naming & lt ; / attribute & gt ;
& lt ; attribute name = "JndiName" & gt ; & lt ; / attribute & gt ;
& lt ; attribute name = "ClientInterceptors" & gt ;
& lt ; interceptors & gt ;
& lt ; interceptor & gt ; org . jboss . proxy . ClientMethodInterceptor & lt ; / interceptor & gt ;
& lt ; interceptor & gt ; org . jboss . proxy . SecurityInterceptor & lt ; / interceptor & gt ;
& lt ; interceptor & gt ; org . jboss . naming . interceptors . ExceptionInterceptor & lt ; / interceptor & gt ;
& lt ; interceptor & gt ; org . jboss . invocation . InvokerInterceptor & lt ; / interceptor & gt ;
& lt ; / interceptors & gt ;
& lt ; / attribute & gt ;
& lt ; / mbean & gt ;
& lt ;! -- Expose the HA Naming service interface via HTTP --& gt ;
& lt ; mbean code = "org.jboss.invocation.http.server.HttpProxyFactory"
name = "jboss:service=invoker,type=http,target=HAJNDI" & gt ;
& lt ;! -- The Naming service we are proxying --& gt ;
& lt ; attribute name = "InvokerName" & gt ; jboss : service = HAJNDI & lt ; / attribute & gt ;
& lt ;! -- Compose the invoker URL from the cluster node address --& gt ;
& lt ; attribute name = "InvokerURLPrefix" & gt ; http : //</attribute>
& lt ; attribute name = "InvokerURLSuffix" & gt ;: 8080 / invoker / JMXInvokerHAServlet & lt ; / attribute & gt ;
& lt ; attribute name = "UseHostName" & gt ; true & lt ; / attribute & gt ;
& lt ; attribute name = "ExportedInterface" & gt ; org . jnp . interfaces . Naming & lt ; / attribute & gt ;
& lt ; attribute name = "JndiName" & gt ; & lt ; / attribute & gt ;
& lt ; attribute name = "ClientInterceptors" & gt ;
& lt ; interceptors & gt ;
& lt ; interceptor & gt ; org . jboss . proxy . ClientMethodInterceptor & lt ; / interceptor & gt ;
& lt ; interceptor & gt ; org . jboss . proxy . SecurityInterceptor & lt ; / interceptor & gt ;
& lt ; interceptor & gt ; org . jboss . naming . interceptors . ExceptionInterceptor & lt ; / interceptor & gt ;
& lt ; interceptor & gt ; org . jboss . invocation . InvokerInterceptor & lt ; / interceptor & gt ;
& lt ; / interceptors & gt ;
& lt ; / attribute & gt ;
& lt ; / mbean & gt ;
& lt ; / server & gt ;
fpavao 26 de jun. de 2008
Cara, o nome das pastas muda pq minha versão é diferente da sua, se vc procurar por *.xml na pasta do jboss vc acha o server.xml, não é aquele q vc postou não…
[]'s
Tatyanne 27 de ago. de 2008