List Info

Thread: CJUG/West Meeting Thursday - Dynamic Languages and the JVM




CJUG/West Meeting Thursday - Dynamic Languages and the JVM
country flaguser name
United States
2007-10-03 16:46:24

** CJUG/West meets Thursday, October 4 **
** 1st Thursday of the month **

TOPIC: Dynamic Languages and the JVM

SPONSOR: 2007 Great Lakes Software Symposium
http://www.nofluffjuststuff.com/sh/2007-11-chicago

WHEN:
Thursday, October 4, 2007
6:30 pizza/networking
7:00 presentation

WHERE:
NEW LOCATION!!
Oracle
Three Westbrook Corporate Center
Suite 700
Westchester, IL 60154
map: http://tinyurl.com/yqeo32

DESCRIPTION:
With all the attention being paid to Ruby and it's hip cousin Rails, many in the Java camp may be feeling like their party invitation is lost in the mail. Fear not loyal Java lovers, the dynamic language meme is alive and well in your space! Between numerous JSRs and various languages, the JVM is becoming quite the dynamic disco. After an overview of what it means to be dynamic, this talk will look at JRuby, Groovy, and Rhino.

http://www.cjug.org/Wiki.jsp?page=2007.10.04.west

SPEAKER:
Nathaniel T. Schutta is a senior software engineer in the Twin Cities area of Minnesota with extensive experience developing Java Enterprise Editionbased Web applications. He graduated from St. John's University (MN) with a degree in Computer Science and has a master's of science degree in software engineering from the University of Minnesota. For the last several years, he has focused on user interface design. A long-time member of the Association for Computing Machinery's Computer-Human Interaction Special Interest Group, Nathaniel believes that if the user can't figure out your application, then you've done something wrong.

Along with his user interface work, Nathaniel is the co-creator of the open-source Taconite framework, has contributed to two corporate Java frameworks, has developed training material, and has led several study groups. During the brief moments of warm weather found in his home state of Minnesota, he spends as much time on the golf course as his wife will tolerate. He's currently exploring Ruby, Rails, and (after recently making the switch) Mac OS X. Nathaniel is the coauthor of the bestselling book, Foundations of Ajax.

Nathaniel is a No Fluff Just Stuff speaker.

COST:
FREE to CJUG members and guests

We hope you can join us,
The CJUG Board
www.cjug.org

__._,_.___
.

__,_._,___
JAXB Exception while Marshalling
country flaguser name
United States
2007-10-04 15:59:17


 
Hi everyone,
I need some help. We are experiencing JAXB Exception while Marshalling. Here are the steps we did:
 

1.  Downloaded JWSDP2.0 pack, which contains Jaxb2.0  and am added the jars (jaxb1-impl.jar,jaxb-api.jar,jaxb-impl.jar,jaxb-xjc.jar) into class path.
2.  Ran Jaxb Schemangen.bat against java file (Settings.java bean) ;for generating XSD file. ;
3.  After XSD generated, then I ran xjc.bat (Jaxb compiler) against this XSD file.
4.  Then it has generated two files:  ObjectFactory.java and Settings.java in generated folder.
5.  Configured Jaxb2Marshaller in applicationContext.  File attached with this mail.
6.  Then I ran into two exceptions one after the other
      i.  java.lang.NoClassDefFoundError: javax.activation.DataSource   - I have added Activation.jar into class path to resolve this problem.
     ii. java.lang.NoClassDefFoundError: javax.xml.stream.XMLStreamException - I have added jsr173_1.0_api.jar into class path to resolve this problem.
 
7.  Now I am getting the following exception when it calls marshall method.
      org.springframework.oxm.jaxb.JaxbSystemException: Settings nor any of its super class is known to this context; nested exception is
      javax.xml.bind.JAXBException: Settings nor any of its super class is known to this context
 
We would be very happy if you can provide any clues/suggestions for resolving this error.
 
Thanks,
Mohan
 
 
 
 
Note: ;I have the below jar files in the class path.
 
