JBOSS7部署SSH出错,大家帮忙看看吧。
tomcat下能跑,JBOSS不行!
错误信息如下:
16:33:43,281 INFO [org.jboss.as.connector.subsystems.datasources] (Controller Boot Thread) Deploying JDBC-compliant driver class org.h2.Driver (version 1.2)
16:33:43,359 INFO [org.jboss.as.clustering.infinispan.subsystem] (Controller Boot Thread) Activating Infinispan subsystem.
16:33:44,125 INFO [org.jboss.as.naming] (Controller Boot Thread) Activating Naming Subsystem
16:33:44,218 INFO [org.jboss.as.naming] (MSC service thread 1-1) Starting Naming Service
16:33:44,250 INFO [org.jboss.as.osgi] (Controller Boot Thread) Activating OSGi Subsystem
16:33:44,375 INFO [org.jboss.as.security] (Controller Boot Thread) Activating Security Subsystem
16:33:44,500 INFO [org.jboss.remoting] (MSC service thread 1-2) JBoss Remoting version 3.2.0.Beta2
16:33:44,921 INFO [org.xnio] (MSC service thread 1-2) XNIO Version 3.0.0.Beta3
16:33:45,203 INFO [org.xnio.nio] (MSC service thread 1-2) XNIO NIO Implementation Version 3.0.0.Beta3
16:33:47,234 INFO [org.jboss.as.ee] (Controller Boot Thread) Activating EE subsystem
16:33:47,796 INFO [org.apache.catalina.core.AprLifecycleListener] (MSC service thread 1-1) The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\ipic\jdk\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\ipic\jdk\bin;C:\ipic\jdk\jre\bin;C:\ipic\jboss\bin;;C:\Program Files\Common Files\Nero\Lib\;.
16:33:48,875 INFO [org.jboss.as.remoting] (MSC service thread 1-1) Listening on /127.0.0.1:9999
16:33:49,937 INFO [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-2) Starting Coyote HTTP/1.1 on http--127.0.0.1-9080
16:33:49,937 INFO [org.jboss.as.jmx.JMXConnectorService] (MSC service thread 1-2) Starting remote JMX connector
16:33:53,953 INFO [org.jboss.as.connector] (MSC service thread 1-1) Starting JCA Subsystem (JBoss IronJacamar 1.0.0.CR2)
16:33:54,296 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-1) Bound data source [java:jboss/datasources/ExampleDS]
16:33:55,437 INFO [org.jboss.as.deployment] (MSC service thread 1-1) Started FileSystemDeploymentService for directory C:\ipic\jboss\standalone\deployments
16:33:55,609 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) Starting deployment of "ipff.war"
16:36:46,390 WARN [org.jboss.as.server.deployment] (MSC service thread 1-1) Class Path entry activation.jar in "/C:/ipic/jboss/bin/content/ipff.war/WEB-INF/lib/mail-1.4.jar" does not point to a valid jar for a Class-Path reference.
16:36:46,625 WARN [org.jboss.as.server.deployment] (MSC service thread 1-1) Class Path entry commons-beanutils.jar in "/C:/ipic/jboss/bin/content/ipff.war/WEB-INF/lib/struts.jar" does not point to a valid jar for a Class-Path reference.
16:36:46,812 WARN [org.jboss.as.server.deployment] (MSC service thread 1-1) Class Path entry commons-digester.jar in "/C:/ipic/jboss/bin/content/ipff.war/WEB-INF/lib/struts.jar" does not point to a valid jar for a Class-Path reference.
16:36:46,843 WARN [org.jboss.as.server.deployment] (MSC service thread 1-1) Class Path entry commons-fileupload.jar in "/C:/ipic/jboss/bin/content/ipff.war/WEB-INF/lib/struts.jar" does not point to a valid jar for a Class-Path reference.
16:36:46,843 WARN [org.jboss.as.server.deployment] (MSC service thread 1-1) Class Path entry commons-logging.jar in "/C:/ipic/jboss/bin/content/ipff.war/WEB-INF/lib/struts.jar" does not point to a valid jar for a Class-Path reference.
16:36:46,859 WARN [org.jboss.as.server.deployment] (MSC service thread 1-1) Class Path entry commons-validator.jar in "/C:/ipic/jboss/bin/content/ipff.war/WEB-INF/lib/struts.jar" does not point to a valid jar for a Class-Path reference.
16:36:46,859 WARN [org.jboss.as.server.deployment] (MSC service thread 1-1) Class Path entry jakarta-oro.jar in "/C:/ipic/jboss/bin/content/ipff.war/WEB-INF/lib/struts.jar" does not point to a valid jar for a Class-Path reference.
16:37:08,578 ERROR [stderr] (MSC service thread 1-2) 2011-08-01,16:37:08578 Root WebApplicationContext: initialization started
16:37:08,578 INFO [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/ipff]] (MSC service thread 1-2) Loading Spring root WebApplicationContext
16:37:08,656 ERROR [stderr] (MSC service thread 1-2) 2011-08-01,16:37:08656 JDK 1.4+ collections available
16:37:10,234 ERROR [stderr] (MSC service thread 1-2) 2011-08-01,16:37:10234 Loading XML bean definitions from URL [vfs:/C:/ipic/jboss/bin/content/ipff.war/WEB-INF/classes/applicationContext-actions.xml]
16:37:10,437 ERROR [stderr] (MSC service thread 1-2) 2011-08-01,16:37:10437 Loading XML bean definitions from URL [vfs:/C:/ipic/jboss/bin/content/ipff.war/WEB-INF/classes/applicationContext-common.xml]
16:37:10,593 ERROR [stderr] (MSC service thread 1-2) 2011-08-01,16:37:10593 Loading XML bean definitions from URL [vfs:/C:/ipic/jboss/bin/content/ipff.war/WEB-INF/classes/applicationContext-others.xml]
16:37:10,796 ERROR [stderr] (MSC service thread 1-2) 2011-08-01,16:37:10796 Loading XML bean definitions from URL [vfs:/C:/ipic/jboss/bin/content/ipff.war/WEB-INF/classes/applicationContext-services.xml]
16:37:11,093 ERROR [stderr] (MSC service thread 1-2) 2011-08-01,16:37:1193 Bean factory for application context [Root WebApplicationContext]: org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [/improve,bean省略……]
16:37:11,140 ERROR [stderr] (MSC service thread 1-2) 2011-08-01,16:37:11140 118 beans defined in application context [Root WebApplicationContext]
16:37:11,359 ERROR [stderr] (MSC service thread 1-2) 2011-08-01,16:37:11359 CGLIB2 available: proxyTargetClass feature enabled
16:37:11,453 ERROR [stderr] (MSC service thread 1-2) 2011-08-01,16:37:11453 Bean 'org.springframework.aop.config.internalAutoProxyCreator' is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
16:37:11,453 ERROR [stderr] (MSC service thread 1-2) 2011-08-01,16:37:11453 Unable to locate MessageSource with name 'messageSource': using default [org.springframework.context.support.DelegatingMessageSource@1708593]
16:37:11,468 ERROR [stderr] (MSC service thread 1-2) 2011-08-01,16:37:11468 Unable to locate ApplicationEventMulticaster with name 'applicationEventMulticaster': using default [org.springframework.context.event.SimpleApplicationEventMulticaster@1db2215]
16:37:11,468 ERROR [stderr] (MSC service thread 1-2) 2011-08-01,16:37:11468 Unable to locate ThemeSource with name 'themeSource': using default [org.springframework.ui.context.support.ResourceBundleThemeSource@23af64]
16:37:11,484 ERROR [stderr] (MSC service thread 1-2) 2011-08-01,16:37:11484 Pre-instantiating singletons in factory [org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [/improve,bean省略]
16:37:11,765 ERROR [stderr] (MSC service thread 1-2) 2011-08-01,16:37:11765 Hibernate 3.2.0
16:37:11,765 ERROR [stderr] (MSC service thread 1-2) 2011-08-01,16:37:11765 hibernate.properties not found
16:37:11,765 ERROR [stderr] (MSC service thread 1-2) 2011-08-01,16:37:11765 Bytecode provider name : cglib
16:37:11,828 ERROR [stderr] (MSC service thread 1-2) 2011-08-01,16:37:11828 using JDK 1.4 java.sql.Timestamp handling
16:37:12,593 ERROR [stderr] (MSC service thread 1-2) 2011-08-01,16:37:12593 Mapping class: com.ipic.bean.Patent -> patent
………………
………………
[解决办法]
16:37:22,406 ERROR [stderr] (MSC service thread 1-2) 2011-08-01,16:37:22406 Building new Hibernate SessionFactory
16:37:22,625 ERROR [stderr] (MSC service thread 1-2) 2011-08-01,16:37:22625 Initializing connection provider: org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider
16:37:25,750 ERROR [stderr] (MSC service thread 1-2) 2011-08-01,16:37:25750 RDBMS: MySQL, version: 5.1.23-rc-community
16:37:25,765 ERROR [stderr] (MSC service thread 1-2) 2011-08-01,16:37:25765 JDBC driver: MySQL-AB JDBC Driver, version: mysql-connector-java-5.0.6 ( $Date: 2007-03-09 22:13:57 +0100 (Fri, 09 Mar 2007) $, $Revision: 6341 $ )
16:37:25,781 ERROR [stderr] (MSC service thread 1-2) 2011-08-01,16:37:25781 Using dialect: org.hibernate.dialect.MySQL5Dialect
16:37:25,796 ERROR [stderr] (MSC service thread 1-2) 2011-08-01,16:37:25796 Using default transaction strategy (direct JDBC transactions)
16:37:25,796 ERROR [stderr] (MSC service thread 1-2) 2011-08-01,16:37:25796 No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
16:37:25,796 ERROR [stderr] (MSC service thread 1-2) 2011-08-01,16:37:25796 Automatic flush during beforeCompletion(): disabled
16:37:25,796 ERROR [stderr] (MSC service thread 1-2) 2011-08-01,16:37:25796 Automatic session close at end of transaction: disabled
16:37:25,796 ERROR [stderr] (MSC service thread 1-2) 2011-08-01,16:37:25796 JDBC batch size: 15
16:37:25,812 ERROR [stderr] (MSC service thread 1-2) 2011-08-01,16:37:25812 JDBC batch updates for versioned data: disabled
16:37:25,812 ERROR [stderr] (MSC service thread 1-2) 2011-08-01,16:37:25812 Scrollable result sets: enabled
16:37:25,812 ERROR [stderr] (MSC service thread 1-2) 2011-08-01,16:37:25812 JDBC3 getGeneratedKeys(): enabled
16:37:25,812 ERROR [stderr] (MSC service thread 1-2) 2011-08-01,16:37:25812 Connection release mode: on_close
16:37:25,828 ERROR [stderr] (MSC service thread 1-2) 2011-08-01,16:37:25828 Maximum outer join fetch depth: 2
16:37:25,828 ERROR [stderr] (MSC service thread 1-2) 2011-08-01,16:37:25828 Default batch fetch size: 1
16:37:25,828 ERROR [stderr] (MSC service thread 1-2) 2011-08-01,16:37:25828 Generate SQL with comments: disabled
16:37:25,843 ERROR [stderr] (MSC service thread 1-2) 2011-08-01,16:37:25843 Order SQL updates by primary key: disabled
16:37:25,843 ERROR [stderr] (MSC service thread 1-2) 2011-08-01,16:37:25843 Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
16:37:25,859 ERROR [stderr] (MSC service thread 1-2) 2011-08-01,16:37:25859 Using ASTQueryTranslatorFactory
16:37:25,859 ERROR [stderr] (MSC service thread 1-2) 2011-08-01,16:37:25859 Query language substitutions: {}
16:37:25,859 ERROR [stderr] (MSC service thread 1-2) 2011-08-01,16:37:25859 JPA-QL strict compliance: disabled
16:37:25,875 ERROR [stderr] (MSC service thread 1-2) 2011-08-01,16:37:25875 Second-level cache: enabled
16:37:25,875 ERROR [stderr] (MSC service thread 1-2) 2011-08-01,16:37:25875 Query cache: disabled
16:37:25,890 ERROR [stderr] (MSC service thread 1-2) 2011-08-01,16:37:25890 Cache provider: org.hibernate.cache.NoCacheProvider
16:37:25,890 ERROR [stderr] (MSC service thread 1-2) 2011-08-01,16:37:25890 Optimize cache for minimal puts: disabled
16:37:25,890 ERROR [stderr] (MSC service thread 1-2) 2011-08-01,16:37:25890 Structured second-level cache entries: disabled
16:37:25,906 ERROR [stderr] (MSC service thread 1-2) 2011-08-01,16:37:25906 Statistics: disabled
16:37:25,906 ERROR [stderr] (MSC service thread 1-2) 2011-08-01,16:37:25906 Deleted entity synthetic identifier rollback: disabled
16:37:25,906 ERROR [stderr] (MSC service thread 1-2) 2011-08-01,16:37:25906 Default entity-mode: pojo
16:37:25,953 ERROR [stderr] (MSC service thread 1-2) 2011-08-01,16:37:25953 building session factory
16:37:30,453 ERROR [stderr] (MSC service thread 1-2) 2011-08-01,16:37:30453 Not binding factory to JNDI, no JNDI name configured
16:37:30,546 ERROR [stderr] (MSC service thread 1-2) 2011-08-01,16:37:30546 Using DataSource [org.apache.commons.dbcp.BasicDataSource@c751fd] of Hibernate SessionFactory for HibernateTransactionManager
16:37:32,531 ERROR [stderr] (MSC service thread 1-2) 2011-08-01,16:37:32531 Using context class [org.springframework.web.context.support.XmlWebApplicationContext] for root WebApplicationContext
16:37:32,546 ERROR [stderr] (MSC service thread 1-2) 2011-08-01,16:37:32546 Root WebApplicationContext: initialization completed in 23968 ms
16:37:35,484 ERROR [stderr] (MSC service thread 1-2) 2011-08-01,16:37:35484 Tiles definition factory loaded for module ''.
16:37:35,500 ERROR [stderr] (MSC service thread 1-2) 2011-08-01,16:37:35500 Loading validation rules file from '/WEB-INF/validator-rules.xml'
16:37:35,531 ERROR [stderr] (MSC service thread 1-2) 2011-08-01,16:37:35531 Loading validation rules file from '/WEB-INF/validation.xml'
16:37:35,937 INFO [org.jboss.web] (MSC service thread 1-2) registering web context: /ipff
16:37:35,937 INFO [org.jboss.as] (MSC service thread 1-1) JBoss AS 7.0.0.Final "Lightning" started in 271703ms - Started 576 of 633 services (57 services are passive or on-demand)
16:37:36,453 INFO [org.jboss.as.server.controller] (DeploymentScanner-threads - 2) Deployed "ipff.war"
[解决办法]
求助!
[解决办法]
jboss7的classloading,class dependence有些变化,是基于模块化的.不过好像虽然报了不少错,最后还是部署成功了?你可以先在jboss6上部署试试.
[解决办法]
该回复于2011-08-22 10:45:26被版主删除