Once again ... same topic:

Has anybody managed to install the latest C2.0a7 code
on TC3.2.1 under Solaris2.7 with SUN JDK 1.3.0 ???

TIA
Drasko
Note: forwarded message attached.


__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/


Bugger @#%&§$%

Still the same error ... I am wondering if it is
possible to have it on SUN JDK 1.3.0 at all (giacomo
wrote earlier that JDK 1.2.2 is needed)

I need this to work ... how can I get into nitty
gritty details ... would you (anybody) have any C2
developers documentation to jump-start me?!  I am
browsing thru the source code with my TogetherJ 5.0
and feel very lost :-(

Help
Drasko

--- Berin Loritsch <[EMAIL PROTECTED]> wrote:
> Drasko Kokic wrote:
> > 
> > Do I need to do anything more?  Should I copy the
> > tools.jar into the WEB-INF/lib ?!
> 
> Yes.  That also makes your solution completely
> portable.
> If you were to move that archive with the tools.jar
> in WEB-INF/lib, then it would work when installed on
a
> system with only a JRE.
> 
> > 
> > Thanks for your help
> > Drasko
> > 
> > --- Berin Loritsch <[EMAIL PROTECTED]> wrote:
> > > Drasko Kokic wrote:
> > > >
> > > > I have not yet found the reason for this
> failure
> > > ...
> > > > but am glad that it is not happening only in
> my
> > > > environment :-)
> > >
> > > It is always one of three issues:
> > >
> > > 1) incorrect markup (malformed XML)
> > > 2) incorrect java file (does not transform into
> > > valid class)
> > > 3) classloader issues (tools.jar not in
> classpath or
> > > rt.jar not in classpath for jikes)
> > >
> > > If you are using the stock sitemap, then you
> most
> > > likely have a valid
> > > XML file.
> > >
> > > If you have not changed anything in the sitemap,
> or
> > > written your own,
> > > then it is unlikely to be an incorrect java
> file.
> > >
> > > Cocoon requires you to place your JDK's
> tools.jar
> > > file in the
> > > classpath if you are using Sun's compiler.  If
> you
> > > are using the
> > > Jikes compiler, then you have to make sure that
> > > Jikes is both in
> > > the system's PATH and your JDK's rt.jar file is
> in
> > > the CLASSPATH.
> > >
> > > >
> > > > --- Hope Sean <[EMAIL PROTECTED]> wrote:
> > > > > Hi,
> > > > >
> > > > > Installing C2.0a5 on Solaris
> > > > > 2.7/JDK1.3.0/Tomcat3.2.1
> > > > >
> > > > > After configuring as per instructions, I get
> the
> > > > > error shown below in the
> > > > > log file. I have scoured the mailing lists
> and
> > > this
> > > > > problem has been
> > > > > reported in other versions of C2. However, I
> > > can't
> > > > > find any postings
> > > > > explaining what the issue is:
> > > > >
> > > > > DEBUG   22933   [cocoon  ] (Thread-10):
> > > Beginning
> > > > > sitemap regeneration
> > > > > DEBUG   22933   [cocoon  ] (Thread-10):
> Making
> > > URL
> > > > > from
> > > > >
> > > >
> > >
> >
>
file:/opt/jakarta-tomcat-3.2.1/webapps/cocoon/sitemap.xmap
> > > > > DEBUG   22934   [cocoon  ] (Thread-39):
> > > > > UnnamedSelector: ComponentSelector
> > > > > could not find the component for hint:
> > > > > org/apache/cocoon/www/sitemap_xmap
> > > > > DEBUG   22938   [cocoon  ] (Thread-39): The
> > > instance
> > > > > was not accessible,
> > > > > creating it now.
> > > > > DEBUG   22938   [cocoon  ] (Thread-39):
> > > > > ComponentFactory creating new
> > > > > instance of
> > > > >
> > > >
> > >
> >
>
org.apache.cocoon.components.language.markup.sitemap.SitemapMarkupLanguage.
> > > > > DEBUG   23006   [cocoon  ] (Thread-39):
> Holding
> > > > > object in memory. Key:
> > > > >
> > > >
> > >
> >
>
jar:file:/opt/jakarta-tomcat-3.2.1/webapps/cocoon/WEB-INF/lib/cocoon-2.0a5.j
> > > > >
> > > >
> > >
> >
>
ar!/org/apache/cocoon/components/language/markup/sitemap/java/sitemap.xsl
> > > > > DEBUG   23007   [cocoon  ] (Thread-39):
> Making
> > > URL
> > > > > from
> > > > >
> > > >
> > >
> >
>
jar:file:/opt/jakarta-tomcat-3.2.1/webapps/cocoon/WEB-INF/lib/cocoon-2.0a5.j
> > > > >
> > > >
> > >
> >
>
ar!/org/apache/cocoon/components/language/markup/sitemap/java/sitemap.xsl
> > > > > DEBUG   23007   [cocoon  ] (Thread-39):
> > > Logicsheet
> > > > >
> > > >
> > >
> >
>
Used:jar:file:/opt/jakarta-tomcat-3.2.1/webapps/cocoon/WEB-INF/lib/cocoon-2.
> > > > >
> > > >
> > >
> >
>
0a5.jar!/org/apache/cocoon/components/language/markup/sitemap/java/sitemap.x
> > > > > sl
> > > > > WARN    23641   [cocoon  ] (Thread-39):
> Could
> > > not
> > > > > load class for program
> > > > > 'org/apache/cocoon/www/sitemap_xmap'
> > > > > java.lang.ClassNotFoundException:
> > > > > org.apache.cocoon.www.sitemap_xmap
> > > > >         at
> > > > >
> > > >
> > >
> >
>
java.net.URLClassLoader$1.run(URLClassLoader.java:200)
> > > > >         at
> > > > >
> > >
> java.security.AccessController.doPrivileged(Native
> > > > > Method)
> > > > >         at
> > > > >
> > > >
> > >
> >
>
java.net.URLClassLoader.findClass(URLClassLoader.java:188)
> > > > >         at
> > > > >
> > > >
> > >
> >
>
java.lang.ClassLoader.loadClass(ClassLoader.java:297)
> > > > >         at
> > > > >
> > > >
> > >
> >
>
java.lang.ClassLoader.loadClass(ClassLoader.java:253)
> > > > >         at
> > > > >
> > > >
> > >
> >
>
org.apache.cocoon.components.classloader.ClassLoaderManagerImpl.loadClass(Cl
> > > > > assLoaderManagerImpl.java:57)
> > > > >         at
> 
=== message truncated ===


__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>



---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to