spring-2.0.6.jar, spring-oxm-1.0.1.jar, spring-oxm-tiger-1.0.1.jar,spring-ws-core-1.0.1.jar, spring-ws-core-tiger-1.0.1.jar,spring-ws-security-1.0.1.jar,spring-xml-1.0.1.jar,
activation.jar, jsr173_1.0_api.jar, jaxb1-impl.jar, jaxb-api.jar,jaxb-impl.jar,jaxb-xjc.jar, commons-logging-1.1.jar, log4j-1.2.14.jar
 
 
 

__._,_.___
.

__,_._,___
RE: JAXB Exception while Marshalling
country flaguser name
United States
2007-10-04 17:14:31

I forgot to attach the applicationContext.xml file earlier .. I have attached at the end .. Any help is appreciated ..

 

---------------------------------
On 10/4/07, Mohan P < mohankumargphotmail.com">mohankumargphotmail.com> wrote:

 
Hi everyone,
I need some help. We are experiencing JAXB Exception while Marshalling. Here are the steps we did:
 ;
1.  Downloaded JWSDP2.0 pack, which contains Jaxb2.0&nbsp; and am added the jars (jaxb1-impl.jar,jaxb-api.jar,jaxb-impl.jar,jaxb-xjc.jar) into class path.
2. &nbsp;Ran Jaxb Schemangen.bat against java file (Settings.java bean) ;for generating XSD file. ;
3.  After XSD generated, then I ran xjc.bat (Jaxb compiler) against this XSD file.
4.  Then it has generated two files:&nbsp; ObjectFactory.java and Settings.java in generated folder.
5.  Configured Jaxb2Marshaller in applicationContext.&nbsp; File attached with this mail.
6.  Then I ran into two exceptions one after the other
 &nbsp; &nbsp;  i.  java.lang.NoClassDefFoundError: javax.activation.DataSource&nbsp;  - I have added Activation.jar into class path to resolve this problem.
 &nbsp; &nbsp; ii. java.lang.NoClassDefFoundError: javax.xml.stream.XMLStreamException - I have added jsr173_1.0_api.jar into class path to resolve this problem.
 
7.  Now I am getting the following exception when it calls marshall method.
 &nbsp; &nbsp;  org.springframework.oxm.jaxb.JaxbSystemException : Settings nor any of its super class is known to this context; nested exception is
 &nbsp; &nbsp;  javax.xml.bind.JAXBException: Settings nor any of its super class is known to this context
 
We would be very happy if you can provide any clues/suggestions for resolving this error.
 
Thanks,
Mohan
&nbsp;
 ;
 
&nbsp;
Note: ;I have the&nbsp;below&nbsp;jar&nbsp;files&nbsp;in the class path.
 
spring-2.0.6.jar, spring-oxm-1.0.1.jar, spring-oxm-tiger-1.0.1.jar,spring-ws-core-1.0.1.jar, spring-ws-core-tiger-1.0.1.jar,spring-ws-security-1.0.1.jar, spring-xml-1.0.1.jar,
activation.jar, jsr173_1.0_api.jar, jaxb1-impl.jar, jaxb-api.jar,jaxb-impl.jar,jaxb-xjc.jar, commons-logging-1.1.jar, log4j-1.2.14.jar
 
 
 

<?xml version="1.0" encoding="UTF-8" ?>
  <!DOCTYPE beans (View Source for full doctype...)>
- <beans default-autowire="no" default-lazy-init="false" default-dependency-check="none">
- <bean id="application" class="Application" lazy-init="default" autowire="default" dependency-check="default">
  <property name="marshaller" ref="jaxb2Marshaller" />
  <property name="unmarshaller" ref="jaxb2Marshaller" />
  </bean>
- <bean id="jaxb2Marshaller" class="org.springframework.oxm.jaxb.Jaxb2Marshaller" lazy-init="default" autowire="default" dependency-check="default">
  <property name="contextPath" value="generated" />
  </bean>
  </beans>

__._,_.___
Recent Activity
Visit Your Group
Yahoo! Finance

It's Now Personal

Guides, news,

advice & more.

Find Enlightenment

Yoga groups and

resources on

Yahoo! Groups.

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )