• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

Adding rt.jar in the startup script.

 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I have the following error during runtime.

--------------------------ERROR MESSAGE START-------------------------------
java.lang.NoClassDefFoundError: org/apache/crimson/tree/TextNode
at com.xxxxxx.online.delegate.wfxml.WfXmlGuy.buildWfXmlTriggers(WfXmlGuy.java:58)--------------------------ERROR MESSAGE END-------------------------------

Somebody suggested that its because rt.jar needs to be added in the classpath.

Where do I need to add in the startWeblogic.sh file?
I tried appending it to the end of the following entry..
CLASSPATH=$WL_HOME:$WL_HOME/../patches/CR105772_610sp5.jar:$WL_HOME/lib/weblogic.jar

Can someone suggest the correct entry?


Thanks,
Nivan.
 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I do not think that this is up to the rt.jar as this jar is part of the JRE and already included by your JAVA_HOME!

You seem to miss a Library concerning XML Parsing xerxes.jar or dom4j.jar (but I am not sure)! Grap all your jars you used for this programme together and put it into your /WEB-INF/lib directory so you do not have to think about your classpath!

cheers stevica
 
Stevica Vucicevic
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
send me your startscript and the code if you want and I will have a look at it !!
 
Nivan scorp
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It was s silly problem. The rt.jar in jdk1.3 did not have the class I needed. It is present only in the rt.jar of jdk1.4.


Thanks anyways,


Cheers,
Nivan.
 
Politics n. Poly "many" + ticks "blood sucking insects". Tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic