RE: Tomcat restart and jar

2009-06-12 Thread Caldarale, Charles R
> From: Nowhere [mailto:spina.r...@gmail.com]
> Subject: RE: Tomcat restart and jar
> 
> Sorry for my translation if you missed something in
> my previous post.

No, I was just referring to your opening comment:
"I have a very stuoid question, but I'm bored by it..."

> Caused by: org.springframework.beans.factory.BeanCreationException:
> Error creating bean with name 'transactionService' defined in class
> path resource [alfresco/core-services-context.xml]: Instantiation of
> bean failed; nested exception is java.lang.ExceptionInInitializerError
> Caused by: java.lang.ExceptionInInitializerError

Are there any other exceptions in the log?  Looks like there should have been 
something else that might have triggered this rather generic one.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: Tomcat restart and jar

2009-06-12 Thread Nowhere

Hi Charles,
thanks for suggestion. Sorry for my translation if you missed something in
my previous post.

I added three jars in my C:\Tomcat6\conf\Catalina\localhost\Alfresco.xml
(alfresco is my webapp):


  WEB-INF/lib/myClasses.jar
  WEB-INF/lib/myClasses1.jar
  WEB-INF/lib/myClasses2.jar

 

 but when I export modified jar from eclipse tomcat fails reloading and stop
with error:

Caused by: org.springframework.beans.factory.BeanCreationException: Error
creati
ng bean with name 'transactionService' defined in class path resource
[alfresco/
core-services-context.xml]: Instantiation of bean failed; nested exception
is ja
va.lang.ExceptionInInitializerError
Caused by: java.lang.ExceptionInInitializerError
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)

at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at
org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:8
5)
at
org.springframework.beans.factory.support.SimpleInstantiationStrategy
.instantiate(SimpleInstantiationStrategy.java:61)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.instantiateBean(AbstractAutowireCapableBeanFactory.java:757)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:722)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.createBean(AbstractAutowireCapableBeanFactory.java:386)
at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getOb
ject(AbstractBeanFactory.java:249)
at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistr
y.getSingleton(DefaultSingletonBeanRegistry.java:155)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(AbstractBeanFactory.java:246)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(AbstractBeanFactory.java:160)
at
org.springframework.beans.factory.support.BeanDefinitionValueResolver
ecc...

Any suggestion? Anyway thanks for help! :-)



Caldarale, Charles R wrote:
> 
>> From: Nowhere [mailto:spina.r...@gmail.com]
>> Subject: Tomcat restart and jar
>> 
>> I have a very stuoid question, but I'm bored by it...
> 
> We'll assume something has been lost in translation here...
> 
>> Can't I avoid restarting and having tomcat seeing changing?
> 
> Create a  element inside the  element of your
> webapp; the value should be the path to the .jar you're constantly
> updating, relative to the base of the webapp.  For example:
> 
> 
>   WEB-INF/lib/myClasses.jar
> 
> 
> - Chuck
> 
> 
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
> MATERIAL and is thus for use only by the intended recipient. If you
> received this in error, please contact the sender and delete the e-mail
> and its attachments from all computers.
> 
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Tomcat-restart-and-jar-tp23990248p23994515.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: Tomcat restart and jar

2009-06-11 Thread Caldarale, Charles R
> From: Nowhere [mailto:spina.r...@gmail.com]
> Subject: Tomcat restart and jar
> 
> I have a very stuoid question, but I'm bored by it...

We'll assume something has been lost in translation here...

> Can't I avoid restarting and having tomcat seeing changing?

Create a  element inside the  element of your webapp; 
the value should be the path to the .jar you're constantly updating, relative 
to the base of the webapp.  For example:


  WEB-INF/lib/myClasses.jar


- Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Tomcat restart and jar

2009-06-11 Thread Nowhere

Hi all,
I have a very stuoid question, but I'm bored by it...so I thought to ask
help to you.
I'm modifing many times a jar in a webapp in tomcat and I need to restart
tomcat every change I do. Can't I avoid restarting and having tomcat seeing
changing?
Hoping in any hint, I restart tomcat a lot of times :( and it takes much
time...
Greetings.
-- 
View this message in context: 
http://www.nabble.com/Tomcat-restart-and-jar-tp23990248p23990248.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org