My JAVA_HOME=/usr/java/jdk1.6.0_13
I compiled the code and jar'd it with the same jdk on the Mac OS.
when I try to run mule I get.
ERROR 2009-07-28 15:10:45,746 [WrapperListener_start_runner] org.mule.MuleServer:
********************************************************************************
Message : Initialisation Failure: Error creating bean with name 'Person': Cannot resolve reference to bean '.Person:component.13' while setting bean property 'component'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '.Person:component.13': Cannot create inner bean '(inner bean)' of type [org.mule.object.PrototypeObjectFactory] while setting bean property 'objectFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)#1': Invocation of init method failed; nested exception is java.lang.UnsupportedClassVersionError: Bad version number in .class file
Type : org.mule.api.lifecycle.InitialisationException
Code : MULE_ERROR-72085
JavaDoc : http://www.mulesource.org/docs/site/current2/apidocs/org/mule/api/lifecycle/InitialisationException.html
Object : org.mule.config.spring.SpringRegistry@14b6b02
********************************************************************************
Exception stack is:
1. *Bad version number in .class file (java.lang.UnsupportedClassVersionError)*
*java.lang.ClassLoader:-2 (http://java.sun.com/j2se/1.5.0/docs/api/java/lang/UnsupportedClassVersionError.html)*
2. Error creating bean with name '(inner bean)#1': Invocation of init method failed; nested exception is java.lang.UnsupportedClassVersionError: Bad version number in .class file (org.springframework.beans.factory.BeanCreationException)
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory:1338 (null)
3. Error creating bean with name '.Person:component.13': Cannot create inner bean '(inner bean)' of type [org.mule.object.PrototypeObjectFactory] while setting bean property 'objectFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)#1': Invocation of init method failed; nested exception is java.lang.UnsupportedClassVersionError: Bad version number in .class file (org.springframework.beans.factory.BeanCreationException)
org.springframework.beans.factory.support.BeanDefinitionValueResolver:230 (null)
4. Error creating bean with name 'Person': Cannot resolve reference to bean '.Person:component.13' while setting bean property 'component'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '.Person:component.13': Cannot create inner bean '(inner bean)' of type [org.mule.object.PrototypeObjectFactory] while setting bean property 'objectFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)#1': Invocation of init method failed; nested exception is java.lang.UnsupportedClassVersionError: Bad version number in .class file (org.springframework.beans.factory.BeanCreationException)
org.springframework.beans.factory.support.BeanDefinitionValueResolver:275 (null)
5. Initialisation Failure: Error creating bean with name 'Person': Cannot resolve reference to bean '.Person:component.13' while setting bean property 'component'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '.Person:component.13': Cannot create inner bean '(inner bean)' of type [org.mule.object.PrototypeObjectFactory] while setting bean property 'objectFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)#1': Invocation of init method failed; nested exception is java.lang.UnsupportedClassVersionError: Bad version number in .class file (org.mule.api.lifecycle.InitialisationException)
org.mule.registry.AbstractRegistry:76 (http://www.mulesource.org/docs/site/current2/apidocs/org/mule/api/lifecycle/InitialisationException.html)
********************************************************************************
Root Exception stack trace:
java.lang.UnsupportedClassVersionError: Bad version number in .class file
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
I don't understand the reference to jdk1.5
I looked in the Mule startup scripts and there is no reference to jdk.
Can someone tell me what I am missing?
Thanks in advance.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
Please comment on them if you find issues or if it helped you.
Cheers,
Rich
--
View this message in context: http://www.nabble.com/Mule-not-starting-with-my-config-file-tp24707801p24739575.html
Sent from the Mule - User mailing list archive at Nabble.com.
Could you raise a JIRA for upgrading the service wrapper to
the latest version?
On Thu, 30 Jul 2009 07:30:14 -0700 (PDT), richrem <ri...@remingtons.us> wrote:
>
> Andrew is correct. But, there are complications on the Mac. I recommend you
> read the two blogs (Switching Java on the Mac and Running Mule 2.2.x with
> the 64-bit Tanuki wrapper and Java 6 on the Mac) found here ->
> http://www.rich-software.com/wp/ that are relevant to your situation.
>
> Please comment on them if you find issues or if it helped you.
>
> Cheers,
> Rich
>
>
> Andrew Perepelytsya wrote:
> >
> > From what I see your custom objects are compiled with java 6, but
> > environment is using java 5. Mule just picked up your global jdk.
> >
> > HTH,
> > Andrew
> >
> >
--
Yuji Yamano
OGIS International, Inc.
Feel free to tweak the User Impact and/or other attributes as you see fit.
Cheers,
Rich
--
View this message in context: http://www.nabble.com/Mule-not-starting-with-my-config-file-tp24707801p24748810.html
Sent from the Mule - User mailing list archive at Nabble.com.
On Thu, 30 Jul 2009 16:14:24 -0700 (PDT), richrem <ri...@remingtons.us> wrote:
> I have created a new JIRA issue, which you can view here ->
> http://www.mulesource.org/jira/browse/MULE-4454
>
> Feel free to tweak the User Impact and/or other attributes as you see fit.
>
> Cheers,
> Rich
--