이용해 주셔서 감사합니다.
아래 오류는 web.xml 에서 엘리먼트 위치 즉 web.xml 에 기술된 사항의 순서에 따라 오류가 발생한 것으로 보입니다.
가우스 설치 후 이런 오류가 나셨다면 GAUCE Filter 부분을 제거하신 후 재기동에 문제가 없는 지 먼저 확인 하시기 바랍니다.
이후 web.xml 파일에 GAUCE Filter 부분을 최 상단으로 넣고 다시 WAS를 재기동 하신 후 오류가 있는 지 확인 하시기 바랍니다.
[주의사항-1]
jboss의 경우 가우스 설치 시 기본적으로 gauce.xml 파일에 request 객체에 대한 설정을 변경하여야 합니다.
아래 링크 참조
http://www.gauce.com/zboard.php?id=gauceFAQ&page=1&sn1=&divpage=1&sn=off&ss=on&sc=on&keyword=struts&select_arrange=headnum&desc=asc&no=83
[주의사항-2]
- 문제 : Deploy될 때 설치한 파일이 아니고 다른 장소로 copy된 파일을 사용하게 되어 라이센스 문제가 발생
- 해결 : Gauce home 디렉토리를 잡고 설치하는 방법으로 설치해야한다.
아래 링크 참조
http://www.gauce.com/zboard.php?id=gauceFAQ&page=1&sn1=&divpage=1&sn=off&ss=on&sc=on&keyword=home&select_arrange=headnum&desc=asc&no=90
>게시판을 이용해 주셔서 감사합니다.
>다음양식에 맞게 입력해주세요.
>
>* 고객시스템명 : 백제약품
>* GAUCE 버전 : 5.211
>* WAS 종류(WebLogic 등등) : jboss 5.1
>* DB 종류 : MSSQL
>* 문의 유형(질문/요청/참조) : 질문
>* 내용 : jboss는 디폴트로 설치하고 정상동작하는거 확인후
>가우스를 설치하고나니 jboss구동시 에러가 발생하고
>http://localhost:8080/index.html 도 동작하지 않습니다.
>가우스 test페이지도 물론 안되고요.
>아래는 오류내용입니다.
>---------------------------------------------------------------
>2010-12-28 11:38:45,468 INFO [org.jboss.web.WebService] (main) Using RMI server codebase: http://127.0.0.1:8083/
>2010-12-28 11:38:48,859 INFO [org.jboss.wsf.stack.jbws.NativeServerConfig] (main) JBoss Web Services - Stack Native Core
>2010-12-28 11:38:48,859 INFO [org.jboss.wsf.stack.jbws.NativeServerConfig] (main) 3.1.2.SP7
>2010-12-28 11:38:49,703 INFO [org.jboss.logbridge.LogNotificationListener] (main) Adding notification listener for logging mbean "jboss.system:service=Logging,type=Log4jService" to server org.jboss.mx.server.MBeanServerImpl@c19fbf[ defaultDomain='jboss' ]
>2010-12-28 11:38:51,734 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (main) Error installing to Parse: name=vfsfile:/D:/baekje/jboss-eap-5.1/jboss-as/server/default/deploy/ROOT.war/ state=PreParse mode=Manual requiredState=Parse
>org.jboss.deployers.spi.DeploymentException: Error creating managed object for vfsfile:/D:/baekje/jboss-eap-5.1/jboss-as/server/default/deploy/ROOT.war/
> at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
> at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:362)
> at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:322)
> at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:294)
> at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.deploy(AbstractParsingDeployerWithOutput.java:234)
> at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179)
> at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1454)
> at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1172)
> at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1113)
> at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
> at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1652)
> at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:938)
> at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
> at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:988)
> at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:826)
> at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:556)
> at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:789)
> at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:699)
> at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)
> at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:70)
> at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53)
> at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:403)
> at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
> at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1652)
> at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:938)
> at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
> at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:988)
> at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:778)
> at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:543)
> at org.jboss.system.server.profileservice.repository.AbstractProfileService.registerProfile(AbstractProfileService.java:308)
> at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:256)
> at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461)
> at org.jboss.Main.boot(Main.java:221)
> at org.jboss.Main$1.run(Main.java:556)
> at java.lang.Thread.run(Thread.java:619)
>Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: The content of element type "web-app" must match "(icon?,display-name?,description?,distributable?,context-param*,filter*,filter-mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime-mapping*,welcome-file-list?,error-page*,taglib*,resource-env-ref*,resource-ref*,security-constraint*,login-config?,security-role*,env-entry*,ejb-ref*,ejb-local-ref*)". @ vfsfile:/D:/baekje/jboss-eap-5.1/jboss-as/server/default/deploy/ROOT.war/WEB-INF/web.xml[96,13]
> at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:203)
> at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:168)
> at org.jboss.xb.util.JBossXBHelper.parse(JBossXBHelper.java:189)
> at org.jboss.xb.util.JBossXBHelper.parse(JBossXBHelper.java:166)
> at org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer.parse(SchemaResolverDeployer.java:137)
> at org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer.parse(SchemaResolverDeployer.java:121)
> at org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer.parseAndInit(AbstractVFSParsingDeployer.java:304)
> at org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer.parseAndInit(AbstractVFSParsingDeployer.java:286)
> at org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer.parse(AbstractVFSParsingDeployer.java:203)
> at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:348)
> ... 33 more
>Caused by: org.xml.sax.SAXException: The content of element type "web-app" must match "(icon?,display-name?,description?,distributable?,context-param*,filter*,filter-mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime-mapping*,welcome-file-list?,error-page*,taglib*,resource-env-ref*,resource-ref*,security-constraint*,login-config?,security-role*,env-entry*,ejb-ref*,ejb-local-ref*)". @ vfsfile:/D:/baekje/jboss-eap-5.1/jboss-as/server/default/deploy/ROOT.war/WEB-INF/web.xml[96,13]
> at org.jboss.xb.binding.parser.sax.SaxJBossXBParser$MetaDataErrorHandler.error(SaxJBossXBParser.java:426)
> at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
> at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
> at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
> at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
> at org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(Unknown Source)
> at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(Unknown Source)
> at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
> at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
> at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
> at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
> at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
> at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
> at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
> at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
> at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:199)
> ... 42 more
>2010-12-28 11:38:53,984 INFO [org.jboss.mail.MailService] (main) Mail Service bound to java:/Mail
>2010-12-28 11:38:54,515 WARN [org.jboss.jms.server.jbosssx.JBossASSecurityMetadataStore] (main) WARNING! POTENTIAL SECURITY RISK. It has been detected that the MessageSucker component which sucks messages from one node to another has not had its password changed from the installation default. Please see the JBoss Messaging user guide for instructions on how to do this.
>2010-12-28 11:38:55,515 INFO [com.arjuna.ats.jbossatx.jta.TransactionManagerService] (main) JBossTS Transaction Service (JTA version - tag:JBOSSTS_4_6_1_GA_CP07) - JBoss Inc.
>2010-12-28 11:38:55,515 INFO [com.arjuna.ats.jbossatx.jta.TransactionManagerService] (main) Setting up property manager MBean and JMX layer
>2010-12-28 11:38:55,687 INFO [com.arjuna.ats.jbossatx.jta.TransactionManagerService] (main) Initializing recovery manager
>2010-12-28 11:38:55,828 INFO [com.arjuna.ats.jbossatx.jta.TransactionManagerService] (main) Recovery manager configured
>2010-12-28 11:38:55,828 INFO [com.arjuna.ats.jbossatx.jta.TransactionManagerService] (main) Binding TransactionManager JNDI Reference
>2010-12-28 11:38:55,859 INFO [com.arjuna.ats.jbossatx.jta.TransactionManagerService] (main) Starting transaction recovery manager
>2010-12-28 11:38:56,218 INFO [org.apache.catalina.core.AprLifecycleListener] (main) The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:Program FilesJavajdk1.6.0_06bin;.;C:WINDOWSSunJavabin;C:WINDOWSsystem32;C:WINDOWS;D:oracleproduct10.2.0client_1bin;C:Program FilesJavajre1.6.0_06bin;C:appAdministratorproduct11.1.0client_1bin;C:androidandroid-sdk-windowstools;C:WINDOWSsystem32;C:WINDOWS;C:WINDOWSSystem32Wbem;C:Program FilesMicrosoft SQL Server90Toolsbinn;C:Program FilesTortoiseSVNbin;C:Program FilesI-ON CommunicationsiDAS Client;C:Program FilesIDM Computer SolutionsUltraEdit;C:Program FilesESTsoftALSee
>2010-12-28 11:38:56,265 INFO [org.apache.coyote.http11.Http11Protocol] (main) Initializing Coyote HTTP/1.1 on http-127.0.0.1-8080
>2010-12-28 11:38:56,265 INFO [org.apache.coyote.ajp.AjpProtocol] (main) Initializing Coyote AJP/1.3 on ajp-127.0.0.1-8009
>2010-12-28 11:38:56,281 INFO [org.apache.catalina.core.StandardService] (main) Starting service jboss.web
>2010-12-28 11:38:56,296 INFO [org.apache.catalina.core.StandardEngine] (main) Starting Servlet Engine: JBoss Web/2.1.10
>2010-12-28 11:38:56,328 INFO [org.apache.catalina.startup.Catalina] (main) Server startup in 59 ms
>2010-12-28 11:38:56,343 INFO [org.jboss.web.tomcat.service.deployers.TomcatDeployment] (main) deploy, ctxPath=/invoker
>2010-12-28 11:38:56,843 INFO [org.jboss.web.tomcat.service.deployers.TomcatDeployment] (main) deploy, ctxPath=/web-console
>2010-12-28 11:38:57,078 INFO [org.jboss.web.tomcat.service.deployers.TomcatDeployment] (main) deploy, ctxPath=/jbossws
>2010-12-28 11:38:57,171 INFO [org.jboss.resource.deployers.RARDeployment] (main) Required license terms exist, view vfsfile:/D:/baekje/jboss-eap-5.1/jboss-as/server/default/deploy/jboss-local-jdbc.rar/META-INF/ra.xml
>2010-12-28 11:38:57,187 INFO [org.jboss.resource.deployers.RARDeployment] (main) Required license terms exist, view vfsfile:/D:/baekje/jboss-eap-5.1/jboss-as/server/default/deploy/jboss-xa-jdbc.rar/META-INF/ra.xml
>2010-12-28 11:38:57,187 INFO [org.jboss.resource.deployers.RARDeployment] (main) Required license terms exist, view vfsfile:/D:/baekje/jboss-eap-5.1/jboss-as/server/default/deploy/jms-ra.rar/META-INF/ra.xml
>2010-12-28 11:38:57,203 INFO [org.jboss.resource.deployers.RARDeployment] (main) Required license terms exist, view vfsfile:/D:/baekje/jboss-eap-5.1/jboss-as/server/default/deploy/mail-ra.rar/META-INF/ra.xml
>2010-12-28 11:38:57,218 INFO [org.jboss.resource.deployers.RARDeployment] (main) Required license terms exist, view vfsfile:/D:/baekje/jboss-eap-5.1/jboss-as/server/default/deploy/quartz-ra.rar/META-INF/ra.xml
>2010-12-28 11:38:57,296 INFO [org.quartz.simpl.SimpleThreadPool] (main) Job execution threads will use class loader of thread: main
>2010-12-28 11:38:57,328 INFO [org.quartz.core.QuartzScheduler] (main) Quartz Scheduler v.1.5.2 created.
>2010-12-28 11:38:57,328 INFO [org.quartz.simpl.RAMJobStore] (main) RAMJobStore initialized.
>2010-12-28 11:38:57,328 INFO [org.quartz.impl.StdSchedulerFactory] (main) Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties'
>2010-12-28 11:38:57,328 INFO [org.quartz.impl.StdSchedulerFactory] (main) Quartz scheduler version: 1.5.2
>2010-12-28 11:38:57,328 INFO [org.quartz.core.QuartzScheduler] (main) Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
>2010-12-28 11:38:57,781 INFO [org.jboss.resource.connectionmanager.ConnectionFactoryBindingService] (main) Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
>2010-12-28 11:38:58,125 INFO [org.jboss.jms.server.ServerPeer] (main) JBoss Messaging 1.4.7.GA server [0] started
>2010-12-28 11:38:58,234 INFO [org.jboss.jms.server.connectionfactory.ConnectionFactory] (main) Connector bisocket://127.0.0.1:4457 has leasing enabled, lease period 10000 milliseconds
>2010-12-28 11:38:58,234 INFO [org.jboss.jms.server.connectionfactory.ConnectionFactory] (main) org.jboss.jms.server.connectionfactory.ConnectionFactory@60999e started
>2010-12-28 11:38:58,250 INFO [org.jboss.jms.server.destination.QueueService] (main) Queue[/queue/DLQ] started, fullSize=200000, pageSize=2000, downCacheSize=2000
>2010-12-28 11:38:58,265 INFO [org.jboss.jms.server.connectionfactory.ConnectionFactoryJNDIMapper] (main) supportsFailover attribute is true on connection factory: jboss.messaging.connectionfactory:service=ClusteredConnectionFactory but post office is non clustered. So connection factory will *not* support failover
>2010-12-28 11:38:58,265 INFO [org.jboss.jms.server.connectionfactory.ConnectionFactoryJNDIMapper] (main) supportsLoadBalancing attribute is true on connection factory: jboss.messaging.connectionfactory:service=ClusteredConnectionFactory but post office is non clustered. So connection factory will *not* support load balancing
>2010-12-28 11:38:58,265 INFO [org.jboss.jms.server.connectionfactory.ConnectionFactory] (main) Connector bisocket://127.0.0.1:4457 has leasing enabled, lease period 10000 milliseconds
>2010-12-28 11:38:58,265 INFO [org.jboss.jms.server.connectionfactory.ConnectionFactory] (main) org.jboss.jms.server.connectionfactory.ConnectionFactory@184d309 started
>2010-12-28 11:38:58,265 INFO [org.jboss.jms.server.destination.QueueService] (main) Queue[/queue/ExpiryQueue] started, fullSize=200000, pageSize=2000, downCacheSize=2000
>2010-12-28 11:38:58,265 INFO [org.jboss.jms.server.connectionfactory.ConnectionFactory] (main) Connector bisocket://127.0.0.1:4457 has leasing enabled, lease period 10000 milliseconds
>2010-12-28 11:38:58,281 INFO [org.jboss.jms.server.connectionfactory.ConnectionFactory] (main) org.jboss.jms.server.connectionfactory.ConnectionFactory@d2b042 started
>2010-12-28 11:38:58,359 INFO [org.jboss.resource.connectionmanager.ConnectionFactoryBindingService] (main) Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
>2010-12-28 11:38:58,484 INFO [org.jboss.web.tomcat.service.deployers.TomcatDeployment] (main) deploy, ctxPath=/admin-console
>2010-12-28 11:38:58,671 INFO [javax.enterprise.resource.webcontainer.jsf.config] (main) Initializing Mojarra (1.2_13-b01-FCS) for context '/admin-console'
>2010-12-28 11:39:00,843 INFO [org.jboss.web.tomcat.service.deployers.TomcatDeployment] (main) deploy, ctxPath=/jmx-console
>2010-12-28 11:39:00,984 INFO [org.jboss.system.server.profileservice.ProfileServiceBootstrap] (main) Loading profile: ProfileKey@df7ea4[domain=default, server=default, name=default]
>2010-12-28 11:39:00,984 ERROR [org.jboss.system.server.profileservice.ProfileServiceBootstrap] (main) Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
>
>DEPLOYMENTS IN ERROR:
> Deployment "vfsfile:/D:/baekje/jboss-eap-5.1/jboss-as/server/default/deploy/ROOT.war/" is in error due to the following reason(s): org.xml.sax.SAXException: The content of element type "web-app" must match "(icon?,display-name?,description?,distributable?,context-param*,filter*,filter-mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime-mapping*,welcome-file-list?,error-page*,taglib*,resource-env-ref*,resource-ref*,security-constraint*,login-config?,security-role*,env-entry*,ejb-ref*,ejb-local-ref*)". @ vfsfile:/D:/baekje/jboss-eap-5.1/jboss-as/server/default/deploy/ROOT.war/WEB-INF/web.xml[96,13]
>
>2010-12-28 11:39:01,000 INFO [org.apache.coyote.http11.Http11Protocol] (main) Starting Coyote HTTP/1.1 on http-127.0.0.1-8080
>2010-12-28 11:39:01,015 INFO [org.apache.coyote.ajp.AjpProtocol] (main) Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
>2010-12-28 11:39:01,015 INFO [org.jboss.bootstrap.microcontainer.ServerImpl] (main) JBoss (Microcontainer) [5.1.0 (build: SVNTag=JBPAPP_5_1_0 date=201009150028)] Started in 22s:156ms
>
>