ThinkingRock Forum

To go back to http://www.trgtd.com.au
It is currently Thu May 23, 2013 4:42 am

All times are UTC




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 
Author Message
PostPosted: Tue May 13, 2008 7:34 am 
Offline

Joined: Tue May 13, 2008 7:12 am
Posts: 2
Hi all,

I installed the new RC3. When I start TR I get the following Java Error Message. Could anybody give me a hint how to solve it?

Very much appreciated.

System Info:
Product Version = ThinkingRock 2.0.0.rc.3
Operating System = Windows XP version 5.1 running on x86
Java; VM; Vendor = 1.6.0_01; Java HotSpot(TM) Client VM 1.6.0_01-b06; Sun Microsystems Inc.
Runtime = Java(TM) SE Runtime Environment 1.6.0_01-b06
Java Home = C:\Program Files\Java\jdk1.6.0_01\jre
System Locale; Encoding = de_DE (tr); Cp1252


Code:
INFO [tr.view.actions]: initialiseScreensDAO()
INFO [tr.view.actions]: ScreensDAOJAXB.restore() - Reading file: D:\DATA\mch08840\Repository\Documents\Divers\ReviewActions.xml
SCHWERWIEGEND [global]
java.lang.LinkageError: JAXB 2.0 API is being loaded from the bootstrap classloader, but this RI (from nbjcl:file:/C:/Program%20Files/TR-2.0.0.rc.3/tr-2.0.0.rc.3/tr/tr/modules/ext/jaxb-impl.jar!/com/sun/xml/bind/v2/model/impl/ModelBuilder.class) needs 2.1 API. Use the endorsed directory mechanism to place jaxb-api.jar in the bootstrap classloader. (See http://java.sun.com/j2se/1.5.0/docs/guide/standards/)
   at com.sun.xml.bind.v2.model.impl.ModelBuilder.<clinit>(ModelBuilder.java:173)
   at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:422)
   at com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:286)
   at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:139)
   at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:117)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:210)
   at javax.xml.bind.ContextFinder.find(ContextFinder.java:368)
   at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:574)
   at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:522)
   at tr.view.actions.screens.dao.ScreensDAOJAXB.restore(ScreensDAOJAXB.java:146)
   at tr.view.actions.screens.dao.ScreensDAOProvider.initialiseScreensDAO(ScreensDAOProvider.java:70)
   at tr.view.actions.screens.dao.ScreensDAOProvider.provide(ScreensDAOProvider.java:57)
   at tr.view.actions.RAAction.actionPerformed(RAAction.java:110)
   at tr.view.WindowUtils.openInitialWindow(WindowUtils.java:90)
   at tr.data.Installer$1$1.windowOpened(Installer.java:86)
   at java.awt.AWTEventMulticaster.windowOpened(AWTEventMulticaster.java:322)
   at java.awt.AWTEventMulticaster.windowOpened(AWTEventMulticaster.java:322)
   at java.awt.Window.processWindowEvent(Window.java:1813)
   at javax.swing.JFrame.processWindowEvent(JFrame.java:279)
   at java.awt.Window.processEvent(Window.java:1774)
   at java.awt.Component.dispatchEventImpl(Component.java:4410)
   at java.awt.Container.dispatchEventImpl(Container.java:2116)
   at java.awt.Window.dispatchEventImpl(Window.java:2429)
   at java.awt.Component.dispatchEvent(Component.java:4240)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
   at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:104)
[catch] at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
   at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
   at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)


All the best,
Gregor


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 13, 2008 8:25 am 
Offline

Joined: Fri May 25, 2007 9:38 am
Posts: 23
Location: Warsaw, Poland
This has been described here:
http://www.thinkingrock.com.au/forum/vi ... php?t=2030

You have to upgrade your java installation.


Top
 Profile  
 
 Post subject: SOLVED
PostPosted: Tue May 13, 2008 9:14 am 
Offline

Joined: Tue May 13, 2008 7:12 am
Posts: 2
Thank You


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 13, 2008 9:31 am 
Offline

Joined: Wed Jul 05, 2006 10:51 am
Posts: 898
Location: Sydney, Australia
This problem will be fixed in the final release.

You can fix it now by either:

a) installing the java 1.6.0_5 or later (note it must java 1.6.0 with update after 4).

b) by following these steps:
1) go to the folder: <install_dir>\tr\modules\ext
2) make a new folder and name it: endorsed
3) copy jaxb-api.jar into the new endorsed folder (ie. from <install_dir>\tr\modules\ext to <install_dir>\tr\modules\ext\endorsed)
4) edit <install_dir>\tr\etc\tr.conf and in the default_options setting, add the following:
-J-Djava.endorsed.dirs=..\tr\modules\ext\endorsed

for linux substitute / for \ in the paths

_________________
ThinkingRock Developer


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group