STS_Upgrade_Issue

coldwaterphewΔιακομιστές

17 Νοε 2013 (πριν από 3 χρόνια και 7 μήνες)

84 εμφανίσεις

STS 2.3.2


context.xml






Tomcat server v6.0 configuration.


Start Up Arguments:




-
Dcatalina.base="C:
\
JAVA
\
springsource
\
tc
-
server
-
6.0.20.C"
-
Dcatalina.home="C:
\
JAVA
\
springsource
\
tc
-
server
-
6.0.20.C"
-
Dwtp.deploy="C:
\
JAVA
\
springsou
rce
\
tc
-
server
-
6.0.20.C
\
wtpwebapps"
-
Djava.endorsed.dirs="C:
\
JAVA
\
springsource
\
tc
-
server
-
6.0.20.C
\
endorsed"
-
Xmx512m
-
Xss192k
-
Dinsight.enabled=false
-
Dmode=dev
-
DCSSENV=dev
-
DCSSPROPFILE="C:
\
snapshot
\
INYSCM_CMMN_Apps_1.5.6
\
AFS
\
CMMN_APPS1
\
C
ommonApp
\
src
\
main
\
commonclient.properties"


Classpath:



STS 2.8.0


context.xml








vFabric tc Server v2.5, 2.6
configuration.


Start Up Arguments:




-
Dcatalina.base="C:
\
JAVA
\
STS 2.8.0
\
vfabric
-
tc
-
server
-
developer
-
2.6.1.RELEASE
\
localhost"
-
Dcat
alina.home="C:
\
JAVA
\
STS 2.8.0
\
vfabric
-
tc
-
server
-
developer
-
2.6.1.RELEASE
\
tomcat
-
6.0.33.A.RELEASE"
-
Dwtp.deploy="C:
\
JAVA
\
STS
2.8.0
\
vfabric
-
tc
-
server
-
developer
-
2.6.1.RELEASE
\
localhost
\
wtpwebapps"
-
Djava.endorsed.dirs="C:
\
JAVA
\
STS 2.8.0
\
vfabric
-
tc
-
server
-
devel
oper
-
2.6.1.RELEASE
\
tomcat
-
6.0.33.A.RELEASE
\
endorsed"
-
Dinsight.base="C:
\
JAVA
\
STS
2.8.0
\
vfabric
-
tc
-
server
-
developer
-
2.6.1.RELEASE
\
localhost
\
insight"
-
Xmx512m
-
Xss192k
-
XX:MaxPermSize=128m
-
Dinsight.enabled=false
-
Dmode=dev
-
DCSSENV=dev
-
DCSSPROPFILE="C:
\
sna
pshot
\
INYSCM_CMMN_Apps_1.5.6
\
AFS
\
CMMN_APPS1
\
C
ommonApp
\
src
\
main
\
commonclient.properties"

Classpath:




Error Stack Trace in STS 2.8.0
:


Feb 22, 2013 11:53:52 AM
com.springsource.tcserver.security.PropertyDecoder <init>

INFO: tc Runtime property decoder u
sing memory
-
based key

Feb 22, 2013 11:53:53 AM
com.springsource.tcserver.security.PropertyDecoder <init>

INFO: tcServer Runtime property decoder has been initialized in 1241 ms

Feb 22, 2013 11:53:54 AM
com.springsource.tcserver.serviceability.rmi.JmxSocket
Listener init

INFO: Started up JMX registry on 127.0.0.1:6969 in 192 ms

Feb 22, 2013 11:53:54 AM org.apache.coyote.http11.Http11Protocol init

INFO: Initializing Coyote HTTP/1.1 on http
-
9080

Feb 22, 2013 11:53:54 AM org.apache.catalina.startup.Catalina load

INFO: Initialization processed in 2119 ms

Feb 22, 2013 11:53:54 AM org.apache.catalina.core.StandardService start

INFO: Starting service Catalina

Feb 22, 2013 11:53:54 AM org.apache.catalina.core.StandardEngine start

INFO: Starting Servlet Engine: VMware
vFabric tc Runtime
2.6.1.RELEASE/6.0.33.A.RELEASE

Feb 22, 2013 11:53:54 AM org.apache.catalina.startup.HostConfig
deployDescriptor

INFO: Deploying configuration descriptor insight.xml

Feb 22, 2013 11:53:56 AM
com.springsource.insight.collection.tcserver.lt
w.TomcatWeavingInsightCl
assLoader start

INFO: Context [localhost|insight] will not be woven

Feb 22, 2013 11:53:56 AM org.apache.tomcat.jdbc.pool.ConnectionPool
init

WARNING: maxIdle is smaller than minIdle, setting maxIdle to: 10

Feb 22, 2013 11:54:07 AM o
rg.apache.tomcat.jdbc.pool.ConnectionPool
init

WARNING: maxIdle is smaller than minIdle, setting maxIdle to: 10

Feb 22, 2013 11:54:10 AM org.apache.tomcat.jdbc.pool.ConnectionPool
init

WARNING: maxIdle is smaller than minIdle, setting maxIdle to: 10

Feb 22
, 2013 11:54:13 AM org.apache.catalina.core.ApplicationContext
log

INFO: Initializing Spring root WebApplicationContext

Feb 22, 2013 11:54:26 AM org.apache.catalina.core.StandardContext
listenerStart

SEVERE: Exception sending context initialized event to l
istener
instance of class org.springframework.web.context.ContextLoaderListener

org.springframework.beans.factory.BeanCreationException
: Error creating
bean with name
'org.springframework.dao.annotation.PersistenceExceptionTranslationPost
Processor#0' defin
ed in class path resource
[com/springsource/insight/repo/app
-
config
-
db.xml]: Initialization of
bean failed; nested exception is
org.springframework.beans.factory.BeanCreationException
: Error creating
bean with name 'entityManagerFactory' defined in class p
ath resource
[com/springsource/insight/repo/app
-
config
-
db.xml]: Invocation of init
method failed; nested exception is java.lang.NoSuchMethodError:
javax.persistence.spi.PersistenceUnitInfo.getValidationMode()Ljavax/per
sistence/ValidationMode;


at
org.sprin
gframework.beans.factory.support.AbstractAutowireCapableBeanFa
ctory.doCreateBean(
AbstractAutowireCapableBeanFactory.java:527
)


at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFa
ctory.createBean(
AbstractAutowireCapableBeanFactory.jav
a:456
)


at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObje
ct(
AbstractBeanFactory.java:291
)


at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.
getSingleton(
DefaultSingletonBeanRegistry.java:222
)


at
org.spring
framework.beans.factory.support.AbstractBeanFactory.doGetBean
(
AbstractBeanFactory.java:288
)


at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(
A
bstractBeanFactory.java:194
)


at
org.springframework.context.support.AbstractApplicationC
ontext.register
BeanPostProcessors(
AbstractApplicationContext.java:710
)


at
org.springframework.context.support.AbstractApplicationContext.refresh(
AbstractApplicationContext.java:410
)


at
org.springframework.web.context.ContextLoader.createWebApplicationCon
te
xt(
ContextLoader.java:276
)


at
org.springframework.web.context.ContextLoader.initWebApplicationContext
(
ContextLoader.java:197
)


at
org.springframework.web.context.ContextLoaderListener.contextInitialize
d(
ContextLoaderListener.java:47
)


at
org.apache.cata
lina.core.StandardContext.listenerStart(
StandardContext.
java:4206
)


at
org.apache.catalina.core.StandardContext.start(
StandardContext.java:470
5
)


at
org.apache.catalina.core.ContainerBase.addChildInternal(
ContainerBase.j
ava:799
)


at
org.apache.catalina.cor
e.ContainerBase.addChild(
ContainerBase.java:779
)


at
org.apache.catalina.core.StandardHost.addChild(
StandardHost.java:623
)


at
org.apache.catalina.startup.HostConfig.deployDescriptor(
HostConfig.java
:675
)


at
org.apache.catalina.startup.HostConfig.deployDes
criptors(
HostConfig.jav
a:601
)


at
org.apache.catalina.startup.HostConfig.deployApps(
HostConfig.java:502
)


at
org.apache.catalina.startup.HostConfig.start(
HostConfig.java:1322
)


at
org.apache.catalina.startup.HostConfig.lifecycleEvent(
HostConfig.java:3
24
)


at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(
LifecycleS
upport.java:142
)


at
org.apache.catalina.core.ContainerBase.start(
ContainerBase.java:1065
)


at
org.apache.catalina.core.StandardHost.start(
StandardHost.java:862
)


at
org.apache.catal
ina.core.ContainerBase.start(
ContainerBase.java:1057
)


at
org.apache.catalina.core.StandardEngine.start(
StandardEngine.java:463
)


at
org.apache.catalina.core.StandardService.start(
StandardService.java:525
)


at
org.apache.catalina.core.StandardServer.start(
StandardServer.java:754
)


at org.apache.catalina.startup.Catalina.start(
Catalina.java:595
)


at sun.reflect.NativeMethodAccessorImpl.invoke0(
Native Method
)


at
sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.ja
va:39
)


at
sun.reflect.Del
egatingMethodAccessorImpl.invoke(
DelegatingMethodAccesso
rImpl.java:25
)


at java.lang.reflect.Method.invoke(
Method.java:597
)


at
org.apache.catalina.startup.Bootstrap.start(
Bootstrap.java:289
)


at org.apache.catalina.startup.Bootstrap.main(
Bootstrap.java:41
4
)

Caused by:
org.springframework.beans.factory.BeanCreationException
:
Error creating bean with name 'entityManagerFactory' defined in class
path resource [com/springsource/insight/repo/app
-
config
-
db.xml]:
Invocation of init method failed; nested exception

is
java.lang.NoSuchMethodError:
javax.persistence.spi.PersistenceUnitInfo.getValidationMode()Ljavax/per
sistence/ValidationMode;


at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFa
ctory.initializeBean(
AbstractAutowireCapableBeanFact
ory.java:1420
)


at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFa
ctory.doCreateBean(
AbstractAutowireCapableBeanFactory.java:519
)


at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFa
ctory.createBean(
AbstractAu
towireCapableBeanFactory.java:456
)


at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObje
ct(
AbstractBeanFactory.java:291
)


at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.
getSingleton(
DefaultSingletonBeanRegis
try.java:222
)


at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean
(
AbstractBeanFactory.java:288
)


at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(
A
bstractBeanFactory.java:194
)


at
org.springframework.beans.fa
ctory.support.DefaultListableBeanFactory.ge
tBeansOfType(
DefaultListableBeanFactory.java:398
)


at
org.springframework.beans.factory.BeanFactoryUtils.beansOfTypeIncluding
Ancestors(
BeanFactoryUtils.java:275
)


at
org.springframework.dao.support.PersistenceExce
ptionTranslationIntercep
tor.detectPersistenceExceptionTranslators(
PersistenceExceptionTranslati
onInterceptor.java:139
)


at
org.springframework.dao.support.PersistenceExceptionTranslationIntercep
tor.<init>(
PersistenceExceptionTranslationInterceptor.java:79
)


at
org.springframework.dao.annotation.PersistenceExceptionTranslationAdvis
or.<init>(
PersistenceExceptionTranslationAdvisor.java:70
)


at
org.springframework.dao.annotation.PersistenceExceptionTranslationPostP
rocessor.setBeanFactory(
PersistenceExceptionTra
nslationPostProcessor.ja
va:99
)


at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFa
ctory.invokeAwareMethods(
AbstractAutowireCapableBeanFactory.java:1439
)


at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFa
ctor
y.initializeBean(
AbstractAutowireCapableBeanFactory.java:1408
)


at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFa
ctory.doCreateBean(
AbstractAutowireCapableBeanFactory.java:519
)


... 34 more

Caused by: java.lang.NoSuchMethodError:
j
avax.persistence.spi.PersistenceUnitInfo.getValidationMode()Ljavax/per
sistence/ValidationMode;


at
org.hibernate.ejb.Ejb3Configuration.configure(
Ejb3Configuration.java:62
5
)


at
org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFact
ory(
Hibe
rnatePersistence.java:73
)


at
org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.crea
teNativeEntityManagerFactory(
LocalContainerEntityManagerFactoryBean.jav
a:225
)


at
org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPrope
rt
iesSet(
AbstractEntityManagerFactoryBean.java:308
)


at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFa
ctory.invokeInitMethods(
AbstractAutowireCapableBeanFactory.java:1477
)


at
org.springframework.beans.factory.support.AbstractAutowir
eCapableBeanFa
ctory.initializeBean(
AbstractAutowireCapableBeanFactory.java:1417
)


... 49 more

Feb 22, 2013 11:54:26 AM org.apache.catalina.core.StandardContext start

SEVERE: Error listenerStart

Feb 22, 2013 11:54:26 AM org.apache.catalina.core.StandardCont
ext start

SEVERE: Context [/insight] startup failed due to previous errors

Feb 22, 2013 11:54:26 AM org.apache.catalina.core.ApplicationContext
log

INFO: Closing Spring root WebApplicationContext

Feb 22, 2013 11:54:26 AM org.apache.catalina.loader.WebappCl
assLoader
clearReferencesJdbc

SEVERE: The web application [/insight] registered the JDBC driver
[org.h2.Driver] but failed to unregister it when the web application
was stopped. To prevent a memory leak, the JDBC Driver has been
forcibly unregistered.

Feb
22, 2013 11:54:26 AM org.apache.catalina.loader.WebappClassLoader
clearReferencesThreads

SEVERE: The web application [/insight] appears to have started a thread
named [[Pool
-
Cleaner]:Tomcat Connection Pool[1
-
12437939]] but has
failed to stop it. This is ve
ry likely to create a memory leak.

Feb 22, 2013 11:54:26 AM org.apache.catalina.loader.WebappClassLoader
clearReferencesThreads

SEVERE: The web application [/insight] appears to have started a thread
named [[Pool
-
Cleaner]:Tomcat Connection Pool[2
-
12437939]
] but has
failed to stop it. This is very likely to create a memory leak.

Feb 22, 2013 11:54:26 AM org.apache.catalina.loader.WebappClassLoader
clearReferencesThreads

SEVERE: The web application [/insight] appears to have started a thread
named [[Pool
-
Clea
ner]:Tomcat Connection Pool[3
-
12437939]] but has
failed to stop it. This is very likely to create a memory leak.

Feb 22, 2013 11:54:26 AM org.apache.catalina.loader.WebappClassLoader
clearReferencesThreads

SEVERE: The web application [/insight] appears to
have started a thread
named [Timer
-
0] but has failed to stop it. This is very likely to
create a memory leak.

Feb 22, 2013 11:54:26 AM org.apache.catalina.loader.WebappClassLoader
clearReferencesThreads

SEVERE: The web application [/insight] appears to hav
e started a thread
named [H2 File Lock Watchdog C:
\
JAVA
\
STS 2.8.0
\
vfabric
-
tc
-
server
-
developer
-
2.6.1.RELEASE
\
localhost
\
insight
\
data
\
dashboard
\
dashboard.lock.db] but
has failed to stop it. This is very likely to create a memory leak.

Feb 22, 2013 11:54:26 AM

org.apache.catalina.loader.WebappClassLoader
clearReferencesThreads

SEVERE: The web application [/insight] appears to have started a thread
named [H2 Log Writer DASHBOARD] but has failed to stop it. This is very
likely to create a memory leak.