[EJB 3.0] - JBoss 4.0.5GA Problem with Firebird will not deploy was ok o
by Jonefun
Hi, I recently upgraded to JBoss 4.0.5GA from 4.0.4GA and for some reason my code will no longer deploy. I have been racking my brains on this for some time now and I would be very grateful if someone could give me a point in the right direction. Here is a couple of extracts from my JBoss startup :-
16:21:32,234 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=Mobile2DateDS' to JNDI name 'java:Mobile2DateDS'
| 16:21:32,953 INFO [WrapperDataSourceService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
This seems to suggest that the data source Mobile2DateDS has been registered ok.
16:21:33,828 INFO [EARDeployer] Init J2EE application: file:/C:/JBoss4/server/default/deploy/Mobile2Date.ear
| 16:21:34,093 INFO [Ejb3Deployment] EJB3 deployment time took: 218
| 16:21:34,828 INFO [TomcatDeployer] deploy, ctxPath=/Mobile2Date, warUrl=.../tmp/deploy/Mobile2Date.ear-Mobile2Date.jar-ws42840.war/
| 16:21:34,984 INFO [JmxKernelAbstraction] installing MBean: persistence.units:ear=Mobile2Date.ear,jar=Mobile2Date.jar,unitName=Mobile2Date with dependencies:
| 16:21:34,984 INFO [JmxKernelAbstraction] jboss.jca:name=Mobile2DateDS,service=DataSourceBinding
| 16:21:35,046 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=Mobile2Date.ear,jar=Mobile2Date.jar,name=PersonManagerBean,service=EJB3 with dependencies:
| 16:21:35,046 INFO [JmxKernelAbstraction] persistence.units:ear=Mobile2Date.ear,jar=Mobile2Date.jar,unitName=Mobile2Date
| 16:21:35,046 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=Mobile2Date.ear,jar=Mobile2Date.jar,name=SetupBean,service=EJB3 with dependencies:
| 16:21:35,046 INFO [JmxKernelAbstraction] persistence.units:ear=Mobile2Date.ear,jar=Mobile2Date.jar,unitName=Mobile2Date
| 16:21:35,046 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=Mobile2Date.ear,jar=Mobile2Date.jar,name=SimpleWSBean,service=EJB3 with dependencies:
| 16:21:35,187 INFO [EJBContainer] STARTED EJB: com.htc.htcws.SimpleWSBean ejbName: SimpleWSBean
| 16:21:35,828 INFO [EJB3Deployer] Deployed: file:/C:/JBoss4/server/default/tmp/deploy/tmp42838Mobile2Date.ear-contents/Mobile2Date.jar
| 16:21:35,828 INFO [WSDLFilePublisher] WSDL published to: file:/C:/JBoss4/server/default/data/wsdl/Mobile2Date.ear/Mobile2Date.jar/SimpleWSService42839.wsdl
| 16:21:35,843 INFO [ServiceEndpointManager] WebService started: http://0090f548fc23:8080/Mobile2Date/SimpleWSBean
| 16:21:35,859 INFO [EARDeployer] Started J2EE application: file:/C:/JBoss4/server/default/deploy/Mobile2Date.ear
| 16:21:35,859 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
|
| --- MBeans waiting for other MBeans ---
| ObjectName: jboss.jmx:name=SnmpAgent,service=trapd,type=logger
| State: FAILED
| Reason: java.net.BindException: Address already in use: Cannot bind
|
| ObjectName: persistence.units:ear=Mobile2Date.ear,jar=Mobile2Date.jar,unitName=Mobile2Date
| State: NOTYETINSTALLED
| I Depend On:
| jboss.jca:name=Mobile2DateDS,service=DataSourceBinding
| Depends On Me:
| jboss.j2ee:ear=Mobile2Date.ear,jar=Mobile2Date.jar,name=PersonManagerBean,service=EJB3
| jboss.j2ee:ear=Mobile2Date.ear,jar=Mobile2Date.jar,name=SetupBean,service=EJB3
|
| ObjectName: jboss.j2ee:ear=Mobile2Date.ear,jar=Mobile2Date.jar,name=PersonManagerBean,service=EJB3
| State: NOTYETINSTALLED
| I Depend On:
| persistence.units:ear=Mobile2Date.ear,jar=Mobile2Date.jar,unitName=Mobile2Date
|
| ObjectName: jboss.j2ee:ear=Mobile2Date.ear,jar=Mobile2Date.jar,name=SetupBean,service=EJB3
| State: NOTYETINSTALLED
| I Depend On:
| persistence.units:ear=Mobile2Date.ear,jar=Mobile2Date.jar,unitName=Mobile2Date
|
| --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
| ObjectName: jboss.jca:name=Mobile2DateDS,service=DataSourceBinding
| State: NOTYETINSTALLED
| Depends On Me:
| persistence.units:ear=Mobile2Date.ear,jar=Mobile2Date.jar,unitName=Mobile2Date
|
| ObjectName: jboss.jmx:name=SnmpAgent,service=trapd,type=logger
| State: FAILED
| Reason: java.net.BindException: Address already in use: Cannot bind
|
|
| 16:21:35,937 INFO [Http11BaseProtocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080
| 16:21:36,156 INFO [ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009
| 16:21:36,156 INFO [JkMain] Jk running ID=0 time=0/63 config=null
| 16:21:36,171 INFO [Server] JBoss (MX MicroKernel) [4.0.5.GA (build: CVSTag=Branch_4_0 date=200610162339)] Started in 28s:171ms
However you can see from the end of the log that JBoss is not happy about the PersistenceUnit not being registered.
My firebird-ds.xml file :
| <connection-factories>
|
| <!--FBManager can be used to create and drop databases.
| Drop is especially useful during testing, since it
| assures a clean start next time. -->
| <mbean code="org.firebirdsql.management.FBManager" name="jboss.jca:service=FirebirdManager">
| <attribute name="FileName">/Project/Mobile2Date/Database/MOBILE2DATE.GDB</attribute>
| <attribute name="UserName">sysdba</attribute>
| <attribute name="Password">masterkey</attribute>
| <attribute name="CreateOnStart">true</attribute>
| <attribute name="DropOnStop">false</attribute>
| </mbean>
|
| <tx-connection-factory>
| <jndi-name>Mobile2DateDS</jndi-name>
| <xa-transaction/>
| <rar-name>jaybird-2.1.0.rar</rar-name>
| <connection-definition>javax.sql.DataSource</connection-definition>
| <config-property name="Database" type="java.lang.String">localhost/3050:C:/Project/Mobile2Date/Database/MOBILE2DATE.GDB</config-property>
| <user-name>sysdba</user-name>
| <password>masterkey</password>
| <min-pool-size>0</min-pool-size>
| <metadata>
| <type-mapping>Firebird</type-mapping>
| </metadata>
| </tx-connection-factory>
|
| </connection-factories>
|
and finally my persistence.xml
| <persistence>
| <persistence-unit name="Mobile2Date">
| <!--provider>org.hibernate.ejb.HibernatePersistence</provider-->
| <jta-data-source>java:/Mobile2DateDS</jta-data-source>
| <properties>
| <property name="hibernate.hbm2ddl.auto" value="create-drop"/>
| </properties>
| </persistence-unit>
| </persistence>
|
If anyone can help I will be very very grateful :)
Cheers
Jono
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3992827#3992827
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992827
19 years, 4 months
[JBossWS] - Issue with .NET ws clients
by palin
We have some .NET ws clients using our ws endpoint implemented on jbossws 1.0.3.SP1 (patched with http://jira.jboss.com/jira/browse/JBWS-1178). They sometimes (not always?!) get an error while calling us: Exception: System.InvalidOperationException
| Message: Client found response content type of '', but expected 'text/xml"
At the same time, on the server side, we get the following exception:
2006-12-09 19:49:20,898 ERROR [org.jboss.ws.server.StandardEndpointServlet] Error processing web service request
| java.lang.IllegalStateException: Cannot create a session after the response has been committed
| at org.apache.catalina.connector.Request.doGetSession(Request.java:2214)
| at org.apache.catalina.connector.Request.getSession(Request.java:2024)
| at org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.java:831)
| at org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.java:842)
| at org.jboss.ws.server.ServletEndpointContextImpl.getHttpSession(ServletEndpointContextImpl.java:57)
| at org.jboss.ws.server.ServiceEndpointManager.processSOAPRequest(ServiceEndpointManager.java:375)
| at org.jboss.ws.server.StandardEndpointServlet.doPost(StandardEndpointServlet.java:115)
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
| at org.jboss.ws.server.StandardEndpointServlet.service(StandardEndpointServlet.java:76)
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
| at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
| at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
| at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)
| at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
| at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
| at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
| at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
| at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
| at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
| at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
| at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
| at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
| at java.lang.Thread.run(Thread.java:595)
|
Did anybody ever had the same problem? Or at least know why jbossws could try to open a session after the response has been commited?
Thank you
Alessio Soldano
http://www.javalinux.it/blogs
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3992825#3992825
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992825
19 years, 4 months
[JBoss AOP] - Re: probleam in granularity of interception
by flavia.rainone
I've just run an example and it works to me, no matter whether the servlet calls directly the constructor, or the private constructor of HealthWatcherFacade does it.
Please, run your servlet only with the pontcut:
| <pointcut name="recordsCreation"
| expr="call(employee.EmployeeRecord->new(..))" />
|
and the binding:
|
|
| <bind pointcut="recordsCreation">
| <advice
| aspect="aspects.dataManagement.nonpersistent.DataCollectionNonPersistent"
| name="aroundRecordsCreation" />
| </bind>
|
|
And tell me if you can see on the aopc log something like:
| [aopc] [debug] was HealthWatcherFacade converted: true
|
This line will appear either way. The only thing is that JBoss AOP should instrument it. If it doesn't, this line will appear with a false instead of true.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3992823#3992823
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992823
19 years, 4 months
[Installation, Configuration & Deployment] - Problem with SIMPLE JSF deployment on jboss-5.0.0
by tswall
I have tried to deploy an extremely simple web-app with JSF tags in the Beta1 version of jboss-5.0. I configured the FacesServlet as described in the WIKI...
<servlet-name>FacesServlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<servlet-mapping>
<servlet-name>FacesServlet</servlet-name>
<url-pattern>*.faces</url-pattern>
</servlet-mapping>
The app only has a single, very simple (2 properties) managed-bean, one JSF page with only a single <h:outputText> tag. The server fails to start up with the following log output...
09:20:01,730 INFO [ServerImpl] Starting JBoss (Microcontainer)...
09:20:01,731 INFO [ServerImpl] Release ID: JBoss [Morpheus] 5.0.0.Beta1 (build: CVSTag=https://svn.jboss.org/repos/jbossas/tags/JBoss_5_0_0_Beta1 date=200611191849)
09:20:01,732 INFO [ServerImpl] Home Dir: /Users/tswall/Applications/jboss-5.0.0.Beta1
09:20:01,732 INFO [ServerImpl] Home URL: file:/Users/tswall/Applications/jboss-5.0.0.Beta1/
09:20:01,732 INFO [ServerImpl] Library URL: file:/Users/tswall/Applications/jboss-5.0.0.Beta1/lib/
09:20:01,733 INFO [ServerImpl] Patch URL: null
09:20:01,733 INFO [ServerImpl] Server Name: default
09:20:01,733 INFO [ServerImpl] Server Home Dir: /Users/tswall/Applications/jboss-5.0.0.Beta1/server/default
09:20:01,737 INFO [ServerImpl] Server Home URL: file:/Users/tswall/Applications/jboss-5.0.0.Beta1/server/default/
09:20:01,737 INFO [ServerImpl] Server Data Dir: /Users/tswall/Applications/jboss-5.0.0.Beta1/server/default/data
09:20:01,738 INFO [ServerImpl] Server Temp Dir: /Users/tswall/Applications/jboss-5.0.0.Beta1/server/default/tmp
09:20:01,738 INFO [ServerImpl] Server Config URL: file:/Users/tswall/Applications/jboss-5.0.0.Beta1/server/default/conf/
09:20:01,738 INFO [ServerImpl] Server Library URL: file:/Users/tswall/Applications/jboss-5.0.0.Beta1/server/default/lib/
09:20:01,738 INFO [ServerImpl] Root Deployment Filename: jboss-service.xml
09:20:01,762 INFO [ServerImpl] Starting Microcontainer, bootstrapURL=file:/Users/tswall/Applications/jboss-5.0.0.Beta1/server/default/conf/bootstrap-beans.xml
09:20:02,173 INFO [ProfileImpl] Using profile root:/Users/tswall/Applications/jboss-5.0.0.Beta1/bin/file:/Users/tswall/Applications/jboss-5.0.0.Beta1/server/default/profile
09:20:02,578 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.5.0_06-68,"Apple Computer, Inc."
09:20:02,578 INFO [ServerInfo] OS-System: Mac OS X 10.4.8,i386
09:20:02,611 INFO [JMXKernel] Legacy JMX core initialized
09:20:04,360 INFO [WebService] Using RMI server codebase: http://scott-walls-computer.local:8083/
09:20:04,548 INFO [NamingService] JNDI bootstrap JNP=/0.0.0.0:1099, RMI=/0.0.0.0:1098, backlog=50, no client SocketFactory, Server SocketFactory=class org.jboss.net.sockets.DefaultSocketFactory
09:20:08,497 INFO [Embedded] Catalina naming disabled
09:20:08,515 INFO [ClusterRuleSetFactory] Unable to find a cluster rule set in the classpath. Will load the default rule set.
09:20:08,516 INFO [ClusterRuleSetFactory] Unable to find a cluster rule set in the classpath. Will load the default rule set.
09:20:08,661 INFO [AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: .:/Users/tswall/Library/Java/Extensions:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java
09:20:08,721 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0-8080
09:20:08,721 INFO [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-0.0.0.0-8009
09:20:08,721 INFO [Catalina] Initialization processed in 205 ms
09:20:08,721 INFO [StandardService] Starting service jboss.web
09:20:08,724 INFO [StandardEngine] Starting Servlet Engine: JBossWeb/2.0.0.Beta1
09:20:08,750 INFO [StandardHost] XML validation disabled
09:20:08,765 INFO [Catalina] Server startup in 44 ms
09:20:10,401 INFO [ServiceEndpointManager] WebServices: jbossws-2.0.0.CR2.DEV (date=200611171751)
09:20:10,814 INFO [TomcatDeployment] deploy, ctxPath=/epweb, warUrl=.../tmp/deploy/EPWebArchieve36668-exp.war/
09:20:11,067 INFO [WebappLoader] Dual registration of jndi stream handler: factory already defined
09:20:11,124 ERROR [BaseModelMBean] Exception invoking method addChild
java.lang.RuntimeException: org.jboss.xb.binding.JBossXBException: Failed to parse source: Unexpected end of ZLIB input stream
at org.jboss.web.tomcat.tc6.TomcatInjectionContainer.processMetadata(TomcatInjectionContainer.java:264)
at org.jboss.web.tomcat.tc6.WebAppLoader.start(WebAppLoader.java:104)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4198)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297)
at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
at org.apache.catalina.core.StandardContext.init(StandardContext.java:5285)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297)
at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
at org.jboss.web.tomcat.tc6.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:302)
at org.jboss.web.tomcat.tc6.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:129)
at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:355)
at org.jboss.web.deployers.WebModule.startModule(WebModule.java:88)
at org.jboss.web.deployers.WebModule.start(WebModule.java:66)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:184)
at $Proxy0.start(Unknown Source)
at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
at org.jboss.system.microcontainer.ServiceControllerContextAction.install(ServiceControllerContextAction.java:46)
at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:226)
at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:198)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:709)
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:429)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:538)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:472)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:320)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:190)
at org.jboss.system.ServiceController.doChange(ServiceController.java:656)
at org.jboss.system.ServiceController.start(ServiceController.java:431)
at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:124)
at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:85)
at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:44)
at org.jboss.deployers.plugins.deployers.helpers.AbstractSimpleRealDeployer.deploy(AbstractSimpleRealDeployer.java:53)
at org.jboss.deployers.plugins.deployer.AbstractSimpleDeployer.commitDeploy(AbstractSimpleDeployer.java:52)
at org.jboss.deployers.plugins.deployer.DeployerWrapper.commitDeploy(DeployerWrapper.java:145)
at org.jboss.deployers.plugins.deployment.MainDeployerImpl.commitDeploy(MainDeployerImpl.java:440)
at org.jboss.deployers.plugins.deployment.MainDeployerImpl.process(MainDeployerImpl.java:381)
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:366)
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.bootstrap(ProfileServiceBootstrap.java:246)
at org.jboss.kernel.plugins.bootstrap.AbstractBootstrap.run(AbstractBootstrap.java:89)
at org.jboss.system.server.profileservice.ServerImpl.doStart(ServerImpl.java:401)
at org.jboss.system.server.profileservice.ServerImpl.start(ServerImpl.java:340)
at org.jboss.Main.boot(Main.java:210)
at org.jboss.Main$1.run(Main.java:508)
at java.lang.Thread.run(Thread.java:613)
Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: Unexpected end of ZLIB input stream
at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:178)
at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:169)
at org.jboss.web.metamodel.descriptor.WebDDObjectFactory.parse(WebDDObjectFactory.java:86)
at org.jboss.web.tomcat.tc6.TomcatInjectionContainer.processMetadata(TomcatInjectionContainer.java:256)
... 65 more
Caused by: java.io.EOFException: Unexpected end of ZLIB input stream
at java.util.zip.ZipFile$2.fill(ZipFile.java:335)
at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:134)
at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:105)
at org.apache.xerces.impl.XMLEntityManager$RewindableInputStream.read(Unknown Source)
at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(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:174)
... 68 more
09:20:11,136 ERROR [BaseModelMBean] Exception invoking method init
LifecycleException: Manager has not yet been started
at org.apache.catalina.session.StandardManager.stop(StandardManager.java:660)
at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4498)
at org.apache.catalina.core.ContainerBase.destroy(ContainerBase.java:1133)
at org.apache.catalina.core.StandardContext.destroy(StandardContext.java:4592)
at org.apache.catalina.core.StandardContext.init(StandardContext.java:5288)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297)
at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
at org.jboss.web.tomcat.tc6.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:302)
at org.jboss.web.tomcat.tc6.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:129)
at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:355)
at org.jboss.web.deployers.WebModule.startModule(WebModule.java:88)
at org.jboss.web.deployers.WebModule.start(WebModule.java:66)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:184)
at $Proxy0.start(Unknown Source)
at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
at org.jboss.system.microcontainer.ServiceControllerContextAction.install(ServiceControllerContextAction.java:46)
at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:226)
at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:198)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:709)
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:429)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:538)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:472)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:320)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:190)
at org.jboss.system.ServiceController.doChange(ServiceController.java:656)
at org.jboss.system.ServiceController.start(ServiceController.java:431)
at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:124)
at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:85)
at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:44)
at org.jboss.deployers.plugins.deployers.helpers.AbstractSimpleRealDeployer.deploy(AbstractSimpleRealDeployer.java:53)
at org.jboss.deployers.plugins.deployer.AbstractSimpleDeployer.commitDeploy(AbstractSimpleDeployer.java:52)
at org.jboss.deployers.plugins.deployer.DeployerWrapper.commitDeploy(DeployerWrapper.java:145)
at org.jboss.deployers.plugins.deployment.MainDeployerImpl.commitDeploy(MainDeployerImpl.java:440)
at org.jboss.deployers.plugins.deployment.MainDeployerImpl.process(MainDeployerImpl.java:381)
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:366)
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.bootstrap(ProfileServiceBootstrap.java:246)
at org.jboss.kernel.plugins.bootstrap.AbstractBootstrap.run(AbstractBootstrap.java:89)
at org.jboss.system.server.profileservice.ServerImpl.doStart(ServerImpl.java:401)
at org.jboss.system.server.profileservice.ServerImpl.start(ServerImpl.java:340)
at org.jboss.Main.boot(Main.java:210)
at org.jboss.Main$1.run(Main.java:508)
at java.lang.Thread.run(Thread.java:613)
09:20:11,138 ERROR [AbstractKernelController] Error installing to Start: name=jboss.web.deployment:war=/epweb state=Create mode=Manual requiredState=Installed
LifecycleException: Manager has not yet been started
at org.apache.catalina.session.StandardManager.stop(StandardManager.java:660)
at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4498)
at org.apache.catalina.core.ContainerBase.destroy(ContainerBase.java:1133)
at org.apache.catalina.core.StandardContext.destroy(StandardContext.java:4592)
at org.apache.catalina.core.StandardContext.init(StandardContext.java:5288)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297)
at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
at org.jboss.web.tomcat.tc6.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:302)
at org.jboss.web.tomcat.tc6.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:129)
at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:355)
at org.jboss.web.deployers.WebModule.startModule(WebModule.java:88)
at org.jboss.web.deployers.WebModule.start(WebModule.java:66)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:184)
at $Proxy0.start(Unknown Source)
at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
at org.jboss.system.microcontainer.ServiceControllerContextAction.install(ServiceControllerContextAction.java:46)
at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:226)
at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:198)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:709)
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:429)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:538)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:472)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:320)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:190)
at org.jboss.system.ServiceController.doChange(ServiceController.java:656)
at org.jboss.system.ServiceController.start(ServiceController.java:431)
at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:124)
at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:85)
at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:44)
at org.jboss.deployers.plugins.deployers.helpers.AbstractSimpleRealDeployer.deploy(AbstractSimpleRealDeployer.java:53)
at org.jboss.deployers.plugins.deployer.AbstractSimpleDeployer.commitDeploy(AbstractSimpleDeployer.java:52)
at org.jboss.deployers.plugins.deployer.DeployerWrapper.commitDeploy(DeployerWrapper.java:145)
at org.jboss.deployers.plugins.deployment.MainDeployerImpl.commitDeploy(MainDeployerImpl.java:440)
at org.jboss.deployers.plugins.deployment.MainDeployerImpl.process(MainDeployerImpl.java:381)
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:366)
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.bootstrap(ProfileServiceBootstrap.java:246)
at org.jboss.kernel.plugins.bootstrap.AbstractBootstrap.run(AbstractBootstrap.java:89)
at org.jboss.system.server.profileservice.ServerImpl.doStart(ServerImpl.java:401)
at org.jboss.system.server.profileservice.ServerImpl.start(ServerImpl.java:340)
at org.jboss.Main.boot(Main.java:210)
at org.jboss.Main$1.run(Main.java:508)
at java.lang.Thread.run(Thread.java:613)
09:20:11,545 INFO [TomcatDeployment] deploy, ctxPath=/invoker, warUrl=.../deploy/http-invoker.sar/invoker.war/
09:20:12,029 INFO [StandardContext] Container org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/invoker] has already been started
09:20:12,066 INFO [RARDeployment] Required license terms exist, view .../deploy/jboss-xa-jdbc.rar!/META-INF/ra.xml
09:20:12,069 INFO [RARDeployment] Required license terms exist, view .../deploy/jboss-local-jdbc.rar!/META-INF/ra.xml
09:20:12,069 INFO [RARDeployment] Required license terms exist, view .../deploy/jboss-ha-local-jdbc.rar!/META-INF/ra.xml
09:20:12,069 INFO [RARDeployment] Required license terms exist, view .../deploy/jboss-ha-xa-jdbc.rar!/META-INF/ra.xml
09:20:12,177 INFO [WrapperDataSourceService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
09:20:12,522 WARN [QuartzTimerServiceFactory] sql failed: CREATE TABLE qrtz_job_details(JOB_NAME VARCHAR(80) NOT NULL, JOB_GROUP VARCHAR(80) NOT NULL, DESCRIPTION VARCHAR(120) NULL, JOB_CLASS_NAME VARCHAR(128) NOT NULL, IS_DURABLE VARCHAR(1) NOT NULL, IS_VOLATILE VARCHAR(1) NOT NULL, IS_STATEFUL VARCHAR(1) NOT NULL, REQUESTS_RECOVERY VARCHAR(1) NOT NULL, JOB_DATA BINARY NULL, PRIMARY KEY (JOB_NAME,JOB_GROUP))
09:20:12,615 INFO [SimpleThreadPool] Job execution threads will use class loader of thread: main
09:20:12,635 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
09:20:12,637 INFO [JobStoreCMT] Using db table-based data access locking (synchronization).
09:20:12,664 INFO [JobStoreCMT] Removed 0 Volatile Trigger(s).
09:20:12,664 INFO [JobStoreCMT] Removed 0 Volatile Job(s).
09:20:12,665 INFO [JobStoreCMT] JobStoreCMT initialized.
09:20:12,665 INFO [StdSchedulerFactory] Quartz scheduler 'JBossEJB3QuartzScheduler' initialized from an externally provided properties instance.
09:20:12,665 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2
09:20:12,666 INFO [JobStoreCMT] Freed 0 triggers from 'acquired' / 'blocked' state.
09:20:12,668 INFO [JobStoreCMT] Recovering 0 jobs that were in-progress at the time of the last shut-down.
09:20:12,668 INFO [JobStoreCMT] Recovery complete.
09:20:12,668 INFO [JobStoreCMT] Removed 0 'complete' triggers.
09:20:12,668 INFO [JobStoreCMT] Removed 0 stale fired job entries.
09:20:12,672 INFO [QuartzScheduler] Scheduler JBossEJB3QuartzScheduler_$_NON_CLUSTERED started.
09:20:12,720 INFO [TomcatDeployment] deploy, ctxPath=/jbossws, warUrl=.../tmp/deploy/jbossws-context36669-exp.war/
09:20:12,752 WARN [TomcatInjectionContainer] could not find servlet class org.jboss.ws.integration.jboss.PortComponentLinkServlet in classpath when processing annotations.
09:20:12,834 INFO [StandardContext] Container org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/jbossws] has already been started
09:20:12,906 INFO [RARDeployment] Required license terms exist, view .../deploy/jms-ra.rar!/META-INF/ra.xml
09:20:12,915 INFO [TomcatDeployment] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
09:20:13,065 INFO [StandardContext] Container org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/jmx-console] has already been started
09:20:13,191 INFO [RARDeployment] Required license terms exist, view .../deploy/mail-ra.rar!/META-INF/ra.xml
09:20:13,258 INFO [MailService] Mail Service bound to java:/Mail
09:20:13,302 INFO [TomcatDeployment] deploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-console.war/
09:20:13,795 INFO [StandardContext] Container org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/web-console] has already been started
09:20:13,941 WARN [JDBCPersistenceManager]
JBoss Messaging Warning: DataSource connection transaction isolation should be READ_COMMITTED, but it is currently NONE.
Using an isolation level less strict than READ_COMMITTED may lead to data consistency problems.
Using an isolation level more strict than READ_COMMITTED may lead to deadlock.
09:20:14,094 INFO [ServerPeer] JBoss Messaging 1.0.1.GA server [server.0] started
09:20:14,112 INFO [Queue] Queue[/queue/DLQ] started, fullSize=75000, pageSize=2000, downCacheSize=2000
09:20:14,125 INFO [Queue] Queue[/queue/testQueue] started, fullSize=75000, pageSize=2000, downCacheSize=2000
09:20:14,132 INFO [Topic] Topic[/topic/testTopic] started, fullSize=75000, pageSize=2000, downCacheSize=2000
09:20:14,148 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
09:20:14,405 INFO [ConnectionFactory] Connector socket://155.100.15.10:4457 has leasing enabled, lease period 20000 milliseconds
09:20:14,405 INFO [ConnectionFactory] [/ConnectionFactory, /XAConnectionFactory, java:/ConnectionFactory, java:/XAConnectionFactory] deployed
09:20:14,425 INFO [RARDeployment] Required license terms exist, view .../deploy/quartz-ra.rar!/META-INF/ra.xml
09:20:14,440 INFO [SimpleThreadPool] Job execution threads will use class loader of thread: main
09:20:14,442 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
09:20:14,443 INFO [RAMJobStore] RAMJobStore initialized.
09:20:14,443 INFO [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties'
09:20:14,443 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2
09:20:14,443 INFO [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
09:20:14,459 INFO [TomcatDeployment] deploy, ctxPath=/, warUrl=.../deploy/ROOT.war/
09:20:14,552 INFO [StandardContext] Container org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/] has already been started
09:20:16,532 ERROR [ProfileServiceBootstrap] Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
*** CONTEXTS IN ERROR: Name -> Error
jboss.web.deployment:war=/epweb -> LifecycleException: Manager has not yet been started
09:20:16,545 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080
09:20:16,562 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-0.0.0.0-8009
09:20:16,571 INFO [ServerImpl] JBoss (Microcontainer) [5.0.0.Beta1 (build: CVSTag=https://svn.jboss.org/repos/jbossas/tags/JBoss_5_0_0_Beta1 date=200611191849)] Started in 14s:831ms
I haven't done anything elaborate, and in my best estimation this is a simple, "out of the box" test case of JSF in this version of the JBAS. Any thoughts would be very helpful.
Thanks in advance,
Scott Wall
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3992815#3992815
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992815
19 years, 4 months